Menu

Expand
Rate this page:

CustomerProfileChannelEndpointAssignment Resource

CustomerProfileChannelEndpointAssignment properties

Resource Properties in REST API format
sid
sid<RA> Not PII

The unique string that we created to identify the Item Assignment resource.

customer_profile_sid
sid<BU> Not PII

The unique string that we created to identify the CustomerProfile resource.

account_sid
sid<AC> Not PII

The SID of the Account that created the Item Assignment resource.

channel_endpoint_type
string Not PII

The type of channel endpoint. eg: phone-number

channel_endpoint_sid
sid Not PII

The SID of an channel endpoint

date_created
date_time<iso8601> Not PII

The date and time in GMT when the resource was created specified in ISO 8601 format.

url
url Not PII

The absolute URL of the Identity resource.

Create a CustomerProfileChannelEndpointAssignment resource

post
https://trusthub.twilio.com/v1/CustomerProfiles/{CustomerProfileSid}/ChannelEndpointAssignments
Parameters
Parameters in REST API format
customer_profile_sid
Path
post sid<BU> Not PII

The unique string that we created to identify the CustomerProfile resource.

channel_endpoint_type
Required
post string Not PII

The type of channel endpoint. eg: phone-number

channel_endpoint_sid
Required
post sid Not PII

The SID of an channel endpoint

Example 1
        
        
        

        Fetch a CustomerProfileChannelEndpointAssignment resource

        get
        https://trusthub.twilio.com/v1/CustomerProfiles/{CustomerProfileSid}/ChannelEndpointAssignments/{Sid}
        Parameters
        Parameters in REST API format
        customer_profile_sid
        Path
        get sid<BU> Not PII

        The unique string that we created to identify the CustomerProfile resource.

        sid
        Path
        get sid<RA> Not PII

        The unique string that we created to identify the resource.

        Example 1
              
              
              

              Read multiple CustomerProfileChannelEndpointAssignment resources

              get
              https://trusthub.twilio.com/v1/CustomerProfiles/{CustomerProfileSid}/ChannelEndpointAssignments
              Parameters
              Parameters in REST API format
              customer_profile_sid
              Path
              get sid<BU> Not PII

              The unique string that we created to identify the CustomerProfile resource.

              channel_endpoint_sid
              Optional
              get sid Not PII

              The SID of an channel endpoint

              channel_endpoint_sids
              Optional
              get string Not PII

              comma separated list of channel endpoint sids

              Example 1
                    
                    
                    

                    Delete a CustomerProfileChannelEndpointAssignment resource

                    delete
                    https://trusthub.twilio.com/v1/CustomerProfiles/{CustomerProfileSid}/ChannelEndpointAssignments/{Sid}
                    Parameters
                    Parameters in REST API format
                    customer_profile_sid
                    Path
                    delete sid<BU> Not PII

                    The unique string that we created to identify the CustomerProfile resource.

                    sid
                    Path
                    delete sid<RA> Not PII

                    The unique string that we created to identify the resource.

                    Example 1
                          
                          
                          
                          Rate this page:

                          Need some help?

                          We all do sometimes; code is hard. Get help now from our support team, or lean on the wisdom of the crowd by visiting Twilio's Community Forums or browsing the Twilio tag on Stack Overflow.

                                
                                
                                

                                Thank you for your feedback!

                                We are always striving to improve our documentation quality, and your feedback is valuable to us. How could this documentation serve you better?

                                Sending your feedback...
                                🎉 Thank you for your feedback!
                                Something went wrong. Please try again.

                                Thanks for your feedback!

                                Refer us and get $10 in 3 simple steps!

                                Step 1

                                Get link

                                Get a free personal referral link here

                                Step 2

                                Give $10

                                Your user signs up and upgrade using link

                                Step 3

                                Get $10

                                1,250 free SMSes
                                OR 1,000 free voice mins
                                OR 12,000 chats
                                OR more