Contacts and companies
Update an event name
Authorization
AuthorizationstringrequiredAn API token, sent as Bearer <token>.
Needs the attributes:write ability
Path parameters
eventstringrequiredId of the event definition, starting with edf_, such as edf_01jx2m8k4t. Find it with GET /event-definitions.
Body
application/jsonclient_writablebooleanWhether the messenger may send this event from the visitor's browser. true opens the event name to the messenger, false closes it. Example: true.
descriptionstringThe description of the event definition, at most 500 characters.
Maximum length: 500
labelstringThe new name people see for the event, 1 to 80 characters. Such as Checkout started.
Maximum length: 80
statusstringactive or archived.
Available options:activearchived
Response 200
OKdataobjectrequiredShow child attributesHide child attributes
client_writablebooleanrequiredTrue when the messenger may send this event from the visitor's browser; false when only the team's servers may report it.
created_atstringrequiredWhen it was created, as an RFC 3339 time, such as 2026-01-31T09:00:00Z.
Format: date-time
descriptionstring | nullrequiredText explaining what the event means, up to 500 characters. Null when none was written.
idstringrequiredThe id of this record. Send it wherever an endpoint asks for this record; never use its name or title in its place.
labelstringrequiredThe event's display name, 1 to 80 characters, such as Exported a report.
last_seen_atstring | nullrequiredWhen an event of this name last arrived. Null when none has.
Format: date-time
namestringrequiredThe event's name as it is sent: 1 to 64 lowercase letters, digits and _ . : -, such as report.exported. Unique in the workspace.
objectstringrequiredThe kind of record this is, the same for every record of its kind, such as article.
originstringrequiredHow the name came to be: created by the team, or observed on the first trusted event of that name.
statusstringrequiredWhether the name takes events: active, or archived, which takes no new events while existing summaries are kept.
total_countintegerrequiredHow many events of this name have arrived in all.
Format: int64
Response error
ErrorcodestringrequiredStable code for programs to tell errors apart, such as validation_failed or internal_error.
errorsobjectEach rejected field mapped to its messages. Only present when the input was invalid.
messagestringrequiredWhat went wrong, in words safe to show a person.