One HTTP request and the message goes out
No required SDK, no months-long certification, no IT project. Connect your ERP, CRM, e-commerce store or in-house system and let the send happen at the right moment.
From API key to first send
Three steps, with the same sender ID and the same credits as the dashboard.
- 1Request access from the Enviar Brasil team, who will add your credits.
- 2Generate your API key in the dashboard, under “API & integration”.
- 3Send a POST to /v1/sms with the number and message.
curl -X POST https://api.enviarbrasil.com/v1/sms \
-H "Authorization: Bearer $ENVIAR_CHAVE" \
-H "Content-Type: application/json" \
-d '{
"numero": "5565999217864",
"mensagem": "Your order 88421 is out for delivery.",
"referencia": "order-88421"
}'Up to 10,000 messages in a single call
Same authentication, different endpoint. Optional scheduling: if agendar_para has no time zone, the time is Cuiabá time (UTC−4).
POST /v1/sms/lote HTTP/1.1
Host: api.enviarbrasil.com
Authorization: Bearer $ENVIAR_CHAVE
Content-Type: application/json
{
"agendar_para": "2027-03-01T09:00:00-03:00",
"mensagens": [
{ "numero": "5511999990001", "mensagem": "Ana, your installment is due today." },
{ "numero": "5511999990002", "mensagem": "Bruno, your installment is due today." }
]
}Status, balance and campaigns whenever your system needs them
The same key looks up messages, campaigns and credits — always for your account only.
Lookup endpoints
# status of a message
curl https://api.enviarbrasil.com/v1/sms/msg_9f2c4a1b \
-H "Authorization: Bearer $ENVIAR_CHAVE"
# credit balance
curl https://api.enviarbrasil.com/v1/saldo \
-H "Authorization: Bearer $ENVIAR_CHAVE"
# campaigns and the details of one of them
curl https://api.enviarbrasil.com/v1/campanhas \
-H "Authorization: Bearer $ENVIAR_CHAVE"
curl "https://api.enviarbrasil.com/v1/campanhas/cmp_7d1e03c2?limite=100" \
-H "Authorization: Bearer $ENVIAR_CHAVE"Response for a message
{
"id": "msg_9f2c4a1b",
"campanha_id": "cmp_7d1e03c2",
"numero": "5565999217864",
"status": "entregue",
"erro": null,
"enviada_em": "2026-11-05T13:00:04.120Z",
"atualizada_em": "2026-11-05T13:00:31.480Z"
}Possible statuses
pendente— Queued, not sent yet.enviado— Accepted for sending, no delivery confirmation yet.entregue— The carrier confirmed delivery. This is the status that counts.nao_entregue— The carrier could not deliver it. The credit is not refunded.expirado— Expired without being delivered. The credit is not refunded.falhou— Rejected before sending. The credit goes back to your balance.
What your developer will ask
No. The API is HTTP with JSON. Any language that can make an HTTP request can integrate — including no-code tools that support HTTP calls.
The Enviar Brasil team opens your account, sets up your sender ID and adds your credits. After that, you generate the key yourself in the dashboard, under “API & integration”. It is shown only once, so store it on your server.
Yes. Every send call sends a real SMS and uses your account's credits, the same ones as the dashboard.
Call GET /v1/sms/{id} or GET /v1/campanhas/{id}. The API doesn't call your system when the status changes: your system asks. The same status appears in the dashboard report.
1 credit is one SMS part. Up to 160 characters take one part; longer text takes more. A send only goes out if your balance covers every message, and anything rejected goes back to your balance.
Up to 10,000 messages per call, which become a single campaign. A repeated number is sent only once, and blacklisted numbers are discarded before they cost any credits.
These are the API endpoints. Error codes and the step-by-step guide are in the dashboard, under “API & integration”, next to your key.