Skip to main content
The Qobra public API lets your own tools read your Qobra data and update it. It is a REST API over HTTPS: every request sends an API key, and every response is JSON.

What you can do

Extract data from Qobra

Pull statements, records, data tables and quota values into your data warehouse or your BI tool.

Update data in Qobra

Create and update the records of your data tables, your users with their groups and managers, and your quota values.

Webhooks

Let Qobra call your endpoint when a statement is sent to payroll or a message is posted in a request.

MCP server

Let Claude, ChatGPT or Dust read and update Qobra from a conversation, with each user’s permissions.

Versions

The API has two versions, and you use both: v2 reads your reporting data and writes your quota values, v1 updates your other data. Breaking changes come with a new version, and you are notified by email two months in advance. New endpoints and new keys in a response are not breaking changes: see the changelog. To know what moves from v1 to v2, see the migration guide.

Base URL

Add the version to the base URL:

Authentication

Send an API key in the X-API-Key header of every request:
A Qobra admin creates the keys in Settings > API with Generate new key. The same key works for v1 and v2.
Settings > API with the API keys field, hidden here, and the Generate new key button highlighted
An API key is personal: it acts as the user who generated it. Keep it out of your code and treat it as a password.

Rate limit

The API accepts up to 80 requests per second across all endpoints. To send or read large volumes, use fewer, larger requests: see Best practices for large imports and the pagination of the v2 endpoints.

Live environment only

The v2 API only serves data from your company’s live environment. Reporting tables and quotas that exist in a sandbox environment are not reachable through v2.
  • GET /v2/data-structures lists only the reporting tables of the live environment. Companies that also use reporting in a sandbox see fewer entries there than in the Qobra app.
  • GET /v2/data-structures/{table_id}/fields, GET /v2/reporting/{table_id}/records and GET /v2/reporting/{table_id}/statements return 404 Not Found when table_id belongs to a sandbox environment, even if you copied the id from the Qobra app while viewing a sandbox.
  • Data tables are the exception: they belong to no environment. All of them are listed, and GET /v2/data-tables/{data_table_id}/records serves them whichever environment you copied the id from.
A reporting table or quota id copied from the Qobra app while a sandbox environment is active does not work with the v2 API. Switch the app to the live environment before copying ids, or take them from GET /v2/data-structures.

Get started

Run a first extraction

List the data structures, read their fields and fetch their records.

Create a data table for the API

Set up the table your records go to, and find its keys.