Create hierarchy

Creates a hierarchy. This can be used generically, but it's typically used to create business hierarchies along territorial lines: headquarters > countries > regions > branches, and so on.

This endpoint generates a Corporate hierarchy created event. See the Data and reporting guide for more information on events and setting up event notifications.

For more information on hierarchies, see Hierarchy.

Recent Requests
Log in to see full request history
TimeStatusUser Agent
Retrieving recent requests…
LoadingLoading…
Body Params

Create hierarchy request body

Create hierarchy payload request object

string
required
length ≤ 40

Hierarchy name

levels
array of objects
required
length ≤ 10

Levels and their descriptions and indexes. (Indexes must be sequential.)

levels*
Responses

401

Access token is missing or invalid

403

The request has been lost

Language
Credentials
Bearer
JWT
LoadingLoading…
Response
Click Try It! to start a request and see the response here! Or choose an example:
application/json