Skip to content

Activities

Activities are the interactions your team has with contacts, companies, and projects — calls, emails, meetings, and notes. Each activity is logged on a timeline with structured metadata.

FieldTypeDescription
iduuid
account_iduuid
created_byuuid?
activity_typestring
entity_iduuid
entity_typestring
occurred_atdatetime
metadataobject
created_atdatetime
updated_atdatetime
created_by_namestring
entity_namestring

Endpoint: activities-create

FieldTypeRequiredDescription
activity_typestringYes
entity_idstringNo
entity_typestringNo
occurred_atdatetime?No
metadataobjectNo
Terminal window
curl -X POST https://api.driftwoodapp.com/api/activities-create \
-H "Authorization: Bearer YOUR_TOKEN" \
-H "Content-Type: application/json" \
-d '{"activity_type": "..."}'

Endpoint: activities-delete

FieldTypeRequiredDescription
idstringYes
Terminal window
curl -X POST https://api.driftwoodapp.com/api/activities-delete \
-H "Authorization: Bearer YOUR_TOKEN" \
-H "Content-Type: application/json" \
-d '{"id": "..."}'

Endpoint: activities-get

FieldTypeRequiredDescription
idstringYes
Terminal window
curl -X POST https://api.driftwoodapp.com/api/activities-get \
-H "Authorization: Bearer YOUR_TOKEN" \
-H "Content-Type: application/json" \
-d '{"id": "..."}'

Endpoint: activities-list

FieldTypeRequiredDescription
entity_idstring?No
entity_typestringNo
typesstring[]No
cursorstringNo
limitintNo
Terminal window
curl -X POST https://api.driftwoodapp.com/api/activities-list \
-H "Authorization: Bearer YOUR_TOKEN" \
-H "Content-Type: application/json" \
-d '{}'

Endpoint: activities-update

FieldTypeRequiredDescription
idstringYes
occurred_atdatetime?No
metadataobject?No
Terminal window
curl -X POST https://api.driftwoodapp.com/api/activities-update \
-H "Authorization: Bearer YOUR_TOKEN" \
-H "Content-Type: application/json" \
-d '{"id": "..."}'

Endpoint: activity-schemas-list