API v2 overview
Endpoint catalogue and conventions for the Velip Public API v2.
The Velip Public API v2 is a REST-style HTTP API. Each endpoint is a single PHP route mounted under the base URL provided to your account (typically https://vox.velip.com.br/api/v2/).
Conventions
- Method: POST is the canonical method. Most endpoints also accept GET (parameters in the query string), but POST is required for payloads larger than typical URL limits.
- Content type:
application/x-www-form-urlencoded(default).application/json— auto-detected from theContent-Typeheader. URL/query parameters take precedence over JSON body keys with the same name.
- Encoding: legacy endpoints return
ISO-8859-1for some fields; newer ones use UTF-8. When sending text from a UTF-8 client, prefer JSON or set theencodingparameter (where supported) toUTF-8. - Authentication: every call requires a
tsidtoken (or HTTP Basic). See Authentication. - Response shape — JSON, with the canonical body:
{
"return": {
"status": "OK",
"status_code": "0",
"cd_id": "..."
}
}
When validation or auth fails, status carries the error message and status_code carries the numeric code documented in Error codes. HTTP status codes used:
| HTTP | Meaning |
|---|---|
200 |
Success (status: "OK"). |
400 |
Validation / business error. status_code carries the precise code. |
401 |
Authentication failure (token, IP allowlist, or brute-force lockout). |
Endpoint catalogue
- SMS — Send a single SMS message.
- WhatsApp — Send WhatsApp text, media, or HSM/templates.
- Voice (TTS) — Place an outbound call with TTS, DTMF/IVR, and optional transfer.
- Audio files — Manage and play recorded audio assets.
- Campaigns — Create, edit, and list campaigns and contact-center queues.
- Destinations — Manage destination lists used by campaigns.
- Messenger / Instagram — Send messages on Meta channels.
- Email (Gmail OAuth) — Send transactional email through customer-owned Gmail accounts.
- Auth helpers — Issue tokens and introspect the current account.
Read this first
- Getting started — base URL, request shape, encoding gotchas.
- Authentication — how
tsidis generated and checked. - Errors — the canonical error code table.
- Rate limits — per-IP, per-user, and SMS night cap.