Contacts and companies
Change the messenger event settings
Authorization
AuthorizationstringrequiredAn API token, sent as Bearer <token>.
Needs the attributes:write ability
Body
application/jsonmessenger_new_eventsbooleanrequiredWhether the messenger may send any event name, defining the ones the workspace has not seen before. A plain boolean; leaving it out counts as false. Example: true.
Response 200
OKdataobjectrequiredShow child attributesHide child attributes
messenger_new_eventsbooleanrequiredTrue when the messenger may send any event name from the browser, new names included; false when it may send only names the team opened to it.
objectstringrequiredThe kind of record this is, the same for every record of its kind, such as article.
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.