GET
/
groups
/
invitation-code
/
renew
cURL
curl --request GET \
  --url https://api.crunchz.app/api/groups/invitation-code/renew \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '{
  "group_id": "xxx@g.us"
}'
{
  "success": true,
  "message": "<string>",
  "data": {
    "code": "KHFAM4UWGUE7g75K1o7BFw",
    "url": "https://chat.whatsapp.com/KHFAM4UWGUE7g75K1o7BFw"
  }
}

Authorizations

Authorization
string
header
required

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

Body

application/json

Response

200
application/json

GroupInvitationCodeResource

The response is of type object.