Skip to main content
POST
Assign, close or reopen a chat

Authorizations

Authorization
string
header
required

Your API key, e.g. gr_live_…

Headers

Idempotency-Key
string
required

Your own unique id for this request (at most 255 characters). The same id and body within 24 hours answers the first answer again — never a second send or charge.

Maximum string length: 255

Path Parameters

customer
string
required

The number with its country code, e.g. +9198250*****, or the WhatsApp username id.

action
string
required

The action.

Body

application/json
member_id
string

Only for assign: the team member's id.

Response

The chat.

customer
object

Who the customer is. phone can be null: a customer who uses a WhatsApp username may not share their number. user_id is WhatsApp's business-scoped user ID (for example "IN.13491208655302741918").

status
enum<string>
Available options:
open,
closed
assignee
object | null
last_message_at
string | null