Chezie API
How to read your company's Chezie data from your own tools.
Overview
The Chezie API gives you read-only access to your company's group and chapter membership data. It returns the same data you can export from Chezie, so you can use it in your own reports and systems.
- The API can only read data. It can't change anything in Chezie.
- An API key reads the data of one company: the company that created it.
- The API is available for companies on the new Chezie platform.
How to create an API key
Only company admins can create API keys.
- Go to Settings > Company Settings > API keys.
- Click Create API key.
- Enter a name for the key, for example the name of the app that will use it.
- Click Create.
- Copy the key and store it somewhere safe.
Note: The key is shown only once. If you lose it, revoke it and create a new one.
A company can have more than one API key. To remove a key, click Revoke next to it. Apps using that key lose access right away.
How to use your API key
Send the key in the Authorization header of every request:
Authorization: Bearer chz_your_key_here
All requests go to this base URL:
https://api.chezie.app/api/data/v1
Endpoints
| Endpoint | Returns |
|---|---|
GET /company | The company the key belongs to. Use it to check that your key works. |
GET /members | One row per group or chapter membership, current and past. |
/company takes no parameters. The parameters of /members are listed under Filters and pagination.
Example request to /company
curl -H "Authorization: Bearer chz_your_key_here" \
"https://api.chezie.app/api/data/v1/company"
Example response from /company
{
"id": "6a1f0c2e-3b7d-4c55-9a0e-2f8d1b4c7e90",
"name": "Acme Health"
}
Example request to /members
curl -H "Authorization: Bearer chz_your_key_here" \
"https://api.chezie.app/api/data/v1/members?active=true&limit=100"
Example response from /members
{
"current_page": 1,
"page_size": 100,
"total_pages": 3,
"total_items": 245,
"data": [
{
"membership_id": "0b6e5d1a-8f2c-4e7b-9c3d-5a4f1e2b6c70",
"organizational_unit_type": "CHAPTER",
"employee_id": "c3e9a7f1-2d4b-4a8e-b6c5-7f1d0e9a3b21",
"name": "Jane Doe",
"email": "jane.doe@example.com",
"employee_active": true,
"team_id": "e1d2c3b4-a596-4877-8a9b-0c1d2e3f4a5b",
"team_name": "Employee Resource Groups",
"group_id": "9f8e7d6c-5b4a-4392-8170-6e5d4c3b2a19",
"group_name": "Women in Medicine",
"group_description": "A community for women across all roles.",
"chapter_id": "7a6b5c4d-3e2f-4a1b-9c8d-7e6f5a4b3c2d",
"chapter_name": "Long Island",
"role": "ADMIN",
"title": "Chapter Lead",
"joined_at": "2025-03-14T09:30:00Z",
"left_at": null,
"active": true,
"hris_attributes": {
"Department": "Cardiology",
"Location": "New York"
}
}
]
}
Member fields
| Field | Description |
|---|---|
membership_id | ID of the membership. |
organizational_unit_type | GROUP or CHAPTER. |
employee_id, name, email | The member. employee_id is the Chezie ID. |
employee_active | true if the person still works at your company. |
team_id, team_name | The team the group belongs to. |
group_id, group_name, group_description | The group. |
chapter_id, chapter_name | The chapter. Empty for group memberships. |
role | MEMBER or ADMIN. |
title | The member's title in the group or chapter, if set. |
joined_at, left_at | When the person joined and left. left_at is empty while they are a member. |
active | true if the membership is current. |
hris_attributes | Your HRIS fields, by their name in Chezie. |
If a person leaves and rejoins the same group or chapter, you see one row with the latest join date.
Filters and pagination
/members accepts these query parameters:
| Parameter | Description |
|---|---|
page | Page number. Starts at 1. |
limit | Rows per page, from 1 to 1000. Default is 100. |
group_id | Only memberships of this group and its chapters. |
chapter_id | Only memberships of this chapter. |
active | true for current memberships, false for past ones. |
To get all rows, request pages from 1 until current_page equals total_pages.
Limits and errors
Each company can make 60 requests per minute. All API keys of a company share this limit.
| Status | Meaning |
|---|---|
400 | A query parameter is not valid. |
401 | The API key is missing, wrong or revoked. |
429 | Too many requests. Wait a few seconds and try again. |
500 | Error on our side. Try again later. |