instance_id
(string) - The unique identifier of the WhatsApp instance. Replace gej1iz4pta
with your actual instance ID.Authorization
(string, required) - Bearer token for authentication. Replace {{ZAPLY_AUTH_TOKEN}}
with your API token.Content-Type
(string, required) - Specifies that the request body is in JSON format. Use application/json
.message
(string, required) - The text message to be sent."This is a test message from Zaply 🚀"
number
(string, required) - The phone number of the recipient, including the country code."918367875645"
{
"message": "This is a test message from Zaply 🚀",
"number": "918367875645"
}
401 Unauthorized
- Invalid or missing Authorization
token.400 Bad Request
- Invalid input parameters (e.g., missing required fields).404 Not Found
- Instance ID does not exist.500 Internal Server Error
- Server encountered an unexpected condition.