orvachat

Groups

Get Group Invite Link

GET/api/v1/group/invitelink

Get the group's invite link (reset=true makes a new one).

Parameters

  • groupJIDstringin queryRequired

    The group id, ending in @g.us.

  • resetbooleanin queryOptional

    true makes a new link and stops the old one. Default false.

Code Examples

cURL
curl -X GET "https://orvachat.com/api/v1/group/invitelink?groupJID=120363012345678901%40g.us&reset=false" \
  -H "Authorization: Bearer YOUR_API_KEY"

Response Example

200 OK
{
  "code": 200,
  "data": {
    "InviteLink": "https://chat.whatsapp.com/HffXhYmzzyJGec61oqMXiz"
  },
  "success": true
}