Skip to contentSkip to navigation

Multi-Campaign Statistics Beta

Retrieve performance metrics for several campaigns in one call.

GET /api/v1/analytics/campaigns

Requires an API key with the read scope.

Each record is the same object Campaign Statistics returns, in the order you asked for. Duplicate ids are collapsed. Ids that are not campaigns of your workspace are listed in notFound instead of failing the call. One query, however many ids.

Query Parameters

ids string query required

Comma-separated campaign ids, 1 to 50.

Errors

StatusDescription
401Missing, invalid, revoked or expired API key
403API key does not have the required scope: read
422ids is missing, empty or holds more than 50 ids

Rate Limit

  • 300 requests per minute, shared by every read call in your workspace. Fixed 60-second window.
  • Every response includes X-RateLimit-Limit, X-RateLimit-Remaining, X-RateLimit-Reset (unix epoch seconds) and X-RateLimit-Bucket (read).
  • A 429 response includes a Retry-After header (seconds until the bucket resets).

For client-side patterns, see Rate Limiting.

Was this page helpful?