The Netify REST API lets you send messages, upload media, and read runtime
configuration. All endpoints are served under the /api base path.
https://www.nixvra.online/api · Format: JSON · Versioned paths use /api/v1.
Protected endpoints use Sanctum bearer tokens. Send the token in the Authorization header:
Authorization: Bearer {your_token}
Create tokens for your agents from the dashboard. Never share your token.
| Method | POST |
|---|---|
| Endpoint | /api/messages/send |
| Auth | Bearer token (Sanctum) |
| Description | Send a text/WhatsApp message via the connected WABA. |
Request body
{
"to": "91XXXXXXXXXX", // recipient phone number with country code
"template_name": "welcome", // optional: approved template
"language": "en_US", // required when using template_name
"body": "Hello!" // optional free-form text (conversation type)
}
| Method | POST |
|---|---|
| Endpoint | /api/media/upload |
| Auth | Bearer token (Sanctum) |
| Body | Multipart/form-data with file field |
| Description | Upload media and receive the media ID for use in messages. |
Public, no authentication required. These never expose secrets.
/api/v1/meta/public-config
— Meta connection presence & app config for the client.
/api/v1/app/public-config
— app name, base URL, locale, timezone, maintenance flag.
Meta Cloud API verification and event delivery.
/api/webhook
— hub verification handshake (challenge token).
/api/webhook
— receives signed events; validates X-Hub-Signature-256 and stores events idempotently.
/api/user
— returns the authenticated user's profile.
The embedded signup flow runs inside the authenticated tenant web app and is CSRF protected.
Endpoints are exposed under /api/v1/meta/connect/start, .../connect/complete,
and /api/v1/meta/connections for listing, status, reconnect, and disconnect.