Calls

Events that occur when a call message status changes.

call.started

{
  "data":{
    "id":"5e09c7cc-27e8-4d91-89ee-4ea5bafaaa15",
    "to":"+14244023931",
    "body":"Agent: Hey this is Charlie with Whippy Employment, may I have your full name please?\nUser: My name is Jack Hannaford.\nAgent: Nice to meet you, Jack. Can you provide me with your current address, including the city, state, and zip code?\nUser: Sure. 105100 Wilshire Boulevard, Los Angeles. California 90024.\nAgent: Great, thanks for that, Jack. What is your preferred contact method - phone call, SMS, or email?\nUser: Uh, let's do SMS.\nAgent: Got it, Jack. Let's move on to your work history. Starting with your most recent job, what was the company name?\nUser: I was working at Global Technical Recruiters.\nAgent: Where is Global Technical Recruiters located?\nUser: Located in Phoenix, Arizona.\nAgent: When did you start working at Global Technical Recruiters, and when did you end your employment there?\nUser: I started 3 years ago\nAgent: Thank you for providing all the necessary information. Our team will review your details and call you back. Have a great day!\n",
    "from":"+12183925232",
    "step_id":null,
    "language":null,
    "direction":"INBOUND",
    "channel_id":"be1ecaf2-9ce7-448c-8755-e5009ccc4345",
    "contact_id":"8241b8e5-98a2-44d7-975b-15f5c2bf3cf4",
    "created_at":"2023-08-24T10:05:18.432652Z",
    "updated_at":"2023-08-24T10:05:18.432652Z",
    "attachments":[],
    "campaign_id":null,
    "conversation_id":"742993a5-c9c6-4d7d-bf09-31417a1c04a9",
    "delivery_status":"call_in_progress",
    "step_contact_id":null,
    "translated_body":null,
    "campaign_contact_id":null,
    "translation_language":null,
    "user_id":42
  },
  "event":"call.started",
  "request_id":"00552b38-d0e7-460f-9877-a7c8c8b2ff8c"
}

call.ended

{
  "data":{
    "id":"5e09c7cc-27e8-4d91-89ee-4ea5bafaaa15",
    "to":"+14244023931",
    "body":"Agent: Hey this is Charlie with Whippy Employment, may I have your full name please?\nUser: My name is Jack Hannaford.\nAgent: Nice to meet you, Jack. Can you provide me with your current address, including the city, state, and zip code?\nUser: Sure. 105100 Wilshire Boulevard, Los Angeles. California 90024.\nAgent: Great, thanks for that, Jack. What is your preferred contact method - phone call, SMS, or email?\nUser: Uh, let's do SMS.\nAgent: Got it, Jack. Let's move on to your work history. Starting with your most recent job, what was the company name?\nUser: I was working at Global Technical Recruiters.\nAgent: Where is Global Technical Recruiters located?\nUser: Located in Phoenix, Arizona.\nAgent: When did you start working at Global Technical Recruiters, and when did you end your employment there?\nUser: I started 3 years ago\nAgent: Thank you for providing all the necessary information. Our team will review your details and call you back. Have a great day!\n",
    "from":"+12183925232",
    "step_id":null,
    "language":null,
    "direction":"INBOUND",
    "channel_id":"be1ecaf2-9ce7-448c-8755-e5009ccc4345",
    "contact_id":"8241b8e5-98a2-44d7-975b-15f5c2bf3cf4",
    "created_at":"2023-08-24T10:05:18.432652Z",
    "updated_at":"2023-08-24T10:05:18.432652Z",
    "attachments":[],
    "campaign_id":null,
    "conversation_id":"742993a5-c9c6-4d7d-bf09-31417a1c04a9",
    "delivery_status":"call_completed.user_hangup",
    "step_contact_id":null,
    "translated_body":null,
    "campaign_contact_id":null,
    "translation_language":null,
    "user_id":42
  },
  "event":"call.ended",
  "request_id":"00552b38-d0e7-460f-9877-a7c8c8b2ff8c"
}

call.analyzed

{
  "data":{
    "id":"5e09c7cc-27e8-4d91-89ee-4ea5bafaaa15",
    "to":"+14244023931",
    "body":"Agent: Hey this is Charlie with Whippy Employment, may I have your full name please?\nUser: My name is Jack Hannaford.\nAgent: Nice to meet you, Jack. Can you provide me with your current address, including the city, state, and zip code?\nUser: Sure. 105100 Wilshire Boulevard, Los Angeles. California 90024.\nAgent: Great, thanks for that, Jack. What is your preferred contact method - phone call, SMS, or email?\nUser: Uh, let's do SMS.\nAgent: Got it, Jack. Let's move on to your work history. Starting with your most recent job, what was the company name?\nUser: I was working at Global Technical Recruiters.\nAgent: Where is Global Technical Recruiters located?\nUser: Located in Phoenix, Arizona.\nAgent: When did you start working at Global Technical Recruiters, and when did you end your employment there?\nUser: I started 3 years ago\nAgent: Thank you for providing all the necessary information. Our team will review your details and call you back. Have a great day!\n",
    "from":"+12183925232",
    "step_id":null,
    "language":null,
    "direction":"INBOUND",
    "channel_id":"be1ecaf2-9ce7-448c-8755-e5009ccc4345",
    "contact_id":"8241b8e5-98a2-44d7-975b-15f5c2bf3cf4",
    "created_at":"2023-08-24T10:05:18.432652Z",
    "updated_at":"2023-08-24T10:05:18.432652Z",
    "attachments":[
      {
        "content_type":"application/json",
        "agent_id":"cd1c82f0-a276-4617-b272-ba08d83c83fd",
        "url":"https://example/organization_fb545ce8-68e1-4303-ab23-6ba0149fc4b1/calls/19addcb3-4e2c-4730-a87d-6476b802691b/analysis.json"
      },
      {
        "content_type":"audio/x-wav",
        "agent_id":"cd1c82f0-a276-4617-b272-ba08d83c83fd",
        "url":"https://example/organization_fb545ce8-68e1-4303-ab23-6ba0149fc4b1/calls/e636898c-2677-4257-944a-1b655f8ba25c/recording.wav"
      },
      {
        "content_type":"application/json",
        "agent_id":"cd1c82f0-a276-4617-b272-ba08d83c83fd",
        "url":"https://example/organization_fb545ce8-68e1-4303-ab23-6ba0149fc4b1/calls/8472900a-f1f9-4710-bd84-b23942b38466/transcript.json"
      }
    ],
    "campaign_id":null,
    "conversation_id":"742993a5-c9c6-4d7d-bf09-31417a1c04a9",
    "delivery_status":"call_completed.user_hangup",
    "step_contact_id":null,
    "translated_body":null,
    "campaign_contact_id":null,
    "translation_language":null,
    "user_id":42
  },
  "event":"call.analyzed",
  "request_id":"00552b38-d0e7-460f-9877-a7c8c8b2ff8c"
}