Authentication
Every request to the pckt.sh API gateway is authenticated with a Bearer token in the Authorization header.
Getting your API key
- Sign up or log in to your pckt.sh account
- Open the API Keys section of your dashboard
- Create a new API key and copy it somewhere safe
Using your API key
Include your key as a Bearer token on every request:
Authorization: Bearer YOUR_API_KEYUsing gRPC
Endpoints on plans with gRPC access can also be called directly over gRPC at grpc.pckt.sh:443. There's no separate credential — send the same API key as an authorization metadata entry instead of an HTTP header:
authorization: bearer YOUR_API_KEYThe server has reflection enabled, so you can explore and call any endpoint with grpcurl without needing the .proto files:
grpcurl -H 'authorization: bearer YOUR_API_KEY' grpc.pckt.sh:443 listEach endpoint's page lists its gRPC method path and a ready-to-run grpcurl command, where available.
Try it from these docs
Save your key below and it will be used automatically by the playground on every endpoint page.
Stored only in this browser's local storage — never sent to pckt.sh. Used to authenticate requests you send from the playground on these docs.
Need an API key?
Sign up for free and get 500 requests/month.