Employer Status
Look up an employer's status and payroll connection state.
Employer Status
GET /employer/{id}/status — Returns the current status of an employer and whether their payroll integration is connected. The endpoint always responds 200; employers we have no record of return INACTIVE.
Path parameters
| Field | Type | Required | Description |
|---|---|---|---|
id | string | Yes | The employer ID. For API-driven integrations, use your own employer ID. For payroll-engine integrations, use the payroll provider's company ID (e.g. for Check this is the com_XXXX ID). |
In the samples, replace <existing_employer_id> with the employer_id that you sent in the Employer Flow.
curl https://embed-sandbox.benbase.com/api/employer/<existing_employer_id>/status \
-H "Authorization: Bearer <your-api-key>"curl https://embed.benbase.com/api/employer/<existing_employer_id>/status \
-H "Authorization: Bearer <your-api-key>"Response
{
"status": "ACTIVE",
"payroll": { "connected": true }
}| Field | Type | Description |
|---|---|---|
status | string | Employer enrollment status. INACTIVE, PENDING, ONBOARDING, or ACTIVE. |
payroll | object | Payroll connection state. |
payroll.connected | boolean | true when the provider's payroll system is connected for this employer. |
Status values
| Value | Description |
|---|---|
INACTIVE | The employer has not started yet. |
PENDING | The employer is in process. |
ONBOARDING | The employer is in the process of onboarding. |
ACTIVE | The employer has active benefits. At this stage the employee component can be shown in the UI for employees to manage existing benefits or select them. |