Api20100401UserDefinedMessageSubscription

Subscribe to User Defined Messages for a given Call SID.

Changed on

Subscribe to User Defined Messages for a given Call SID.

post/2010-04-01/Accounts/{AccountSid}/Calls/{CallSid}/UserDefinedMessageSubscriptions.json

Request

  • Base URL
    https://api.twilio.com
  • URL
    https://api.twilio.com/2010-04-01/Accounts/{AccountSid}/Calls/{CallSid}/UserDefinedMessageSubscriptions.json
  • Auth
    HTTP basic

Path parameters

AccountSidstring required

The SID of the Account that subscribed to the User Defined Messages.

CallSidstring required

The SID of the Call the User Defined Messages subscription is associated with. This refers to the Call SID that is producing the user defined messages.

Request body application/x-www-form-urlencoded

Callbackstring uri required

The URL we should call using the method to send user defined events to your application. URLs must contain a valid hostname (underscores are not permitted).

IdempotencyKeystring

A unique string value to identify API call. This should be a unique string value per API call and can be a randomly generated.

Method'GET' | 'POST' http-method

The HTTP method Twilio will use when requesting the above Url. Either GET or POST. Default is POST.

Response

Created

account_sidstring nullable

The SID of the Account that subscribed to the User Defined Messages.

call_sidstring nullable

The SID of the Call the User Defined Message Subscription is associated with. This refers to the Call SID that is producing the User Defined Messages.

sidstring nullable

The SID that uniquely identifies this User Defined Message Subscription.

date_createdstring date-time-rfc-2822 nullable

The date that this User Defined Message Subscription was created, given in RFC 2822 format.

uristring nullable

The URI of the User Defined Message Subscription Resource, relative to https://api.twilio.com.

Changes

    • breaking

      removed the enum value DELETE of the request property

    • breaking

      removed the enum value HEAD of the request property

    • breaking

      removed the enum value PATCH of the request property

    • breaking

      removed the enum value PUT of the request property