v1

latestOpenAPI 3.0.02026-07-2411724301.7 KB
Groups

Reset Group Invite Link

The Reset Group Invite Link API enables businesses to reset the invite link of a specified WhatsApp group.

post/v2/{sid}/whatsapp/groups/{groupId}/invite_link

Path parameters

sidstring required

Account SID (Security Identifier).

groupIdstring required

Group ID of WhatsApp Group for which group invite link has to be updated.

Request body

messaging_productstring required

To be passed as whatsapp

Example request

{
  "messaging_product": "whatsapp"
}

Response

Invite link reset successfully

codestring
messagestring
errorobject

Example response

{
  "code": "WA200",
  "message": "Request Processed Successfully",
  "data": {
    "invite_link": "<UpdatedGroupLink>",
    "messaging_product": "whatsapp"
  },
  "error": {}
}