Send messages from your application.
One API action: send a message through your AIZyppy account. AIZyppy resolves the sender and account access on the server.
Your AIZyppy API key
API setup and use require an active Scale plan. Create a send-message key in Dashboard → Developer Tools. Store it in your application's secure server configuration. Each key is shown once, belongs to one account and can be revoked.
Authorization: Bearer YOUR_SERVER_API_KEY Content-Type: application/json Idempotency-Key: message_request_20261116_001
Browser apps should call your own authenticated backend. Never put your API key in browser code or a URL. Use the AIZyppy key issued by Developer Tools; your account's sending configuration is managed inside AIZyppy.
Send a message
Dedicated accounts send an approved account template to 1–100 recipients. Use E.164 recipient numbers and the two-letter recipient country. Template parameters must match the approved template.
{
"template": "member_update",
"language": "en_US",
"recipients": [
{
"to": "+919000000001",
"country": "IN",
"parameters": {
"1": "Alex"
}
}
],
"waitForDelivery": false
}
For a Shared account, the same endpoint supports replies to existing inbox contacts within the active 24-hour customer-service window. Use the contact ID from your AIZyppy inbox. Service-window replies do not consume campaign credits.
{
"contactId": "contact_EXAMPLE",
"type": "text",
"text": "Thanks for your message!"
}
Shared template campaigns and prepaid campaign credits use the existing AIZyppy dashboard. Plan access and the customer-service window are verified on the server for every API send.
Safe retries
Send a unique Idempotency-Key with 16–128 letters, digits, underscores or hyphens. Retry an identical request with the same key and payload. Reusing the key with a changed payload returns a conflict.
After a timeout, preserve the original key: the send may already have been accepted. A request with an uncertain result requires administrator reconciliation before another send.
Request limits
The default limit is 60 requests per minute per key. Responses include X-RateLimit-Limit and X-RateLimit-Remaining. A 429 response includes Retry-After: 60. JSON bodies are limited to 2 MiB; a dedicated template request supports up to 100 recipients.
This is a server-to-server production API. The example explorer below is offline and does not send messages.
Responses and errors
A successful request returns the send result. With waitForDelivery: false, the response uses HTTP 202. Acceptance does not prove delivery; inspect the returned result and use your AIZyppy inbox and reports for delivery status.
Errors include a stable code and requestId. Use the code when handling failures and keep the request ID for support.
{"status":"failure","code":"api_authentication_required","message":"api authentication required","requestId":"EXAMPLE_REQUEST_ID"}
| HTTP | Code | Action |
|---|---|---|
| 400 | invalid_request | Check the JSON, phone number and required fields. |
| 401 | api_authentication_required | Provide an active AIZyppy API key. |
| 402 | dedicated_payment_required | Check the account's paid access. |
| 403 | api_scale_plan_required | Upgrade to or renew an active Scale plan. |
| 403 | api_permission_denied / workspace_access_denied | Check your key and plan access. |
| 403 | care_renewal_required / tenant_suspended | Renew partner access or contact support. |
| 403 | approved_template_required_outside_service_window | Use an approved template campaign in the dashboard. |
| 404 | endpoint_not_found | Use the send-message endpoint shown above. |
| 405 | method_not_allowed | Use POST for the send-message endpoint. |
| 409 | api_idempotency_conflict / api_request_pending_review | Preserve the request key and reconcile the result. |
| 429 | api_rate_limit | Wait according to Retry-After. |
| 503 | api_temporarily_unavailable | Retry safely with the same request key. |
Send-message code examples
Examples use placeholders. Run them on your server with your own approved template, recipients and secure application configuration.
Offline example explorer
Build a send-message request locally in your browser. This preview does not accept credentials or contact the API.