Skip to main content
POST
Issues a new server-side API key for a tracking site. The raw key is returned once, in this response only — only its SHA-256 hash is stored, so it cannot be retrieved again afterward.
Requires the account’s CONVERSION_TRACKING quota. A site may have at most 2 active keys at once — a 3rd attempt returns 400 with "You have reached the maximum limit of 2 active API keys for this tracking site.". Deactivate or delete an existing key first.
integer
required
Tracking site ID.
string
Optional label to tell keys apart later (the list/retrieve endpoints only ever show the prefix, not the full key).
Store the key field immediately — this is the only response that ever includes it. Use it as the value for the Conversion Tracking server-events API key header, not this Management API key.
404 if site_id isn’t owned by this account; 400 if the 2-active-key limit is already reached.

Authorizations

Authorization
string
header
required

Send your Management API key as the raw value of the Authorization header — no "Bearer " or "Token " prefix, and no other characters. Example: Authorization: 401f7ac837da42b97f613d789819ff93537bee6a. A header containing more than one space-separated part is rejected outright. Requests also require the request's Host header to be the management API host (e.g. api.scanova.io) — the same key sent to the regular API host will not authenticate.

Path Parameters

site_id
integer
required

Response

API key generated.