HomeBook a Demo

Reports

Partner API v1 reference for the daily revenue report endpoint.

Base URL: https://partner-api.getinline.tech (production). Every request needs Authorization: Bearer <token>; see authentication. This page is generated from the OpenAPI spec, version 1.0.0; download it at /openapi/partner-api.yaml.

Gross and net revenue by day

GET /v1/reports/revenue

Required scope: reporting:read.

Your organization's revenue: one row per date and publisher. Gross revenue is what ad partners paid; net revenue is your share of it. Refreshed about every four hours; responses may be cached for up to 15 minutes. A row is is_final once its date is two or more UTC days old and none of its revenue is under review, but a revenue share change can still restate net revenue for any date, so re-pull the whole range you reconcile. Rows are sorted by date, then publisher_id, then currency, ascending; paging with cursor never skips or repeats a row. Ranges are capped at 92 days.

Query parameters

start_dateQuerystring (date)Required

First UTC date, inclusive (YYYY-MM-DD).

end_dateQuerystring (date)Required

Last UTC date, inclusive (YYYY-MM-DD). Must not be before start_date.

publisher_idQuerystring (uuid)

Only this publisher. 404 if the token cannot reach it.

limitQueryintegerdefault: 1000

From 1 to 1000.

cursorQuerystring

The meta.next_cursor of the previous page, sent with the same other parameters. Opaque; do not construct or store it.

Response

  • 200: A page of revenue rows.

Headers: X-Request-Id.

dataarray of RevenueRowRequired
metaRevenueReportMetaRequired

Errors

Every error uses the error envelope.

StatusMeaning
400The request is malformed or a parameter is invalid.
401The token is missing, malformed, unknown, revoked, or expired.
403The token lacks the required scope, or the organization may not perform this action.
404The resource does not exist or the token cannot reach it.
429Too many requests. Limits are 300 requests per 5 minutes per token and 1000 per 5 minutes per IP. Honor Retry-After when present, otherwise back off exponentially.
500Something went wrong on our side. Retry with backoff.
503The report could not be produced in time (about 20 seconds) or the data store is unreachable. Retry with backoff or narrow the range.

Example

curl "https://partner-api.getinline.tech/v1/reports/revenue?start_date=2026-10-01&end_date=2026-10-07" \
  -H "Authorization: Bearer $INLINE_API_TOKEN"