Messenger
Set who sees a messenger
Authorization
AuthorizationstringrequiredAn API token, sent as Bearer <token>.
Needs the settings:write ability
Path parameters
widgetstringrequiredId of the messenger, starting with wgt_, such as wgt_01jx2m8k4t. Find it with GET /widget-settings.
Body
application/jsonlauncheranyAn audience rule for who sees the launcher; null means everyone.
startanyAn audience rule for who may start a conversation; null means everyone.
tabsobjectA rule per tab, keyed help or changelog.
Response 200
OKdataobjectrequiredShow child attributesHide child attributes
objectstringrequiredThe kind of record this is, the same for every record of its kind, such as article.
rulesanyrequiredThe messenger's audience rules as stored, a JSON object with launcher (who sees the launcher), start (who may start a conversation) and tabs (who sees each tab).
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.