v2
latestOpenAPI 3.1.12026-08-0785394779.1 KBList all groups
Returns a list of your groups. The groups are returned sorted by creation date, with the most recent groups appearing first.
Query parameters
Filter by employer ID.
Multiple values can be provided by separating them with a comma. Allowed values are: pending, ready, archived.
The page of results to return. Defaults to 1 if not provided.
The page of results to return. Defaults to 1 if not provided.
The number of results to return per page. Defaults to 10 if not provided. Maximum value is 100.
The number of results to return per page. Defaults to 10 if not provided. Maximum value is 100.
Headers
The target platform id. Required only when calling with a dashboard (WorkOS AuthKit) access token instead of a platform API key — the token carries no platform claim, so the caller must say which platform it means. Ignored for platform API key / embed session token callers.
Response
OK
Example response
{
"items": [
{
"id": "gr_3b1333d87d9d4fd6ad83ba7f6b0e951a",
"employer_id": "er_3b1333d87d9d4fd6ad83ba7f6b0e951a",
"group_policy_ids": [
"gp_3b1333d87d9d4fd6ad83ba7f6b0e951a"
],
"group_quote_intent_ids": [
"gqi_3b1333d87d9d4fd6ad83ba7f6b0e951a"
],
"group_policy_intent_ids": [
"gpi_3b1333d87d9d4fd6ad83ba7f6b0e951a"
]
}
],
"page": 123,
"page_size": 123,
"total_count": 123,
"has_next_page": true,
"has_previous_page": true
}