How the API works
Every request uses HTTPS, a versioned path, and a bearer key. Write operations accept JSON and return a typed JSON result that your server can reconcile with delivery events.
- AuthenticateCreate a scoped key in the console and send it as an Authorization bearer token.
- Build the requestChoose the versioned endpoint, supply required path values, headers, and a validated JSON body.
- Handle the resultRead the HTTP status and typed response. Treat validation and authentication failures as final until corrected.
- Track deliveryStore the returned resource ID and process signed webhook events for asynchronous delivery changes.
- Base URL
https://api.sendlz.com/sendlz-api- Safe retries
- Reuse the same idempotency key when retrying a timed-out write. Do not generate a new key for the same logical operation.
- Rate limits
- When the API returns 429, respect the response headers and retry with bounded exponential backoff.
- Errors
- Branch on the HTTP status and typed error code. Do not expose raw API errors or bearer keys to customers or logs.
Send a WhatsApp message
Send messages and inspect delivery records, templates, and connected business numbers.
/api/2026/v1/whatsapp/messagesAuthentication
Send a bearer key issued in the console. The key controls organisation access, capabilities, environment, and rate limits.
Your token stays in this browser tab and is never stored by this page.
Parameters
This endpoint has no path parameters.
Headers
AuthorizationrequiredBearer szk_prefix.secret
Content-Typerequiredapplication/json
Idempotency-KeyrecommendedA unique value for safe retries.
Request body
application/jsonTest this request
The request runs from your browser against the API URL shown above.