EventsV1Subscription

Create a new Subscription.

Changed on

Create a new Subscription.

post/v1/Subscriptions

Request

  • Base URL
    https://events.twilio.com
  • URL
    https://events.twilio.com/v1/Subscriptions
  • Auth
    HTTP basic

Request body application/x-www-form-urlencoded

Descriptionstring required

A human readable description for the Subscription This value should not contain PII.

SinkSidstring required

The SID of the sink that events selected by this subscription should be sent to. Sink must be active for the subscription to be created.

Response

Created

account_sidstring nullable

The unique SID identifier of the Account.

sidstring nullable

A 34 character string that uniquely identifies this Subscription.

date_createdstring date-time nullable

The date that this Subscription was created, given in ISO 8601 format.

date_updatedstring date-time nullable

The date that this Subscription was updated, given in ISO 8601 format.

descriptionstring nullable

A human readable description for the Subscription

sink_sidstring nullable

The SID of the sink that events selected by this subscription should be sent to. Sink must be active for the subscription to be created.

urlstring uri nullable

The URL of this resource.

linksobject nullable

Contains a dictionary of URL links to nested resources of this Subscription.

Changes

    • info

      the / request property type was generalized from object to no type

    • warning

      removed the request property

    • warning

      removed the optional property from the response with the status