Skip to Content
My App
Api

Channel

List every messaging channel connected to your workspace — Unofficial WhatsApp (QR), Official WhatsApp (Cloud API / Twilio), Facebook Messenger, Instagram and Telegram — each with its id, label and connection status; and bulk-send one message to many recipients on a channel (the channel equivalent of Broadcast, with a per-recipient result list). Use the listing to discover which channel and connection you can send on with the Message endpoint.

GET
/channels

Authorization

http
headerAuthorizationBearer <token>

Response Body

application/json
  1. response
data*array<|||>
meta*
Example Request
curl -X GET 'https://aexrux.com/api/v1/channels'
Example Response200
{  "data": [    {      "type": "whatsapp_unofficial",      "id": 0,      "label": "string",      "identifier": null,      "status": "connected"    }  ],  "meta": {    "count": 0  }}
POST
/channels/broadcast

PLATFORM REALITY: Facebook + Instagram only deliver to a recipient inside the 24h window (they must have messaged you first); Telegram needs the user to have started the bot. Recipients outside that window come back failed with the platform's reason — nothing is silently dropped.

Authorization

http
headerAuthorizationBearer <token>

Request Body

application/json
  1. body
channel*string
Value in"facebook""instagram""telegram"
text?|
Lengthlength <= 4096
media_url?|
Formaturi
Lengthlength <= 2048
media_kind?|
Value in"image""video""document""audio"
connection_id?|
Lengthlength <= 64
recipients*array<>
Items1 <= items <= 500

Response Body

application/json
  1. response
data*
meta*string
Example Request
curl -X POST 'https://aexrux.com/api/v1/channels/broadcast' \  -H 'Content-Type: application/json' \  -d '{  "channel": "facebook",  "recipients": [    "string"  ]}'
Example Response
{  "data": {    "channel": "string",    "total": 0,    "sent": 0,    "failed": 0,    "results": [      {        "to": "string",        "status": "string",        "message_id": "string",        "error": "string"      }    ]  },  "meta": "string"}