The Vextro API
Send WhatsApp messages and capture leads from your own systems with an API key from your Vextro workspace, and get events back through signed webhooks. The API is plain HTTPS and JSON, so any HTTP client works. There are no Vextro SDKs yet.
What the API does
Every path below is relative to https://api.vextro.net/public/v1/api.
Send WhatsApp messages
Text, approved templates and media files, from a WhatsApp number connected to your workspace.
- POST /send-message/message
- POST /send-message/template
- POST /send-message/media
Check a template send
Template sends are queued and paced to Meta's limits. Look one up to see where it is.
- POST /messages/send-template
- GET /messages/send-requests/{id}
Sync templates
Pull your message templates from Meta into Vextro.
- POST /sync-templates
List your numbers
The WhatsApp numbers this key may send from, with the id a send needs.
- GET /whatsapps
Create leads
Post a lead from your own website or system straight into your Vextro workspace.
- POST /leads
Check a key
Ask what the key you are holding is and what it may do.
- GET /verify-key
API keys
- A workspace admin creates keys in the dashboard, under Settings, Public API.
- Send the key as Authorization: Bearer <key> or in an X-Api-Key header.
- Each key can be limited to the IP addresses (or CIDR ranges) and domains you choose. Calls from anywhere else are refused.
- Keys can be set to expire, and are rate limited per minute. Calls count towards your plan's daily API limit.
Webhooks
- Vextro POSTs the events you subscribe to, such as message.inbound, contact.created or contact.updated, to your endpoint.
- Every delivery is signed with HMAC-SHA256 over a timestamp, a nonce and the exact body, in the X-Vextro-Signature header, so you can check it came from Vextro.
- A new endpoint gets a signed test delivery first, and goes live only once it answers.
- Failed deliveries are retried on a schedule, and you can see each attempt in the dashboard.
- Webhooks are switched on for a workspace by our team, so ask us when you are ready to use them.
Where the full reference is
The API reference is in your dashboard, under Settings, Public API: every endpoint, its method and the key permission it needs, next to the keys themselves. Webhook endpoints and their deliveries are under Settings, Webhooks. If you want help wiring Vextro into your systems, talk to us. Setup is done with you.