DevelopersAPI reference
Create a group
POST
/groupsAuthorization
apiKey groups:writeAuthorizationBearer <token>
An organisation API key, sent as Authorization: Bearer enl_…. Create keys in Settings, API Keys.
In: header
Scope: groups:write
Header Parameters
Idempotency-Key*string
A unique value per change, up to 255 characters. Retrying with the same key returns the first response for 24 hours.
Length
length <= 255Request Body
application/json
TypeScript Definitions
Use the request body type in TypeScript.
Response Body
application/json
application/json
application/json
application/json
application/json
application/json
application/json
application/json
curl -X POST "https://example.com/groups" \ -H "Idempotency-Key: string" \ -H "Content-Type: application/json" \ -d '{ "name": "string" }'{ "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08", "name": "string", "emoji": "string", "member_count": 12, "created_by": "ee824cad-d7a6-4f48-87dc-e8461a9201c4", "created_at": "2019-08-24T14:15:22Z", "updated_at": "2019-08-24T14:15:22Z"}