The Org API reference

Introduction

Welcome to the API documentation. Our REST API provides unrestricted structured access to the worlds largest database of organizational charts. Currently the main entrypoint is though a company domain name. The API is avaliable to Enterprise Plan customers.

Endpoint

The API is served from https://api.theorg.com/v1.

Authentication

The API uses API keys to authenticate requests. You can view and manage your API keys in your Subscription Center.

Authentication to the API is performed by passing the key in a header called x-api-key.

Your API keys carry many privileges, so be sure to keep them secure! Do not share your secret API keys in publicly accessible areas such as GitHub, client-side code, and so forth.

All API requests must be made over HTTPS. Calls made over plain HTTP will fail. API requests without authentication will also fail.

Rate Limiting

You can make 10 requests per second to a single endpoint of our API.

Company Org Chart API

This service returns a full company org chart along with company level information that can be used for internal identification and deduplication.

path Parameters
domain
required
string

The domain name of the company. Example: theorg.com. This attribute is case-insensitive.

Responses

Response Schema: application/json
object (Company)
object (ErrorResponse)

Response samples

Content type
application/json
{}

People Contact API

This service provides contact information for a list of position ids and can be used together with the Company Org Chart API.

Request Body schema: application/json
positionIds
Array of numbers <int32> [ items <int32 > ]

List of position ids

Responses

Response Schema: application/json
object (ContactsResult)
object (ErrorResponse)

Request samples

Content type
application/json
{
  • "positionIds": [
    ]
}

Response samples

Content type
application/json
{
  • "data": {
    },
  • "error": {
    }
}