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.
How does this work?
Curious how the Privacy Pass protocol works under the hood? See Privacy Pass Protocol for a full walkthrough — relevant if you’re implementing this yourself without the gateway.Issue against the same claim type as your relay
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

