Access
Preview

Get a group

GET
/groups/{groupId}
cookiebetter-auth.session_token<token>

Better Auth session cookie. Production uses the __Secure- prefixed name.

groupId*string
Formatuuid

Response Body

The group.

application/json
  1. response
id*string
Formatuuid
teamId?string|null
name*string
kind*string

Static groups list people. On-call groups are filled from a schedule.

Value in"static""onCall"
memberUserIds*array<string>
Example Request
curl -X GET 'https://wardn.example.com/api/v1/groups/497f6eca-6276-4993-bfeb-53cbbbba6f08'
Example Response
{  "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",  "teamId": "string",  "name": "string",  "kind": "static",  "memberUserIds": [    "string"  ]}