Fetch call notification

GET /2010-04-01/Accounts/{AccountSid}/Calls/{CallSid}/Notifications/{Sid}.json

Error notifications for calls

Path parameters

  • AccountSid string Required

    The SID of the Account that created the Call Notification resource to fetch.

  • CallSid string Required

    The Call SID of the Call Notification resource to fetch.

  • Sid string Required

    The Twilio-provided string that uniquely identifies the Call Notification resource to fetch.

Responses

  • 200

    OK

    Hide response attributes Show response attributes object
    • account_sid string | null

      The SID of the Account that created the resource

      Minimum length is 34, maximum length is 34. Format should match the following pattern: ^AC[0-9a-fA-F]{32}$.

    • api_version string | null

      The API version used to create the Call Notification resource

    • call_sid string | null

      The SID of the Call the resource is associated with

      Minimum length is 34, maximum length is 34. Format should match the following pattern: ^CA[0-9a-fA-F]{32}$.

    • date_created string(date-time-rfc-2822) | null

      The RFC 2822 date and time in GMT that the resource was created

    • date_updated string(date-time-rfc-2822) | null

      The RFC 2822 date and time in GMT that the resource was last updated

    • error_code string | null

      A unique error code corresponding to the notification

    • log string | null

      An integer log level

    • message_date string(date-time-rfc-2822) | null

      The date the notification was generated

    • message_text string | null

      The text of the notification

    • more_info string(uri) | null

      A URL for more information about the error code

    • request_method string(http-method) | null

      HTTP method used with the request url

      Values are HEAD, GET, POST, PATCH, PUT, or DELETE.

    • request_url string(uri) | null

      URL of the resource that generated the notification

    • request_variables string | null

      Twilio-generated HTTP variables sent to the server

    • response_body string | null

      The HTTP body returned by your server

    • response_headers string | null

      The HTTP headers returned by your server

    • sid string | null

      The unique string that identifies the resource

      Minimum length is 34, maximum length is 34. Format should match the following pattern: ^NO[0-9a-fA-F]{32}$.

    • uri string(uri) | null

      The URI of the resource, relative to https://api.twilio.com

GET /2010-04-01/Accounts/{AccountSid}/Calls/{CallSid}/Notifications/{Sid}.json
curl \
 -X GET https://api.twilio.com/2010-04-01/Accounts/{AccountSid}/Calls/{CallSid}/Notifications/{Sid}.json \
 --user "username:password"
Response examples (200)
{
  "account_sid": "string",
  "api_version": "string",
  "call_sid": "string",
  "date_created": "string",
  "date_updated": "string",
  "error_code": "string",
  "log": "string",
  "message_date": "string",
  "message_text": "string",
  "more_info": "https://example.com",
  "request_method": "HEAD",
  "request_url": "https://example.com",
  "request_variables": "string",
  "response_body": "string",
  "response_headers": "string",
  "sid": "string",
  "uri": "https://example.com"
}