API keys
Project ID and secret key
Project ID identifies the app; the secret proves it is your server.
Overview
Every Cloud API request uses two values from the same project:
- Project ID (
proj_…) — sent asX-Gray-Project-Id; safe to embed in mobile apps if you only use it with public endpoints (most wallet flows still use a backend) - Secret key (
gray_sk_…) — sent asAuthorization: Bearer …; server-side only
On each request
See Your first API call for a working example against GET /v1/chains.