Skip to main content
This walks the full happy path: authenticate, fetch reference IDs, upload a file, create a promotion, trigger an evaluation, and read the result. Each step links to the page with the full detail.
You need an API key (provided during onboarding) and a file to test with. Run against staging first by swapping the hosts below for their -staging equivalents (see Authentication).
1

Set your credentials

Every request needs your API key and a stable identifier for the acting user in your system.
2

Fetch reference IDs

Classification drives which rules apply. Fetch the IDs for one product, channel, and jurisdiction. See Reference data for all four endpoints.
3

Upload a file

Initiate the upload, then send the file in a single PUT (small files) or several chunks. See File upload for chunking and resume.Reviewing a web page or a Figma frame instead? Submit it as a link with POST /v1/links and use the upload ID it returns — see Link submission.
4

Create a promotion

Combine the upload with your classification. See Creating promotions for every field and for text promotions.
A 409 means an upload is still processing. Retry with back-off. See Creating promotions.
5

Trigger the evaluation

Evaluation runs asynchronously and returns immediately with 202 Accepted.
6

Get the result

Poll until the aggregate status is succeeded or failed. Each result carries the findings for one file. See Evaluation for the full response shape.

Next steps

Webhooks

Receive results automatically instead of polling, and verify signatures.

Errors & rate limits

Handle the error envelope, status codes, and rate limits.