Skip to main content
POST
Start linking a WhatsApp number by phone pairing code.

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Body

application/json

The phone to link and, optionally, the member it is for.

phone
string
required

The WhatsApp phone number to link, in international format.

Example:

"+972501234567"

user_id
integer

The member the link is for: the integer user_id from GET /workspace/teammates, the same id as DELETE /workspace/invitations/{user_id}. Optional on a user-scoped token, required on a legacy workspace token.

Example:

42

Response

Success

status
enum<string>
required
Available options:
ok,
error
Example:

"ok"

data
object
required