Gateway Service Reference
This page documents the full HTTP API for the Persona Relay Gateway Service.
Endpoints
POST /relays
Creates a Relay session. No authentication required.
Request headers
Request body
Response
POST /relays/privacy-passes
Issues a Privacy Pass token. Handles the full blind RSA protocol internally. Requires your API key — this is the billing point for Relay, and it determines the environment, so it must match the environment of the relay you’ll redeem against. See Sandbox.
The signing key you receive is determined by the claim-type you issue against, so each Privacy Pass is bound to that claim type. A pass can only redeem a relay created with the same claim type — if they don’t match, the pass won’t be able to redeem the claim.
Request headers
Request body
Response
POST /relays/:relay-token/redeem
Redeems a Privacy Pass token and returns the claim result.
Path parameters
Request headers
Request body
Response

