Create a new Assigned Item
TODO: Resource-level docs
Create a new Assigned Item.
Path parameters
-
The unique string that we created to identify the CustomerProfile resource.
Body
-
The SID of an channel endpoint
Minimum length is
34
, maximum length is34
. Format should match the following pattern:^[a-zA-Z]{2}[0-9a-fA-F]{32}$
. -
The type of channel endpoint. eg: phone-number
POST /v1/TrustProducts/{TrustProductSid}/ChannelEndpointAssignments
curl \
-X POST https://trusthub.twilio.com/v1/TrustProducts/{TrustProductSid}/ChannelEndpointAssignments \
--user "username:password" \
-H "Content-Type: application/x-www-form-urlencoded" \
-d 'ChannelEndpointSid=string&ChannelEndpointType=string'
Request example
{
"ChannelEndpointSid": "string",
"ChannelEndpointType": "string"
}
Request examples
{
"ChannelEndpointSid": "string",
"ChannelEndpointType": "string"
}
Response examples (201)
{
"account_sid": "string",
"channel_endpoint_sid": "string",
"channel_endpoint_type": "string",
"date_created": "2023-05-04T09:42:00+00:00",
"sid": "string",
"trust_product_sid": "string",
"url": "https://example.com"
}
Response examples (201)
{
"account_sid": "string",
"channel_endpoint_sid": "string",
"channel_endpoint_type": "string",
"date_created": "2024-05-04T09:42:00+00:00",
"sid": "string",
"trust_product_sid": "string",
"url": "https://example.com"
}