Endpoint
Authentication
x-api-key: <api_key>
Parameters
No path, query, or body parameters.Request example
Success response 200
How to get the correct instanceId
For all MsgFlash sending endpoints, you must provide instanceId.
Field differences:
Recommended flow:
- Call
GET /api/v1/instances. - Choose an instance with
status = "connected". - Copy
data[n].id. - Use this value as
instanceIdin:POST /api/v1/messages/sendPOST /api/v1/messages/schedulePOST /api/v1/campaigns