Fetch binding

GET /v1/Services/{ServiceSid}/Bindings/{Sid}

TODO: Resource-level docs

Path parameters

  • ServiceSid string Required

    The SID of the Service to fetch the resource from.

  • Sid string Required

    The Twilio-provided string that uniquely identifies the Binding 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}$.

    • address string | null

      The channel-specific address

    • binding_type string | null

      The type of the Binding

    • credential_sid string | null

      The SID of the Credential resource to be used to send notifications to this Binding

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

    • date_created string(date-time) | null

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

    • date_updated string(date-time) | null

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

    • endpoint string | null

      Deprecated

    • identity string | null

      The identity value that identifies the new resource's User

    • The protocol version to use to send the notification

    • service_sid string | null

      The SID of the Service that the resource is associated with

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

    • sid string | null

      The unique string that identifies the resource

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

    • tags array[string] | null

      The list of tags associated with this Binding

    • url string(uri) | null

      The absolute URL of the Binding resource

GET /v1/Services/{ServiceSid}/Bindings/{Sid}
curl \
 -X GET https://notify.twilio.com/v1/Services/{ServiceSid}/Bindings/{Sid} \
 --user "username:password"
Response examples (200)
{
  "account_sid": "string",
  "address": "string",
  "binding_type": "string",
  "credential_sid": "string",
  "date_created": "2023-05-04T09:42:00+00:00",
  "date_updated": "2023-05-04T09:42:00+00:00",
  "endpoint": "string",
  "identity": "string",
  "links": {},
  "notification_protocol_version": "string",
  "service_sid": "string",
  "sid": "string",
  "tags": [
    "string"
  ],
  "url": "https://example.com"
}