Send Message
Send a WhatsApp Message via Notixer.
Method: POST
URL: https://api.notixer.com/v1/message
Headers:
{ "Authorization": "Bearer YOUR_API_KEY", "Content-Type": "application/json" }
Request Parameters:
Field | Type | Required | Description |
---|---|---|---|
type | string | Yes | The type of message. Always "Whatsapp". |
connectionId | string | Yes | Unique ID of the WhatsApp connection. You can get this from the "Senders" section in Notixer app. |
media | string (URL) | No | A URL of the media file (image, video, document, etc.). This is optional. |
body | string | Yes | The message content that will be sent. |
receiver | string | Yes | Recipient's WhatsApp number. Example: "1234567890" (without country code) or "911234567890" (with country code). |
Request Body:
{ "type": "Whatsapp", "connectionId": "", "media": "", "body": "Hello, this is a test message", "receiver": "" }
Response:
{ "success": true, "message": "Message sent successfully!" }