Activities

Create custom activity types and write new activity onto accounts.

post

Create a new activity for an account

The {id} parameter accepts either:

Internal account ID (UUID format)

External ID (any string format)

Authorizations
AuthorizationstringRequired

Authorization: Bearer

Path parameters
idstringRequired

The ID or external ID of the account to create the activity for.

Body
body_htmlstringOptional

Optional HTML content to display in the activity.

contact_idstringOptional

Optional contact ID of the actor of the activity.

happened_atstringOptional

Timestamp (RFC3339) of when the activity happened. Defaults to the current time if empty.

linkstringOptional

Optional link to add to the activity.

link_textstringOptional

Optional link text to display on the activity. Defaults to "Open link" if not provided. Applies only if a link is provided.

slugstringRequired

The slug of the activity to create.

user_idstringOptional

Optional user ID of the actor of the activity.

Responses
200Success
application/json
post
/accounts/{id}/activities
get

Get custom activity types

Authorizations
AuthorizationstringRequired

Authorization: Bearer

Responses
200Success
application/json
get
/activity-types

Last updated

Was this helpful?