Activity model
Activities are useful to keep data from meetings and reminders about some tasks assigned to users. It represents any scheduled action differentiated within types.
Attributes
- id
- A unique identifier for the activity which is given by User automatically.
- custom_id
- Your own ID for the activity. Unique: another activity can't have the same one.
- activity_type
- A unique identifier of any activity type given by User automatically.
- assigned_to
- A unique identifier for the agent which is given by User automatically.
- company_id
- A unique identifier for the company which is given by User automatically.
- created_at
- A creation date of an activity.
- created_by
- A unique identifier of an agent who created an activity.
- deal_id
- A unique identifier for the deal which is given by User automatically.
- description
- A description of the activity.
- done
- Whether the activity is done.
falsewhen not sent. - done_date
- When the activity was marked as done: set when
donebecomestrue, cleared when it becomesfalse. Read-only. - due_date
- When the activity is due, ISO 8601 (for example
2026-11-21T10:00:00Z). A date in the past is accepted. - duration
- Time needed for the activity.
15when not sent. Not checked beyond being a whole number: a negative value is accepted. - name
- An activity name.
- updated_at
- A date of last activity update.
- user_id
- ID of the contact the activity is linked to.
nullwhen there's none, also after the contact is deleted (the activity stays).