List group policy intents

Returns a paginated list of group_policy_intent’s. The results are returned sorted by creation date, with the most recent appearing first.

Authentication

AuthorizationBearer
Authorization header using the Bearer scheme

Headers

X-Platform-IdstringOptional

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.

Query parameters

group_idstringOptionalformat: "gr_.+"
Filter by group ID. Matches the intent's own group or any level of the quote intent it accepts.
plan_idstringOptionalformat: "pl_.+"
Filter by plan ID. Matches the intent's own plan or any level of the quote intent it accepts.
typeenumOptional

Filter by shape: single for one group and plan, multi_level for several levels

Allowed values:
statusstringOptional

Multiple values can be provided by separating them with a comma. Allowed values are: processing, action_required, pending_provider_approval, policy_created, expired, provider_rejected, manual_renewal_gathering_required.

pageintegerOptional
The page of results to return. Defaults to 1 if not provided.
page_sizeintegerOptional
The number of results to return per page. Defaults to 10 if not provided. Maximum value is 100.

Response

OK
itemslist of objects
A paginated array containing the response elements
pageinteger
The current page of the results
page_sizeinteger
The number of results on this page. This can be different from the requested page size if the total number of results is less than the requested page size
total_countinteger
The total number of elements available in the response. This is the total number of elements available across all pages, not just the current page.
has_next_pagebooleanOptionalRead-only
Whether there are more pages available after this page
has_previous_pagebooleanOptionalRead-only
Whether there are more pages available before this page