Create a new Custom Activity instance
Custom Activity instances will be created by default with the 'published' status. All required fields will be validated in this status. To create an activity without setting all required fields, you can use the "draft" status.
A Custom Activity can be pinned or unpinned by setting the `pinned` field to `true` or `false` when creating or updating a Custom Activity.
Custom Fields appear in the format: `custom.{custom_field_id}`. See [Custom Fields](https://developer.close.com/api/resources/custom-fields/custom-fields-activity).
Authentication
AuthorizationBasic
Use your API key as the username and leave the password empty.
OR
AuthorizationBearer
Bearer authentication of the form Bearer <token>, where token is your auth token.
Request
This endpoint expects an object.
custom_activity_type_id
lead_id
activity_at
contact_id
created_by
date_created
organization_id
pinned
status
user_id
Response
Successful response
_type
activity_at
contact_id
created_by
custom_activity_type_id
date_created
date_updated
id
last_published_at
lead_id
mentions
mentions_updated_at
organization_id
pinned
pinned_at
source
status
updated_by
user_id
users
comment_summary
created_by_name
updated_by_name
user_name
Errors
400
Bad Request Error
401
Unauthorized Error
404
Not Found Error