Consultar métricas do template
Changed onEnviadas, entregues, lidas e falhas do template no período. sent soma enviadas, entregues e lidas. As taxas vêm como string com 1 casa decimal, calculadas sobre sent + failed. Permissão: READ.
Request
- Base URLhttps://api.ararahq.com
- AuthHTTP bearer
- TypeScriptA function with typed inputs. Its response is checked against the schema.
Path parameters
ID do template (UUID). O nome não é aceito aqui.
Query parameters
Valor fora da lista é tratado como 30d.
Response
Métricas
Example response
{
"templateId": "a7f3c1e2-4b5d-6789-abcd-ef0123456789",
"templateName": "pedido_confirmado",
"period": "30d",
"sent": 1250,
"delivered": 1230,
"read": 890,
"failed": 10,
"deliveryRate": "97.6",
"readRate": "70.6"
}Changes
- info
api tag
Templatesadded - info
api tag
templatesremoved - info
added the non-success response with the status
- info
- breaking
the response's body type changed from
objectto no type for status - breaking
the response property
/became nullable for the status - breaking
the response property
became optional for the status - breaking
the
response's property type changed fromobjecttostringfor status - breaking
removed the required property
from the response with the status - breaking
removed the required property
/from the response with the status - breaking
removed the required property
/from the response with the status - warning
removed the optional property
/from the response with the status - info
added to the response body
anyOflist for the response status - info
added the optional property
to the response with the status - info
added the optional property
to the response with the status - info
added the optional property
to the response with the status - info
removed the
30denum value from theresponse property for the response status - info
removed the
7denum value from theresponse property for the response status - info
removed the
90denum value from theresponse property for the response status
- breaking