1MSG

Create a Group

POST
/groups

Create a WhatsApp group and return its invite link.

Beta test eligibility for group chats:

  • Limit of company-initiated messages: at least 100,000 within 24 hours.
  • Verified green check.

Authorization

JWT token
querytoken<token>

Request Body

  1. body
groupName*string

Group name

description?string

Group description

Response Body

Server response example

application/json
  1. response
created?boolean
groupID?string
chatID?string
name?string
invite_link?string
timestamp?integer
curl -X POST 'https://api.1msg.io/123/groups' \  -H 'Content-Type: application/json' \  -d '{  "groupName": "Support",  "description": "Customer support group"}'
{  "created": true,  "groupID": "Y2FwaV9ncm91cDoxNzA1NTU1MDEzOToxMjAzNjM0MDQ2OTQyMzM4MjAZD",  "chatID": "[email protected]",  "name": "Group name",  "invite_link": "https://chat.whatsapp.com/<LINK_ID>",  "timestamp": 1675964377}