Fetch a specific Subscription

GET /v1/Subscriptions/{Sid}

Subscription to send Event Types to a Sink

Fetch a specific Subscription.

Path parameters

  • Sid string Required

    A 34 character string that uniquely identifies this Subscription.

Responses

  • OK

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

      Account SID.

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

    • date_created string(date-time) | null

      The date this Subscription was created

    • date_updated string(date-time) | null

      The date this Subscription was updated

    • description string | null

      Subscription description

    • sid string | null

      A string that uniquely identifies this Subscription.

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

    • sink_sid string | null

      Sink SID.

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

    • url string(uri) | null

      The URL of this resource.

GET /v1/Subscriptions/{Sid}
curl \
 -X GET https://events.twilio.com/v1/Subscriptions/{Sid} \
 --user "username:password"
Response examples (200)
{
  "account_sid": "string",
  "date_created": "2023-05-04T09:42:00+00:00",
  "date_updated": "2023-05-04T09:42:00+00:00",
  "description": "string",
  "links": {},
  "sid": "string",
  "sink_sid": "string",
  "url": "https://example.com"
}
Response examples (200)
{
  "account_sid": "string",
  "date_created": "2024-05-04T09:42:00+00:00",
  "date_updated": "2024-05-04T09:42:00+00:00",
  "description": "string",
  "links": {},
  "sid": "string",
  "sink_sid": "string",
  "url": "https://example.com"
}