GET
/dialog.openOpen a dialog for a user
Opens a dialog for a user by exchanging a trigger for a dialog submission. Provide the JSON-encoded dialog definition and the trigger_id issued for the interaction.
- RetriesRetries up to 2×, 500ms backoff, 30s timeout.
dialogstringrequired
The dialog definition encoded as a JSON string.
trigger_idstringrequired
The interaction trigger to exchange when posting the dialog to the user.
tokenstringrequired
Authentication token with no additional scope requirement.
200Returns `ok: true` after the dialog has been opened.
okbooleanrequired
defaultReturned when the dialog or trigger is missing, invalid, expired, or already exchanged, or when the dialog cannot be sent.
callstackstringoptional
Note: PHP callstack is only visible in dev/qa
errorstringrequired
okbooleanrequired
Error handling
token, dialog, and trigger_id must all be supplied. Encode dialog as a JSON string, and use an unexpired, valid trigger_id that has not already been exchanged.