## List employers **get** `/v1/employers` Retrieves a paginated list of all employers belonging to the authenticated organization. Results are sorted by creation date (newest first) and paginated using page and limit parameters. ### Query Parameters - `limit: optional number` Items per page (default: 20, max: 100) - `page: optional number` Page number (default: 1) ### Returns - `data: array of Employer` - `id: string` Unique employer identifier with 'empr_' prefix - `active: boolean` Whether the employer is currently active in the system - `address: object { address_line_1, city, state, 2 more }` Nested address within EmployerSerializer. - `address_line_1: string` Primary street address - `city: string` City name - `state: string` Two-letter state code (e.g., CA, NY) - `zipcode: string` ZIP code (5 or 9 digit) - `address_line_2: optional string` Secondary street address (apt, suite, etc.) - `created_at: string` Timestamp when the employer was created - `ein: string` Employer Identification Number (masked in responses) - `eligibility_policy_id: string` ID of the benefit eligibility policy (epol_*), if assigned - `legal_name: string` Legal business name for compliance and tax purposes - `name: string` Display name of the employer - `organization_id: string` ID of the parent organization (org_*) - `updated_at: string` Timestamp when the employer was last updated - `email: optional string` Email address for billing and communications - `phone_number: optional string` Employer phone number (E.164 format recommended) - `reference_id: optional string` Partner-assigned reference ID for the employer - `pagination: Pagination` Pagination metadata for list responses. - `limit: number` Items per page - `page: number` Current page number - `total: number` Total number of items - `total_pages: number` Total number of pages ### Example ```http curl https://api.vitablehealth.com/v1/employers \ -H "Authorization: Bearer $VITABLE_CONNECT_API_KEY" ``` #### Response ```json { "data": [ { "id": "empr_abc123def456", "organization_id": "org_xyz789", "name": "Acme Corporation", "legal_name": "Acme Corporation Inc.", "ein": "XX-XXX1234", "reference_id": "partner-emp-001", "email": "hr@acme.com", "phone_number": "4155550100", "active": true, "address": { "address_line_1": "123 Main Street", "address_line_2": "Suite 100", "city": "San Francisco", "state": "CA", "zipcode": "94102" }, "eligibility_policy_id": "epol_policy123", "created_at": "2024-01-15T10:30:00Z", "updated_at": "2024-06-20T14:45:00Z" }, { "id": "empr_def456ghi789", "organization_id": "org_xyz789", "name": "TechStart Inc", "legal_name": "TechStart Incorporated", "ein": "XX-XXX5678", "reference_id": null, "email": "contact@techstart.com", "phone_number": null, "active": true, "address": { "address_line_1": "456 Innovation Drive", "address_line_2": "", "city": "Austin", "state": "TX", "zipcode": "78701" }, "eligibility_policy_id": null, "created_at": "2024-03-01T09:00:00Z", "updated_at": "2024-03-01T09:00:00Z" } ], "pagination": { "page": 1, "limit": 20, "total": 2, "total_pages": 1 } } ```