curl -X GET \
https://api.sakari.io/v1/accounts/{{ACCOUNT_ID}}/templates \
-H 'Authorization: Bearer {{TOKEN}}'
{
"success": true,
"pagination": {
"totalCount": 123,
"limit": 123,
"offset": 123,
"hasNext": true
},
"data": [
{
"id": "<string>",
"name": "<string>",
"type": "SMS",
"template": "Hi {{{firstName}}}. Grab 20% off today only at ABC Shoes",
"media": [
{
"url": "<string>",
"type": "<string>",
"name": "<string>",
"filename": "<string>"
}
]
}
]
}
curl -X GET \
https://api.sakari.io/v1/accounts/{{ACCOUNT_ID}}/templates \
-H 'Authorization: Bearer {{TOKEN}}'
{
"success": true,
"pagination": {
"totalCount": 123,
"limit": 123,
"offset": 123,
"hasNext": true
},
"data": [
{
"id": "<string>",
"name": "<string>",
"type": "SMS",
"template": "Hi {{{firstName}}}. Grab 20% off today only at ABC Shoes",
"media": [
{
"url": "<string>",
"type": "<string>",
"name": "<string>",
"filename": "<string>"
}
]
}
]
}
The access token received from the authorization server in the OAuth 2.0 flow.
Account to apply operations to
Results to skip when paginating through a result set
x >= 0
Maximum number of results to return
1 <= x <= 100
Filter by name or part of
successful operation
The response is of type object
.