List binding

GET /v1/Services/{ServiceSid}/Bindings

TODO: Resource-level docs

Path parameters

Query parameters

  • StartDate string(date)

    Only include usage that has occurred on or after this date. Specify the date in GMT and format as YYYY-MM-DD.

  • EndDate string(date)

    Only include usage that occurred on or before this date. Specify the date in GMT and format as YYYY-MM-DD.

  • Identity array[string]

    The User's identity value of the resources to read.

  • Tag array[string]

    Only list Bindings that have all of the specified Tags. The following implicit tags are available: all, apn, fcm, gcm, sms, facebook-messenger. Up to 5 tags are allowed.

  • PageSize integer

    How many resources to return in each list page. The default is 50, and the maximum is 1000.

    Minimum value is 1, maximum value is 1000.

Responses

  • OK

    Hide response attributes Show response attributes object
    • bindings array[object]
      Hide bindings attributes Show bindings attributes array[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

    • meta object
      Hide meta attributes Show meta attributes object
GET /v1/Services/{ServiceSid}/Bindings
curl \
 -X GET https://notify.twilio.com/v1/Services/{ServiceSid}/Bindings \
 --user "username:password"
Response examples (200)
{
  "bindings": [
    {
      "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"
    }
  ],
  "meta": {
    "first_page_url": "https://example.com",
    "key": "string",
    "next_page_url": "https://example.com",
    "page": 42,
    "page_size": 42,
    "previous_page_url": "https://example.com",
    "url": "https://example.com"
  }
}
Response examples (200)
{
  "bindings": [
    {
      "account_sid": "string",
      "address": "string",
      "binding_type": "string",
      "credential_sid": "string",
      "date_created": "2024-05-04T09:42:00+00:00",
      "date_updated": "2024-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"
    }
  ],
  "meta": {
    "first_page_url": "https://example.com",
    "key": "string",
    "next_page_url": "https://example.com",
    "page": 42,
    "page_size": 42,
    "previous_page_url": "https://example.com",
    "url": "https://example.com"
  }
}