LMS Collaborator knowledge base

Home/Technical requirements/API/API - Import organizational structure

API – Import organizational structure

  • To import an organizational structure, you need to send POST request to the following URI /api/v2/orgstructure/import
  • The request must be accompanied by a file in the CSV format like this:
  • The request must contain the headings Content-Type: multipart/form-data та X-Cbr-Authorization: Bearer API_TOKEN.

Request example:

curl 'https://your-domain.davintoo.com/api/v2/orgstructure/import' -H 'X-Cbr-Authorization: Bearer API_TOKEN' -H 'Content-Type: multipart/form-data' -F 'file=@/path/to/structure.csv'

Still have questions?
Our technical support team is always happy to help!
Write to us at technical support [email protected]. If you are registered on our Helpdesk - send request button below.
Send request