Developer guide

The Ortto developer guide shows you how to start interacting with the Ortto API, and provides use-case guidelines on how your own applications can interact with Ortto to perform all possible interactions with the Ortto API.

Getting started

Ortto requires your application to interact with the Ortto API using a custom API key. This key is required to authenticate every request made to the Ortto API. Without this key, all requests are automatically rejected.

Each custom API key:

  • is unique and tied to a single Ortto account (aka Ortto instance),

  • does not require or involve any user authentication, but in itself, the key should be treated as a private key,

  • contains its own configurable default merge_by settings, when updating one or more people via the Ortto API, and

  • which is configured as a data source, can be disconnected at any time through your Ortto account’s user interface (UI), thereby preventing and rejecting any requests made to the Ortto API until the custom API key is reconnected.

Therefore, create a separate custom API key for each application that will interact with your appropriate Ortto account.

Tools

The code examples used throughout this Developer guide are presented as cURL commands, along with equivalent Node.js/JavaScript implementations.

You can work directly with the Ortto API using the cURL command. Learn more about using cURL from the curl website and its documentation and man page reference guide.

Copying code examples

Some code examples contain code callouts that provide annotated explanations, usually appearing immediately underneath the code blocks themselves.

If you manually copy and paste such code examples by clicking and holding your mouse pointer, dragging it over the code, and then using your keyboard to copy and paste the text, any callouts in the code you copied may also be copied as extra space or line break characters.
These extra characters can cause issues with the execution of the code after pasting it directly into console/terminal windows; this is especially true of the cURL code examples throughout these developer docs.

To avoid these issues, whenever you copy code examples throughout these docs, hover your mouse pointer over the relevant code block and click the copy icon copy icon (appearing at the top-right of the code block), which cleanly copies the entire code example in the block.
When the code example is pasted, it is done so without these extra callout characters.