POST
/
to_your_webhook_url
curl --request POST \
  --url https://app.phonely.ai/api/to_your_webhook_url
{
  "agentName": "<string>",
  "mentionedEmail": "<string>",
  "unansweredQuestions": [
    "<string>"
  ],
  "actionItems": [
    "<string>"
  ],
  "followUpReason": "<string>",
  "followUp": "<string>",
  "recordingUrl": "<string>",
  "dashboardUrl": "<string>",
  "purpose": "<string>",
  "sentiment": "<string>",
  "transcriptText": "<string>",
  "transcript": [
    {
      "content": "<string>",
      "role": "<string>"
    }
  ],
  "mentionedDate": "<string>",
  "businessPhoneNumber": "<string>",
  "keyPoints": [
    "<string>"
  ],
  "topic": "<string>",
  "longSummary": "<string>",
  "callId": "<string>",
  "ai_success": "<string>",
  "customerPhoneNumber": "<string>",
  "callStarted": "2023-11-07T05:31:56Z",
  "callEnded": "2023-11-07T05:31:56Z",
  "duration": 123,
  "callerName": "<string>",
  "callDirection": "<string>",
  "mentionedTime": "<string>",
  "summary": "<string>",
  "endedReason": "<string>"
}

Overview

The post call webhook allows you to receive real-time notifications after each call ends. This webhook sends a POST request to your specified URL containing detailed information about the completed call.

Request Format

When a call ends, our system will send a POST request to your configured URL. The request body will contain data in JSON format.

Security Considerations

To ensure the security of your webhook, we recommend: Using an HTTPS URL

Configuring the Webhook

AGENT PAGE

You can configure the post call webhook URL in the “Agent” > “Setting” > “General” > “Webhook” section of your control panel.

Response

200
application/json

Successful response

The response is of type object.