Skip to navigation

Decide

View as Markdown

The business’s yes or no on an action the conversation waits on for it (request, the call’s id, as waiting and the approval.requested webhook name it), from its backend or the app: the agent runs it, or hears it was declined, on its next turn. A person can’t decide for the business.

Authentication

AuthorizationBearer

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

Path parameters

conversation_idstringRequired

Headers

SignalCore-OrgstringOptional

Request

This endpoint expects an object.
requeststringRequired1-64 characters
approvebooleanRequired

Response

Successful Response
idstring
agent_idstring
trigger_idstring or null
handled_byenum
Allowed values:
pendingboolean
testboolean
created_atdatetime
run_idstring or nullOptional
handoverobject or nullOptional

A change of who answers a conversation: to whom, why, who set it and when.

titlestring or nullOptional
channelobject or nullOptional
The channel a conversation is on, as a list draws it.
contactobject or nullOptional

The person a conversation on a channel is with, or a person of a host’s page (on no channel).

reply_due_atdatetime or nullOptional
last_inbound_atdatetime or nullOptional
callobject or nullOptional

The call a conversation is (VOICE.md): the owner’s in the browser or a phone call, when the worker took it and when it ended, why and how long.

personobject or nullOptional

Who a conversation is with (people).

Errors

422
Conversations Decide Request Unprocessable Entity Error