Skip to main content
Every API request goes to https://www.prizerail.com/api/v1 and carries your key as a bearer token:
  • Owners create keys in the partner portal under Team → API keys. A key is shown once, when it’s made.
  • One key covers every campaign of yours.
  • Environments are separate. Keys starting pr_test_ only work in our test environment, and pr_prod_ keys only in production.
  • Revoking is immediate. Every request with a revoked key fails from then on. To rotate, create the new key, deploy it, then revoke the old one.
A missing, unknown or revoked key returns:
A campaign that belongs to another account returns 404 not_found, the same as one that doesn’t exist.