Create an event

POST/crm/{connection_id}/event

Parameters

fieldsstring array
Fields to return
rawstring
Raw parameters to include in the 3rd-party request. Encoded as a URL component. eg. raw parameters: foo=bar&zoo=bar -> raw=foo%3Dbar%26zoo%3Dbar
connection_idstring required
ID of the connection

Payload

An event represents an event, activity, or engagement and is always associated with a deal, contact, or company

idstring
Unique identifier for this event object
created_atdate
The date that this event object was created (ISO-8601 / YYYY-MM-DDTHH:MM:SSZ format)
updated_atdate
The last date that this event object was updated (ISO-8601 / YYYY-MM-DDTHH:MM:SSZ format)
type enum
Valid values:
"NOTE"
"EMAIL"
"TASK"
"MEETING"
"CALL"
The type of event
noteobject
The note object, when type = note
meetingobject
The meeting object, when type = meeting
emailobject
The email object, when type = email
callobject
The call object, when type = call
taskobject
The task object, when type = task
marketing_emailobject
formobject
page_viewobject
deal_idsstring array
An array of deal IDs associated with this event
company_idsstring array
An array of company IDs associated with this event
contact_idsstring array
An array of contact IDs associated with this event
lead_idsstring array
(reference to CrmLead)
user_idstring
(reference to HrisEmployee)

Returns

An event represents an event, activity, or engagement and is always associated with a deal, contact, or company

idstring
Unique identifier for this event object
created_atdate
The date that this event object was created (ISO-8601 / YYYY-MM-DDTHH:MM:SSZ format)
updated_atdate
The last date that this event object was updated (ISO-8601 / YYYY-MM-DDTHH:MM:SSZ format)
type enum
Valid values:
"NOTE"
"EMAIL"
"TASK"
"MEETING"
"CALL"
The type of event
noteobject
The note object, when type = note
meetingobject
The meeting object, when type = meeting
emailobject
The email object, when type = email
callobject
The call object, when type = call
taskobject
The task object, when type = task
marketing_emailobject
formobject
page_viewobject
deal_idsstring array
An array of deal IDs associated with this event
company_idsstring array
An array of company IDs associated with this event
contact_idsstring array
An array of contact IDs associated with this event
lead_idsstring array
(reference to CrmLead)
user_idstring
(reference to HrisEmployee)
const options = {
  method: 'POST',
  url: 'https://api.unified.to/crm/5de520f96e439b002043d8dc/event',
  headers: {
    authorization: 'bearer .....'
  },
  data: undefined,
  params: {
    fields: '',
    raw: '',
  }
};

const results = await axios.request(options);
Are we missing anything? Let us know
Was this page helpful?