Campanhas
Estimar custo por lista de telefones
Changed onCalcula o preço por país de destino e devolve a quebra em markets. Não cria nada nem debita. Permissão: CAMPAIGNS_SEND.
post/v1/campaigns/estimate
Request
- Base URLhttps://api.ararahq.com
- AuthHTTP bearer
- TypeScriptA function with typed inputs. Its response is checked against the schema.
Request body
Response
Estimativa
Example response
{
"templateCategory": "MARKETING",
"recipientCount": 2,
"templateCost": 0.59,
"araraFee": 0.177,
"unitPrice": 0.3835,
"totalCost": 0.767,
"markets": [
{
"market": "BR",
"count": 2,
"unitPrice": 0.3835,
"metaCostUnit": 0.295,
"subtotal": 0.767
}
]
}Changes
- info
api tag
Campanhasadded - info
api tag
campaignsremoved - info
added the non-success response with the status
- info
- info
endpoint added
- info