Get the teams.
(⚠️ Deprecated) Please use the /groups endpoint instead. It returns the same data but the naming makes more sense as the model not only includes teams but also 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).

Language
Authentication
Bearer
Click Try It! to start a request and see the response here!