SupportingDocument Resource
SupportingDocument properties
Resource Properties in REST API format | |
---|---|
sid
|
The unique string created by Twilio to identify the Supporting Document resource. |
account_sid
|
The SID of the Account that created the Document resource. |
friendly_name
|
The string that you assigned to describe the resource. |
mime_type
|
The image type uploaded in the Supporting Document container. |
status
|
The verification status of the Supporting Document resource. |
type
|
The type of the Supporting Document. |
attributes
|
The set of parameters that are the attributes of the Supporting Documents resource which are listed in the Supporting Document Types. |
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 Supporting Document resource. |
Create a SupportingDocument resource
https://trusthub.twilio.com/v1/SupportingDocuments
Parameters
Parameters in REST API format | |
---|---|
friendly_name
Required
|
The string that you assigned to describe the resource. |
type
Required
|
The type of the Supporting Document. |
attributes
Optional
|
The set of parameters that are the attributes of the Supporting Documents resource which are derived Supporting Document Types. |
Example 1
Fetch a SupportingDocument resource
https://trusthub.twilio.com/v1/SupportingDocuments/{Sid}
Parameters
Parameters in REST API format | |
---|---|
sid
Path
|
The unique string created by Twilio to identify the Supporting Document resource. |
Example 1
Read multiple SupportingDocument resources
https://trusthub.twilio.com/v1/SupportingDocuments
Example 1
Update a SupportingDocument resource
https://trusthub.twilio.com/v1/SupportingDocuments/{Sid}
Parameters
Parameters in REST API format | |
---|---|
sid
Path
|
The unique string created by Twilio to identify the Supporting Document resource. |
friendly_name
Optional
|
The string that you assigned to describe the resource. |
attributes
Optional
|
The set of parameters that are the attributes of the Supporting Document resource which are derived Supporting Document Types. |
Example 1
Delete a SupportingDocument resource
https://trusthub.twilio.com/v1/SupportingDocuments/{Sid}
Parameters
Parameters in REST API format | |
---|---|
sid
Path
|
The unique string created by Twilio to identify the Supporting Document 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.