Retrieve a list of all Subscribed Event types for a Subscription

GET /v1/Subscriptions/{SubscriptionSid}/SubscribedEvents

Event subscribed to in the parent subscription

Retrieve a list of all Subscribed Event types for a Subscription.

Path parameters

Query parameters

  • 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

  • 200

    OK

    Hide response attributes Show response attributes object
    • meta object
      Hide meta attributes Show meta attributes
    • types array[object]
      Hide types attributes Show types attributes
      • 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}$.

      • schema_version integer | null

        The schema version that the subscription should use.

      • subscription_sid string | null

        Subscription SID.

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

      • type string | null

        Type of event being subscribed to.

      • url string(uri) | null

        The URL of this resource.

GET /v1/Subscriptions/{SubscriptionSid}/SubscribedEvents
curl \
 -X GET https://events.twilio.com/v1/Subscriptions/{SubscriptionSid}/SubscribedEvents \
 --user "username:password"
Response examples (200)
{
  "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"
  },
  "types": [
    {
      "account_sid": "string",
      "schema_version": 42,
      "subscription_sid": "string",
      "type": "string",
      "url": "https://example.com"
    }
  ]
}