Authorization
bearerAuth API key sent as Authorization: Bearer <API_KEY>.
In: header
Response Body
application/json; charset=utf-8
curl -X GET "https://api.getventia.com/api/v1.0/groups"[
{
"_id": "609b3cff61ffd5f1e446d234",
"descendants": [
"609ecaec8e2966c543cce9d0"
],
"ancestors": [],
"name": "Company Amazing",
"displayName": "Amazing",
"businessName": "Amazing SAS",
"country": "uy",
"archivingReasons": [
{
"name": "Not work",
"code": "notwork",
"active": true,
"type": "normal",
"_id": "62a8e944ce93810e2941ceee"
}
],
"origins": [
{
"name": "Store",
"code": "store",
"active": false,
"ghost": false,
"_id": "6369166819c8b5ece25fcb75"
}
],
"visitResults": [
{
"name": "Talked with owner",
"code": "ownertalk",
"type": "done",
"active": true,
"ghost": false,
"group": "609b3cff61ffd5f1e446d234",
"_id": "62e8232ee1ba4d62b8917e22"
}
],
"additionalDataFields": [
{
"name": "House name",
"code": "housename",
"type": "string",
"active": true,
"required": true,
"ghost": false,
"group": "609b3cff61ffd5f1e446d234",
"options": [],
"_id": "62f190b984d30b2740f7c372"
}
],
"statusTags": []
}
]Search one contact
Previous Page
Create message
Sends an outgoing message to a contact through any supported channel or personal WhatsApp session. Exactly one send-target must be provided in the body: - `channelId` — send through a shared channel (`unofficial_wpp`, `whatsapp_business`, `fb`, or `ig`). - `userId` + `medium` — send through a user's personal WhatsApp session. `medium: "unofficial_wpp"` uses the agent's Baileys session; `medium: "whatsapp_business"` uses their active Meta Cloud (WhatsApp Business) integration. - `userIntegrationId` — send through a specific WhatsApp Business personal integration by ID (shortcut for `userId` + `medium: "whatsapp_business"` when the integration is already known). The message content itself is one of: plain `text`, media (`mediaType` + `mediaUrl`), or an approved WhatsApp Business `template` ID. Templates are only supported on `whatsapp_business` channels and on personal WhatsApp Business integrations — they are rejected on unofficial (Baileys) sessions. The legacy `whatsapp_360_dialog` channel type is no longer supported.