ioZen Docs
POST
/whatsapp/conversations

Authorization

bearerAuth
headerAuthorizationBearer <token>

API key authentication. Pass your ioZen API key as a Bearer token in the Authorization header.

Request Body

Phone, optional contact fields, approved template, and optional Intake Bot

application/json
  1. body
phone*string

Recipient phone number. Normalized to E.164. Invalid numbers are rejected.

Length1 <= length <= 32
connection_id?string

WhatsApp connection to send from. Required when the workspace has more than one active connection.

Length1 <= length <= 64
contact?

Contact fields to fill when empty. Existing values are left unchanged.

template*
intake_bot_id?string

Published Intake Bot that handles the reply. Omit to use the workspace routing rules.

Length1 <= length <= 64

Response Body

Contact, conversation, and message ids

application/json
  1. response
success*true
Value intrue
data*
Example Request
curl -X POST 'https://app.iozen.ai/api/v1/whatsapp/conversations' \  -H 'Content-Type: application/json' \  -d '{  "phone": "string",  "template": {    "name": "string",    "language": "string"  }}'
Example Response
{  "success": true,  "data": {    "contact": {      "id": "string",      "created": true    },    "conversation": {      "id": "string",      "created": true    },    "message": {      "id": "string",      "status": "sending",      "template": {        "name": "string",        "language": "string"      }    },    "idempotent": true  }}