# 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 | Type | Description |
|---|---|---|
| id | integer | A unique identifier for the user which is given by User.com automatically. |
| custom_id | string | The unique identifier for the activity which is provided by the client. |
| activity_type | integer | A unique identifier of any activity type given by User.com automatically. |
| assigned_to | integer | A unique identifier for the agent which is given by User.com automatically. |
| company_id | integer | A unique identifier for the company which is given by User.com automatically. |
| created_at | string | A creation date of an activity. |
| created_by | integer | A unique identifier of an agent who created an activity. |
| deal_id | integer | A unique identifier for the deal which is given by User.com automatically. |
| description | string | A description of the activity. |
| done | boolean | A flag informing if the activity is finished or not. |
| done_date | string | Date when activity was done. |
| due_date | string | A date in the future by which the task should be completed. Compliance with ISO 8601 standard format. |
| duration | integer | A time needed to complete the activity. |
| name | string | An activity name. |
| updated_at | string | A date of last activity update. |
| user_id | integer | A unique identifier for the user which is given by User.com automatically. |