Skip to main content
POST
/
api
/
v1
/
whatsapp
/
call
Make a WhatsApp call
curl --request POST \
  --url https://{subdomain}.mihu.ai/api/v1/whatsapp/call \
  --header 'Content-Type: application/json' \
  --data '
{
  "agentId": "32d8fc98-be1e-4d32-a12e-146f397fb1cb",
  "phoneNumber": "+1234567890"
}
'
{
  "success": true,
  "message": "Call created successfully",
  "data": {
    "agentId": "32d8fc98-be1e-4d32-a12e-146f397fb1cb",
    "status": "initiated",
    "conversation_uuid": "bfb5a86b-83df-4602-b046-c26c5b216df5",
    "contact_uuid": "746b5a86b-83df-4602-b046-c26c5b216df5",
    "listen_url": "<string>",
    "record_url": "<string>"
  }
}

Documentation Index

Fetch the complete documentation index at: https://developers.mindhunters.ai/llms.txt

Use this file to discover all available pages before exploring further.

Body

application/json
agentId
string<uuid>
required

UUID of the Agent

Example:

"32d8fc98-be1e-4d32-a12e-146f397fb1cb"

phoneNumber
string
required

Phone number of the contact in E.164 format

Example:

"+1234567890"

Response

Call initiated successfully

success
boolean

Indicates whether the request completed successfully. True for successful responses; false for documented error responses.

Example:

true

message
string

Human-readable response message. Safe to display in logs or simple client notifications; use structured fields for program logic.

Example:

"Call created successfully"

data
object