> For the complete documentation index, see [llms.txt](https://developer.ultimo.net/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://developer.ultimo.net/api-guide/rest.md). Agents can also search and read this documentation through its [MCP server](https://developer.ultimo.net/~gitbook/mcp).

# REST

:white\_check\_mark:Professional :white\_check\_mark:Premium :white\_check\_mark:Enterprise

![](https://4033746893-files.gitbook.io/~/files/v0/b/gitbook-legacy-files/o/assets%2F-MZmRVbbu75Ds8MiWx_F%2F-MZmSSEIxU4aznMfSsPm%2F-MZmVLcs_LosVPwh_FAw%2Frestapi.png?alt=media\&token=b2811df4-6e97-49fb-9e28-922b2f4f0ac8)

Since Ultimo version 18.04 (2018R2), you can retrieve data through the REST API. For cloud customers on Azure, you can also insert and update data, including in batch.

## How to set up

To connect to the REST API, a specific API key has to be created for each client. API keys are defined in the Ultimo Configuration Tool. An API key defines which objects (entities) and/or workflows are available, and generates an API key secret that authorises requests. To set up a new API key quickly, you can use an [API key template](https://developer.ultimo.net/api-key-templates/introduction.md).

{% hint style="info" %}
For more information about configuring API keys, contact your Ultimo consultant.
{% endhint %}

## How to connect

The base URL for requesting entities has the following format:

![](https://4033746893-files.gitbook.io/~/files/v0/b/gitbook-legacy-files/o/assets%2F-MZmRVbbu75Ds8MiWx_F%2F-MZmSSEIxU4aznMfSsPm%2F-MZmVLcjEEafYb58rYFc%2Faccolades_rest_api.png?alt=media\&token=bc239d0a-c88b-4a47-96df-e639410adb5b)

The service root is the same for every request or query. It contains the environment name, which is the URL of your Ultimo environment. The resource path refers to the specific information you request. The query options determine which parts of this information are returned and how.

## Authentication

When sending a request to the REST API, provide an API key secret in the header of the request. The API key secret can be generated in the API key manager in the Ultimo Configuration Tool.

## Headers

The following Ultimo-specific headers are used when sending a request:

* The API key secret (required), in the following format: `ApiKey: {API KEY SECRET}`
* The language of the response (optional). If it is not specified, the default user language is used. The language is returned in the header of the response. Specify the language in the following format:
  * `Accept-Language: NL`
  * `Accept-Language: en-US`
* The company the request is for (optional). This header is only required when the API key in Ultimo is configured to work with multiple companies. If only one company is available, that company is always used, regardless of the API configuration or the header. Specify the company in the following format:
  * `Ultimo-Company: 000001`

## Record authorisation

Record authorisation is taken from the system user that is linked to the API key.

When record authorisation is applied to a table, for example the Department table, you can only retrieve, update or delete records that refer to the authorised department(s), or records from tables that are not related to the Department table.

To insert records that refer to the authorised department(s), specify the department in the request body. If the `Department` property is not included in the request body, the default value is used.

{% hint style="info" %}
For more information about configuring record authorisation, contact your Ultimo consultant.
{% endhint %}

## Response format

The Ultimo REST API always returns a JSON response.


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## Querying This Documentation
If you need additional information that is not directly available in this page, you can query the documentation by asking a question.

Perform an HTTP GET request on the following URL with the `ask` and `goal` query parameters:

```
GET https://developer.ultimo.net/api-guide/rest.md?ask=<question>&goal=<user_goal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is what the user is ultimately trying to achieve, the reason they need the answer. Sharing it helps GitBook give you a better, more relevant answer. A goal is most helpful when it describes the outcome the user wants rather than restating the question. For example, with `ask=how do I create an API token`, a goal like `automate deployments from our CI pipeline` lets GitBook tailor the answer to that use case.

The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
