Updating a Custom Activity instance

View as Markdown

A Custom Activity can be updated to add, change or remove any Custom Fields and to change the status between “draft” and “published”.

A Custom Activity can be pinned or unpinned by setting the pinned field to true or false when creating or updating a Custom Activity.

Authentication

AuthorizationBasic

Basic authentication of the form Basic <base64(username:)>.

OR
AuthorizationBearer

Bearer authentication of the form Bearer <token>, where token is your auth token.

Path parameters

idstringRequired

Request

This endpoint expects an object.
activity_atdatetime or nullOptional
contact_idstring or nullOptional
custom_fieldsmap from strings to any or nullOptional
pinnedboolean or nullOptional
statusenumOptional
Allowed values:

Response

Successful response

Errors

400
Bad Request Error
401
Unauthorized Error
404
Not Found Error