Retrieve a group policy
Retrieves a group_policy object.
Authentication
Path parameters
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
Unique identifier for the group policy. Prefixed with gp_.
Policy start (effective) date in ISO 8601 (YYYY-MM-DD).
Current lifecycle state of the group_policy, indicating its progress from creation to activation. Possible values are:
scheduled: Group policy has been scheduled for activation.active: Group policy is now activeexpired: Group policy is no longer active as it reached its end datecancelled: Group policy is now cancelled for any reason.
Policy type. Determines which sub-object is populated.
The other group_policy objects bought together with this one as a single scheme — the policies created from the same multi-level purchase. Always present, and empty for a policy with no siblings.
Policy end date (inclusive) in ISO 8601 (YYYY-MM-DD), or null if open-ended.
Policy cancellation date (inclusive) in ISO 8610 (YYYY-MM-DD), or null if not applicable.
Health insurance–specific fields (present when type=health_insurance).
Life assurance–specific fields (present when type=life_assurance).

