Zenvia API: what you can do and how to use it with AI agents
Zenvia, a Brazilian communications platform, offers an API to send and receive messages over SMS, WhatsApp and other channels, with templates, delivery status and webhooks. Companies that communicate with customers at scale use it for notices, collections and support. Access is with a token from the customer's account.
What the Zenvia API offers
Messages by channel
Send messages over SMS, WhatsApp and other channels enabled on the account.
Templates
Use approved templates, which are required to start conversations on WhatsApp.
Receiving messages
Webhooks with the replies customers send.
Delivery status
Events for sent, delivered, read or failed.
Bulk sending
Sends to lists, depending on the products you contracted.
How to access the Zenvia API
- With your company’s credentialsUses an API token generated in the Zenvia console and sent in the request header.
- Bulk sends need customer consent (under Brazil's data-protection law, LGPD) and an opt-out option.
- WhatsApp templates need prior approval.
- Set a daily ceiling for sends and cost, since every message is billed.
Official documentation: zenvia.github.io/zenvia-openapi-spec
What an iTeam agent does with the Zenvia API
Appointment confirmation
The agent sends the confirmation on WhatsApp, understands the customer's reply and reschedules or cancels in the calendar.
Friendly payment reminder
The agent sends the due-date notice with an approved template and answers questions about the payment slip.
Resend on another channel
If the WhatsApp message fails, the agent resends it by SMS and logs the attempt.
Replies to campaign responders
Customers who reply to a campaign are handled by the agent, which qualifies them and hands them to a salesperson.
From the credential to the agent at work, with approval
Generate the token and set up channels
In the Zenvia console, generate the token and confirm the channels and approved templates.
Store it in the iTeam vault
Add the token and set which templates and senders each agent can use, and the maximum volume per day.
Test with internal numbers
Send first to your own team's numbers, then turn it on for customers with approval on the sends.
Ready-made AI teams that use Zenvia
Questions about the Zenvia API
Is the Zenvia API free?
The API is not billed separately, but the messages you send are billed according to the channel and your contract.
Do I need to write code to use the Zenvia API with iTeam?
Not necessarily. iTeam reads Zenvia's documentation and the deployment team configures channels, templates and rules.
Can I receive customers' replies?
Yes, through webhooks. This is how the agent continues the conversation after the first message.