get https://api.kombo.dev/v1/hris/groups
Retrieve all "groups" (teams, departments, and cost centers).
{
"status": "success",
"data": {
"next": "eyJwYWdlIjoxMiwibm90ZSI6InRoaXMgaXMganVzdCBhbiBleGFtcGxlIGFuZCBub3QgcmVwcmVzZW50YXRpdmUgZm9yIGEgcmVhbCBjdXJzb3IhIn0=",
"results": [
{
"id": "4B9bKBpX5tnwjiG93TAqF7ci",
"name": "Customer Success",
"remote_id": "49",
"changed_at": "2022-08-07T14:01:29.196Z",
"remote_deleted_at": null,
"type": "TEAM"
}
]
}
}
If the first sync did not finish yet, a 503
status code will be returned to ensure you don't get incomplete data. This allows you to pull until the data is complete (we recommend you to depend on our webhooks though).