Rapiwa API
Guide
Sessions
Messages
Groups
Webhooks
Pricing
  • Website
  • Dashboard
  • Support
Guide
Sessions
Messages
Groups
Webhooks
Pricing
  • Website
  • Dashboard
  • Support
  • Getting Started

    • Getting Started
    • Authentication
    • Credits & Pricing
    • Rate Limits
    • Errors
  • Sessions & Devices

    • Link a Device (QR)
    • Get Session Info
    • Validate a Device Key
    • Log Out
    • List All Devices
  • Messages

    • Send a Message
    • Send Bulk Messages
    • Delete a Message
    • Check a Number on WhatsApp
  • Groups

    • Create a Group
    • List Groups
    • Get Group Metadata
    • Get Invite Link
    • Add Members
    • Join a Group
    • Leave a Group
    • Delete a Group
    • Send to a Group
  • Webhooks & Integrations

    • Inbound Messages Webhook
    • Delivery Status Webhook
    • n8n & Integrations
  • Reference

    • Pricing Catalog

Get Invite Link

POST /api/group/invite-code

Returns the shareable invite code + link for a group. Distinct from Get Group Metadata.

  • Auth: Bearer Device Key

Fields

FieldTypeRequired
group_idstring✔

Request

curl -X POST https://app.rapiwa.com/api/group/invite-code \
  -H "Authorization: Bearer YOUR_DEVICE_KEY" \
  -H "Content-Type: application/json" \
  -d '{"group_id":"120363000000000000@g.us"}'

Response

{
  "success": true,
  "message": "Invite code retrieved successfully",
  "data": {
    "status": true,
    "group_id": "120363000000000000@g.us",
    "invite_code": "ABCdef123456",
    "invite_link": "https://chat.whatsapp.com/ABCdef123456"
  }
}

Related: Join a Group

Last Updated: 7/7/26, 8:31 AM
Prev
Get Group Metadata
Next
Add Members