Create Group
POST
/admin/groups/
const url = 'https://example.com/admin/groups/';const options = { method: 'POST', headers: {Authorization: 'Bearer <token>', 'Content-Type': 'application/json'}, body: '{"name":"Planning"}'};
try { const response = await fetch(url, options); const data = await response.json(); console.log(data);} catch (error) { console.error(error);}curl --request POST \ --url https://example.com/admin/groups/ \ --header 'Authorization: Bearer <token>' \ --header 'Content-Type: application/json' \ --data '{ "name": "Planning" }'Create an empty sharing group (admin only). A duplicate name is 409.
Authorizations
Section titled “ Authorizations ”Request Bodyrequired
Section titled “ Request Bodyrequired ” Media type application/json
GroupWrite
object
name
required
Name
Group name, unique across the instance. Leading and trailing whitespace is removed.
string
Example
PlanningResponses
Section titled “ Responses ”Successful Response
Media type application/json
GroupResponse
object
id
required
Id
Unique group identifier.
string format: uuid
name
required
Name
Group name.
string
member_count
required
Member Count
Number of users in the group.
integer
created_at
required
Created At
When the group was created.
string format: date-time
updated_at
required
Updated At
When the group was last renamed.
string format: date-time
Example generated
{ "id": "2489E9AD-2EE2-8E00-8EC9-32D5F69181C0", "name": "example", "member_count": 1, "created_at": "2026-04-15T12:00:00Z", "updated_at": "2026-04-15T12:00:00Z"}Bad request — invalid query parameters or payload
Media type application/problem+json
Unauthorized — missing or invalid credentials
Media type application/problem+json
Forbidden — caller lacks access to this resource
Media type application/problem+json
Not found
Media type application/problem+json
Conflict — resource state prevents the operation
Media type application/problem+json
Validation error
Media type application/problem+json
Too many requests — retry after the advertised interval
Media type application/problem+json
Headers
Section titled “ Headers ” Retry-After
integer
Seconds until the request may be retried
Internal server error
Media type application/problem+json
Service unavailable — the database could not serve the request
Media type application/problem+json