Triggers when an inbound call is received.
Property | Type | Required | Description |
---|---|---|---|
phoneNumber | SHORT_TEXT | Yes | The phone number to receive the call |
objective | LONG_TEXT | Yes | The objective of the call. |
start_sentence | LONG_TEXT | No | The start sentence of the call. |
voiceId | SHORT_TEXT | No | The voice ID to use for the call. |
language | SHORT_TEXT | No | The language to use for the call. |
model | SHORT_TEXT | No | The model to use for the request. Defaults to gpt-3.5-turbo-16k. |
wsBaseUrl | SHORT_TEXT | No | The base URL for the websocket. |
{
"client_msg_id": "2767cf34-0651-44e0-b9c8-1b167ce9b7a9",
"type": "message",
"text": "f",
"user": "U037UG6FKPU",
"ts": "1678231735.586539",
"blocks": [
{
"type": "rich_text",
"block_id": "4CM",
"elements": [
{
"type": "rich_text_section",
"elements": [
{
"type": "text",
"text": "f"
}
]
}
]
}
],
"team": "T037MS4FGDC",
"channel": "C037RTX2ZDM",
"event_ts": "1678231735.586539",
"channel_type": "channel"
}