A proxy key belongs to a proxy integration: a proxy on your own site, the path it answers, and how it runs. The key lets that proxy forward the browser SDK's requests with the visitor's real details. See proxy integrations. Only admin management keys can manage them; a developer key answers 403.
Path parameter
organization_idstringrequiredYour organization, from Describe the key. A path naming any other organization answers404.
List proxy keys
/api/v1/management/organizations/{organization_id}/proxy-credentials Management keyResponse
credentialsProxyKey[]Every proxy key, oldest first, revoked keys included.15 child fields
idstringThe key's ID.namestringThe proxy's name.environmentstringproduction,stagingordevelopment.kindstringHow the proxy runs:cloudflare_worker,server_sdk,vercel,netlify,aws_cloudfront,gcp_cloud_run,nginx,caddy,traefik,containerorcustom.pathstringWhere the browser SDK posts on your site, such as/k7x2qm4a.prefixstringThe start of the secret, such asfly_px_production.last4stringThe last four characters of the secret.statusstringactiveorrevoked.last_used_atstringWhen the key last authenticated a request. Omitted if never.last_versionstringWhat the proxy last reported itself as, such ascloudflare-worker/0.2.0. Omitted until a proxy sendsx-fingerly-proxy-version.last_originstringThe page origin last seen through the proxy. Omitted if never.requests_30dintegerRequests the proxy forwarded over the last 30 days.expires_atstringWhen the key stops working.created_atstringWhen the key was issued.revoked_atstringWhen the key was revoked.
Issue a proxy key
/api/v1/management/organizations/{organization_id}/proxy-credentials Management keyBody
namestringrequiredWhat the proxy is called.environmentstringrequiredThe environment of the public keys it will forward:production,stagingordevelopment.kindstringDefault'custom'How the proxy runs:cloudflare_worker,server_sdk,vercel,netlify,aws_cloudfront,gcp_cloud_run,nginx,caddy,traefik,containerorcustom. The dashboard prints the setup for the kind.pathstringWhere the browser SDK will post on your site. Omit it for a random one, such as/k7x2qm4a, which is what we recommend.
Answers 201 with credential, a proxy key as above, and secret, the whole key, shown once.
Update a proxy key
/api/v1/management/organizations/{organization_id}/proxy-credentials/{proxy_credential_id} Management keyBody
namestringrequiredThe proxy's name.kindstringrequiredHow the proxy runs, one of the kinds above.pathstringThe new path. Omit it for a new random one.
Answers with the proxy key. The secret does not change: moving a proxy to a new path is a change on your side, not a new key. Send the current path to keep it.
Revoke a proxy key
/api/v1/management/organizations/{organization_id}/proxy-credentials/{proxy_credential_id}/revoke Management keyRefuses the key from the next request on, and answers with the revoked key.
Paths
A path must start with /, be 2 to 64 characters, and use only letters, digits and . _ ~ - /. A path a content blocker would match is refused with 422 and proxy_path_rejected, and error.message names the word, such as fingerly, fingerprint, fpjs, tracking, analytics, telemetry, metrics, stats, collect, events, identify, ingest, pixel, beacon, ads, log, sdk, visitor, fraud, device or bot. See why paths are random.