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:

FieldTypeRequiredDescription
typestringYesThe type of message. Always "Whatsapp".
connectionIdstringYesUnique ID of the WhatsApp connection. You can get this from the "Senders" section in Notixer app.
mediastring (URL)NoA URL of the media file (image, video, document, etc.). This is optional.
bodystringYesThe message content that will be sent.
receiverstringYesRecipient'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!"
}