Create a group
Creates a group for the specified employer.
Authentication
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.
Request
Identifier of the employer to create the group for. Prefixed with er_.
Human-readable name of the group.
Short description of the purpose or scope of the group.
Response
Unique identifier for the group. Prefixed with gr_.
Human-readable name of the group.
Current lifecycle state of the group, indicating its current progress. Possible values are:
pending: Group is being configured, may require aquote_intentor asetup_intentto be ready.ready: Setup is complete, regardless of policy start dates employees could start enrolling into policies.archived: Archived as the group is no longer active or in use for any reason. Employees can no longer be added to the group.
Indicates how policies are organized for this group.
single: exactly one policy is associated to the group.bundled: multiple policies are bundled under the group.undefined: type not yet determined or not applicable.
Indicates how employees are enrolled into the group.
manual: employees must be enrolled through an API.automatic: employees are enrolled automatically upon being created with the Employer.
Identifier for the employer that owns this group. Prefixed with er_.
Short description of the purpose or scope of the group.

