Skip to main content
Retrieve details of a specific group by its ID.

Path Parameters

id
string
required
The unique identifier of the group to retrieve.

Query Parameters

org_id
string
required
The organization ID that the group belongs to. Required for authorization.
with_members
boolean
default:"false"
Include the full list of member users in the response. When set to true, each user object in the group will be included with complete user details.

Response

group
object
The requested group object.
curl -X GET 'https://frontier.example.com/v1beta1/groups/grp_123456789?org_id=org_123' \
  -H 'Authorization: Bearer YOUR_ACCESS_TOKEN'
{
  "group": {
    "id": "grp_123456789",
    "name": "engineering-team",
    "title": "Engineering Team",
    "org_id": "org_123",
    "metadata": {
      "department": "engineering",
      "location": "us-west",
      "cost_center": "1234"
    },
    "created_at": "2023-01-15T10:30:00Z",
    "updated_at": "2023-06-20T15:45:00Z",
    "members_count": 12
  }
}

Build docs developers (and LLMs) love