Using the API
Last updated
Was this helpful?
Last updated
Was this helpful?
The Civic Pass API is a RESTful API that allows holders to manage their passes programmatically from their backends.
The Civic Pass API uses the for authentication.
To authenticate, you will need your client ID and secret provided to you by Civic.
You can also try out our shared sandbox environment. Passes you issue can be seen and managed by everyone else using the sandbox.
clientId: dtVTGsKUlkPQ8UXKqSskS1HqNI3hERHT
clientSecret: 7DT722BjNlXUp8HVaV_ZjHzopq2Tr12doGB8sBYC-vhPo3Eh0HoidLVATFbxmwZ1
Wherever the API requires a gatekeeperNetwork, use our demo pass network: tgnuXXNMDLK8dy7Xm1TdeGyc95MDym4bvAQCwcW21Bf
Note this sandbox environment is only available on testnets. These values should be passed where the API requires a chain
(e.g. "ethereum") and a chainNetwork
(e.g. "polygonAmoy").
solana:devnet
ethereum:polygonAmoy
ethereum:sepolia
ethereum:baseSepolia
ethereum:arbitrumSepolia
ethereum:optimismSepolia
ethereum:bscTestnet
ethereum:xdcApothem
ethereum:xlayerTestnet
ethereum:avalancheCChainFuji
ethereum:unichainSepolia
ethereum:sonicTestnet
Once you have an access token, you can use it to call the Civic Pass API.
Example: Lookup a pass by wallet address
For full API documentation, see the .