Skip to main content
The Partner API lets a Jelou partner check the status of the companies subscribed to its products: which services they have, how their channels are doing, and how much they use them. It is read-only.
The partner is identified from the API key. No route takes a partner identifier, so a key can only see the subcompanies of its own partner.

Base endpoint

Authentication

The key must carry the partners:read scope explicitly. A key with the * wildcard is rejected with 403.

Resources

Which subcompanies you see

A subcompany is listed when it is active and has an active subscription to one of the partner’s products. If you query a company that is not yours, the API responds 404, the same as if it did not exist.

Pagination

List endpoints accept page (starting at 1) and limit (1 to 25, default 25). The response includes page, limit and total, which is the number of active subcompanies of the partner across all pages.

Example

Errors

The 400, 403, 404 and 500 responses carry success: false and statusCode; validation errors (400) add error with a code. For 401 and 429, rely on the status code: their body is not part of the contract.

Partial metrics

In GET /metrics, when a metric could not be retrieved it arrives as null and the subcompany carries partial: true. The request does not fail: retry later to complete the value.