Skip to content

API reference

Endpoints

10 endpoints, all under https://api.cresva.ai/v1. Read only: nothing in this API changes a campaign, a budget or a creative on any platform.

Conventions

Two of these are POST and neither of them writes anything. /v1/query and /v1/recommendations take a body because their inputs do not fit comfortably in a query string, not because they mutate state.

Every response carries a meta object with a request_id and a simulated flag. Rate-limit headers are on every response, including errors.

Generate a client instead

The specification these pages are built from is served at /v1/openapi.json. Point a generator at it and you get a typed client in your own language rather than hand-written request code.
Spec
curl https://api.cresva.ai/v1/openapi.json -o cresva-openapi.json