Server Message
Request
This endpoint expects an object.
message
These are all the messages that can be sent to your server before, after and during the call. Configure the messages you’d like to receive in assistant.serverMessages
.
The server where the message is sent is determined by the following precedence order:
tool.server.url
(if configured, and only for “tool-calls” message)assistant.serverUrl
(if configure)phoneNumber.serverUrl
(if configured)org.serverUrl
(if configured)
Response
This is the response that is expected from the server to the message.
Note: Most messages don’t expect a response. Only “assistant-request”, “tool-calls” and “transfer-destination-request” do.
messageResponse
This is the response that is expected from the server to the message.
Note: Most messages don’t expect a response. Only “assistant-request”, “tool-calls” and “transfer-destination-request” do.