Retrieves a paginated list of all employers that the authenticated organization has access to. Use query parameters to filter by name or active status. Results are paginated using page and limit parameters.
Parameters
Filter by active status
limit: Optional[int]
Items per page (default: 20, max: 100)
minimum1
maximum100
name: Optional[str]
Filter by employer name (partial match)
page: Optional[int]
Page number (default: 1)
minimum1
Returns
List employers
import os
from vitable_connect_api import VitableConnectAPI
client = VitableConnectAPI(
api_key=os.environ.get("VITABLE_connect_API_API_KEY"), # This is the default and can be omitted
)
employers = client.employers.list()
print(employers)
[
{
"id": "id",
"active": true,
"created_at": "2019-12-27T18:11:19.117Z",
"legal_name": "legal_name",
"name": "name",
"organization_id": "organization_id",
"updated_at": "2019-12-27T18:11:19.117Z",
"address": {
"city": "city",
"state": "state",
"street_1": "street_1",
"zip_code": "zip_code",
"country": "country",
"street_2": "street_2"
},
"ein": "ein",
"eligibility_policy_id": "eligibility_policy_id"
}
]
Returns Examples
[
{
"id": "id",
"active": true,
"created_at": "2019-12-27T18:11:19.117Z",
"legal_name": "legal_name",
"name": "name",
"organization_id": "organization_id",
"updated_at": "2019-12-27T18:11:19.117Z",
"address": {
"city": "city",
"state": "state",
"street_1": "street_1",
"zip_code": "zip_code",
"country": "country",
"street_2": "street_2"
},
"ein": "ein",
"eligibility_policy_id": "eligibility_policy_id"
}
]