List WhatsApp channels

Returns the WhatsApp numbers that are connected to the WATI account of the
authenticated tenant, and the number that the agent in agent_id is installed to. To
install the agent to one of them, send its channelId as channel_id and its
phoneNumber as channel_number to POST /wati/install with channel_kind set to
whatsapp.

Error bodies have two shapes. The gateway returns the Error object. The upstream
service returns {"error": "<message>"}. The gateway passes the upstream body through
unchanged. When WATI rejects the stored credentials, the upstream service returns the
WATI status code with {"code": "WATI_RECONNECT_REQUIRED", "error": "Wati credential requires reconnect"}.

Requires the agents:read scope.

Recent Requests
Log in to see full request history
TimeStatusUser Agent
Retrieving recent requests…
LoadingLoading…
Query Params
uuid
required

Agent ID. The response also gives the WhatsApp number that this agent is installed to.

Responses

Language
Credentials
URL
LoadingLoading…
Response
Click Try It! to start a request and see the response here! Or choose an example:
application/json