Skip to content
All endpoints

Create a group

POST /api/v1/wa/groups

Ask WhatsApp to make a group on one of your numbers; it answers 202 with status creating.

Groups need a number with an Official Business Account; a Coexistence number (also on the WhatsApp Business app) answers 409 group_not_available.

Making a group is asynchronous: the answer has status creating, then a group.updated event with change created brings wa_group_id and the invite_link. Share the link: people join only by it, up to 8 participants.

Send an Idempotency-Key header so a retry never makes a second group.

Authentication

Header Authorization: Bearer sfp_live_… with an API key from WhatsApp > API and webhooks. Keep keys on your server, never in a browser or app. See API keys.

Parameters

NameInTypeRequiredDescription
Idempotency-KeyheaderstringNoUp to 100 characters.
descriptionbodystringNoUp to 2,048 characters.
number_idbodystringNoUp to 36 characters.
subjectbodystringYesUp to 128 characters.

Header Idempotency-Key (optional, up to 100 characters, recommended): a retry with the same key and body returns the first answer and does nothing twice.

Request

curl -X POST "https://saleflowpoint.com/api/v1/wa/groups" \
  -H "Authorization: Bearer sfp_live_…" \
  -H "Content-Type: application/json" \
  -H "Idempotency-Key: group-wholesale-2026-11" \
  -d '{"subject":"Harbor Office Supply - Wholesale buyers","description":"Weekly stock news for trade customers"}'

Response

202 Accepted
{
  "id": "0193b1d4-2a7f-7e10-8c55-3b9d0e6f7a11",
  "number_id": "0193a1f0-7c2d-7b44-a1e3-0c5d9e8f2b01",
  "wa_group_id": null,
  "subject": "Harbor Office Supply - Wholesale buyers",
  "description": "Weekly stock news for trade customers",
  "invite_link": null,
  "status": "creating",
  "error": null,
  "conversation_id": null,
  "created_at": "2026-11-23T15:04:05Z"
}

Errors

StatusWhen
401The API key is missing, unknown or revoked, or WhatsApp is not available for the account.
404The number_id is not one of yours.
409group_not_available (a Coexistence number: groups need an Official Business Account), group_not_ready (still being made: wait for group.updated), the group is deleted or failed, WhatsApp is paused, or Meta refused ("Meta error N"). Or the Idempotency-Key was used for a different body.
422A field is missing or not valid.
429More than the rate limit; wait the seconds in Retry-After.

Every error looks like {"error": {"code", "message", "correlation_id"}}; quote the correlation_id when you contact us. See Errors and limits.

Rate limits

300 requests a minute per API key, shared by every endpoint. Successful answers carry X-RateLimit-Limit, X-RateLimit-Remaining and X-RateLimit-Reset; a 429 carries Retry-After.

Try it

This is real. It runs on your live WhatsApp number: messages are delivered and Meta may charge for them; group changes happen for everyone. Your key stays in this page's memory: it is sent only to this site's API, never saved, and is gone when you leave the page.

POST /api/v1/wa/groups
Loading SaleFlowPoint…