Skip to main content
POST
/
v1
/
whatsapp
/
groups
/
{groupId}
/
join-requests
/
reject
cURL
curl --request POST \
  --url https://api.buildwithchirp.com/v1/whatsapp/groups/{groupId}/join-requests/reject \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '
{
  "joinRequestIds": [
    "join_req_123"
  ]
}
'
{
  "approved": [
    "<string>"
  ],
  "rejected": [
    "<string>"
  ],
  "failed": [
    {
      "id": "<string>",
      "error": "<string>"
    }
  ]
}

Authorizations

Authorization
string
header
required

App API key (format: sk_live_app_* or sk_test_app_*) for app-level operations

Path Parameters

groupId
string
required

WhatsApp Group ID

Example:

"grp_wa_2DbBs7GWhGvVNJGrDXr5RG0"

Body

application/json
joinRequestIds
string[]
required

Array of join request IDs to approve/reject

Minimum array length: 1
Example:
["join_req_123"]

Response

Join requests processed

approved
string[]
rejected
string[]
failed
object[]