Authorizations
Bearer authentication header of the form Bearer <token>
, where <token>
is your auth token.
Body
application/json
Session ID for which to fetch the next step.
Unique identifier for the session.
Response
Next step retrieved successfully.
Indicates the next action to be taken in the session
Available options:
session-completed
, send-message-to-human
, message-human-and-get-response
Unique identifier for the message (included when nextStep is not session-completed)
Unique identifier for the session (included when nextStep is not session-completed)
Content of the message (included when nextStep is not session-completed)
Timestamp when the message was created (included when nextStep is not session-completed)
Indicates if the message is from the agent (included when nextStep is not session-completed)