Getting Started
Getting Started with orvachat API
What the orvachat WhatsApp API is, and how to send your first message in three steps.
The orvachat API lets your own code send and receive WhatsApp messages on the numbers you connected in orvachat. Use it from your server, or from tools like n8n, Make or Zapier.
Base URL
Every endpoint path goes after this URL:
https://orvachat.com/api/v1Requests and responses are JSON, unless a page says otherwise.
Send your first message in 3 steps
- Connect a number. In your dashboard, create a WhatsApp connection and scan the QR code with your phone.
- Create an API key. Open the Developer API page, pick the number and create a key. Copy it now. It is shown only once.
- Send a text. Put your key in place of
YOUR_API_KEYand run:
cURL
curl -X POST "https://orvachat.com/api/v1/chat/send/text" \
-H "Authorization: Bearer YOUR_API_KEY" \
-H "Content-Type: application/json" \
-d '{ "Phone": "923001234567", "Body": "Hello from the API" }'Phone is the number with its country code and no +. If it works you get "success": true and the new message id.
Tip
The API works only for numbers in Developer API mode. In AI Agent mode the API answers 403 and the agent replies instead. Change a number's mode in your orvachat dashboard.
Next steps
- Receive messages and media on your webhook.
- Read how API keys work.
- See all message types you can send.