Skip to main content
POST
/
channels
/
whatsapp
Create Whatsapp Channel
curl --request POST \
  --url https://api.poligono.ai/v1/channels/whatsapp \
  --header 'Authorization: <api-key>' \
  --header 'Content-Type: application/json' \
  --data '
{
  "access_token": "<string>",
  "agent_id": "<string>",
  "number_id": "<string>"
}
'
{
  "data": {
    "created_at": 123,
    "status": "active",
    "updated_at": 123,
    "agent_id": "<string>",
    "created_by": "<string>",
    "id": "<string>",
    "number_id": "<string>",
    "organization_id": "<string>",
    "type": "<string>",
    "verification_token": "<string>"
  }
}

Authorizations

Authorization
string
header
required

Type "Bearer" followed by a space and JWT token.

Body

application/json

Channel

access_token
string
required
agent_id
string
required
number_id
string
required

Response

Created

data
object