Relay docs
API ReferenceWhatsapp

Add members to a group

Add one or more customers to an existing WhatsApp group conversation. Requires the `conversations:write` scope and the hosting number to be connected. WhatsApp will not directly add people whose privacy blocks it; those come back in `invited` and must join via `invite_link`. Set `sendInviteLink: true` to have the API DM the link to them.

POST
/v1/public/whatsapp/groups/{conversationId}/participants

Authorization

bearerAuth
AuthorizationBearer <token>

Workspace API key, e.g. rl_live_….

In: header

Path Parameters

conversationId*string

The Relay conversation id of the group (returned by Create a group).

Formatuuid

Request Body

application/json

TypeScript Definitions

Use the request body type in TypeScript.

participants*array<string>

Customer phone numbers to add (country code + number; punctuation ignored).

Items1 <= items
sendInviteLink?boolean

DM the group invite link to participants WhatsApp wouldn't add directly. Unsolicited 1:1 message, so off by default.

Defaultfalse

Response Body

application/json

application/json

application/json

application/json

application/json

application/json

curl -X POST "https://example.com/v1/public/whatsapp/groups/497f6eca-6276-4993-bfeb-53cbbbba6f08/participants" \  -H "Content-Type: application/json" \  -d '{    "participants": [      "919876543210"    ]  }'
{  "group_jid": "string",  "invite_link": "string",  "added": [    "string"  ],  "invited": [    "string"  ],  "invites_sent": [    "string"  ],  "not_on_whatsapp": [    "string"  ]}
{  "error": "string"}
{  "error": "string"}
{  "error": "string"}
{  "error": "string"}
{  "error": "string"}