Triggers when an inbound call is received.

Input

PropertyTypeRequiredDescription
phoneNumberSHORT_TEXTYesThe phone number to receive the call
objectiveLONG_TEXTYesThe objective of the call.
start_sentenceLONG_TEXTNoThe start sentence of the call.
voiceIdSHORT_TEXTNoThe voice ID to use for the call.
languageSHORT_TEXTNoThe language to use for the call.
modelSHORT_TEXTNoThe model to use for the request. Defaults to gpt-3.5-turbo-16k.
wsBaseUrlSHORT_TEXTNoThe base URL for the websocket.

Sample Output

{
  "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"
}