GET
/
orgs
/
{org_id}
/
org_units
curl --request GET \
  --url https://api.zivio.net/api/v3/orgs/{org_id}/org_units \
  --header 'X-API-Key: <api-key>' \
  --header 'zivio-tenant-id: <api-key>'
[
  {
    "id": "5",
    "name": "Finance",
    "unit_type": "division",
    "created_at": "2023-11-07T05:31:56Z",
    "updated_at": "2023-11-07T05:31:56Z",
    "parent_id": "1"
  }
]

Authorizations

X-API-Key
string
header
required
zivio-tenant-id
string
header
required

Path Parameters

org_id
integer
required

Query Parameters

q
string

Query string. Match by name

created
string

Date range [2020-01-01+TO+2020-01-30], to search based on created timestamp for object.

updated
string

Date range [2020-01-01+TO+2020-01-30] to search based on updated timestamp for object.

limit
integer

Number of results returned per request

page
integer

Paginate results when number of results exceeds limit

Response

200
*/*
ok
id
integer
Example:

"5"

name
string
Example:

"Finance"

unit_type
string
Example:

"division"

created_at
string
updated_at
string
parent_id
integer
Example:

"1"