Get latest org chart

This API returns a direct link to download the latest snapshot of org chart data in CSV format.

Prerequisites

  • In order to query this API, you would also need to send an access_token as part of the Authorization header. Visit the Authorization section to see the steps for generating an access token.

  • An org chart must have been created and had users added to it. See Request a resource ID and Add an org chart

Endpoint

GET https://public-api.productiv.com/services/push/v1/customer/org-chart
Required Scope https://api.productiv.com/report.read

Request headers

Parameter Value
content-type application/json
Authorization Bearer access_token

Response

If the request is successful, a JSON response will be returned. This JSON object will contain the following parameters:

Parameter Description
success Will be set to true in case of a successful response.
downloadUrl URL to download the latest Org Chart Data CSV.

Example response

{
  "success": true,
  "downloadUrl": "https://productiv-data-bucket/sample-download-link"
}