Introduction
The Inline AI Partner API: pull your organization's daily revenue for each publisher into your own systems.
The Partner API lets your servers pull your organization's revenue from Inline AI. You get one row for each publisher and day, with the same numbers as the dashboard revenue export.
Once your organization has access, create tokens in the dashboard under Organization > API tokens.
What you can do
| Task | Endpoint | Scope |
|---|---|---|
| Check a token | GET /v1/ping | Any valid token |
| Pull daily revenue | GET /v1/reports/revenue | reporting:read |
- The base URL is
https://partner-api.getinline.tech. - Responses are JSON.
- The OpenAPI spec is at /openapi/partner-api.yaml. Use it to generate a client.
Versioning
All endpoints live under /v1. Changes within v1 only add things, such as new optional fields. Your client must ignore fields it does not recognize. See the changelog for the full policy.
Not available yet
- Webhooks. Tell us which events you need.
- Calls from a browser. Tokens are server-side secrets, and the API sends no CORS headers. See keep tokens on the server.
Next steps
Create a token, check it, and pull your first revenue report.
AuthenticationToken format, scopes, expiry, rotation, and rate limits.
Revenue reportsFields, dates, when numbers change, and how often to pull.
API referenceEvery endpoint, parameter, and field, generated from the OpenAPI spec.
Looking for the browser embed?
To add AI features to a website, use the Widget SDK: one <script> tag, no server code.