API Documentation

The Netify REST API lets you send messages, upload media, and read runtime configuration. All endpoints are served under the /api base path.

Base URL: https://www.nixvra.online/api  ·  Format: JSON  ·  Versioned paths use /api/v1.

Authentication

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.

1. Send a message

MethodPOST
Endpoint/api/messages/send
AuthBearer token (Sanctum)
DescriptionSend 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)
}

2. Upload media

MethodPOST
Endpoint/api/media/upload
AuthBearer token (Sanctum)
BodyMultipart/form-data with file field
DescriptionUpload media and receive the media ID for use in messages.

3. Runtime configuration

Public, no authentication required. These never expose secrets.

4. Webhooks

Meta Cloud API verification and event delivery.

5. Authenticated user

Embedded Signup (in-app)

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.

Developer access tokens are scoped per agent. Rotate tokens immediately if you suspect a leak.