CustomerProfile Resource
CustomerProfile properties
Resource Properties in REST API format | |
---|---|
sid
|
The unique string that we created to identify the Customer-Profile resource. |
account_sid
|
The SID of the Account that created the Customer-Profile resource. |
policy_sid
|
The unique string of a policy that is associated to the Customer-Profile resource. |
friendly_name
|
The string that you assigned to describe the resource. |
status
|
The verification status of the Customer-Profile resource. |
valid_until
|
The date and time in GMT in ISO 8601 format when the resource will be valid until. |
email
|
The email address that will receive updates when the Customer-Profile resource changes status. |
status_callback
|
The URL we call to inform your application of status changes. |
date_created
|
The date and time in GMT when the resource was created specified in ISO 8601 format. |
date_updated
|
The date and time in GMT when the resource was last updated specified in ISO 8601 format. |
url
|
The absolute URL of the Customer-Profile resource. |
links
|
The URLs of the Assigned Items of the Customer-Profile resource. |
Create a CustomerProfile resource
https://trusthub.twilio.com/v1/CustomerProfiles
Parameters
Parameters in REST API format | |
---|---|
friendly_name
Required
|
The string that you assigned to describe the resource. |
email
Required
|
The email address that will receive updates when the Customer-Profile resource changes status. |
policy_sid
Required
|
The unique string of a policy that is associated to the Customer-Profile resource. |
status_callback
Optional
|
The URL we call to inform your application of status changes. |
Example 1
Fetch a CustomerProfile resource
https://trusthub.twilio.com/v1/CustomerProfiles/{Sid}
Parameters
Parameters in REST API format | |
---|---|
sid
Path
|
The unique string that we created to identify the Customer-Profile resource. |
Example 1
Read multiple CustomerProfile resources
https://trusthub.twilio.com/v1/CustomerProfiles
Parameters
Parameters in REST API format | |
---|---|
status
Optional
|
The verification status of the Customer-Profile resource. |
friendly_name
Optional
|
The string that you assigned to describe the resource. |
policy_sid
Optional
|
The unique string of a policy that is associated to the Customer-Profile resource. |
Example 1
Update a CustomerProfile resource
https://trusthub.twilio.com/v1/CustomerProfiles/{Sid}
Parameters
Parameters in REST API format | |
---|---|
sid
Path
|
The unique string that we created to identify the Customer-Profile resource. |
status
Optional
|
The verification status of the Customer-Profile resource. |
status_callback
Optional
|
The URL we call to inform your application of status changes. |
friendly_name
Optional
|
The string that you assigned to describe the resource. |
email
Optional
|
The email address that will receive updates when the Customer-Profile resource changes status. |
Example 1
Delete a CustomerProfile resource
https://trusthub.twilio.com/v1/CustomerProfiles/{Sid}
Parameters
Parameters in REST API format | |
---|---|
sid
Path
|
The unique string that we created to identify the Customer-Profile resource. |
Example 1
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 Stack Overflow Collective or browsing the Twilio tag on Stack Overflow.