List all the available templates for a given Account
TODO: Resource-level docs
List all the available templates for a given Account.
Query parameters
-
FriendlyName string
String filter used to query templates with a given friendly name
-
PageSize integer
How many resources to return in each list page. The default is 50, and the maximum is 1000.
Minimum value is
1
, maximum value is1000
.
GET /v2/Templates
curl \
-X GET https://verify.twilio.com/v2/Templates \
--user "username:password"
Response examples (200)
{
"meta": {
"first_page_url": "https://example.com",
"key": "string",
"next_page_url": "https://example.com",
"page": 42,
"page_size": 42,
"previous_page_url": "https://example.com",
"url": "https://example.com"
},
"templates": [
{
"account_sid": "string",
"friendly_name": "string",
"sid": "string"
}
]
}
Response examples (200)
{
"meta": {
"first_page_url": "https://example.com",
"key": "string",
"next_page_url": "https://example.com",
"page": 42,
"page_size": 42,
"previous_page_url": "https://example.com",
"url": "https://example.com"
},
"templates": [
{
"account_sid": "string",
"friendly_name": "string",
"sid": "string"
}
]
}