Saltar al contenido principal

GET /templates

List all templates belonging to the account.

Example Request

curl -X GET "https://api.callbell.eu/v1/templates" \
-H "Authorization: Bearer test_gshuPaZoeEG6ovbc8M79w0QyM" \
-H "Content-Type: application/json"

Response

ParameterTypeDescription
templatesTemplate[]A list of templates.

Example Response

response.json
{
"templates": [
{
"uuid": "ad42a09715814e6483b1c5debd6a2dbc",
"title": "Template title",
"templateType": "text",
"text": "Message text",
"createdAt": "2020-11-13T21:08:53Z"
},
{
"uuid": "47aad5f9b4ca423c9d630f06ab93fe1f",
"title": "Another Template title",
"templateType": "text",
"text": "Another Message text",
"createdAt": "2020-11-13T21:10:33Z"
}
],
"meta": {
"page": 1,
"pages": 1
}
}