Skip to main content
POST
/
api
/
v1
/
register
Self-register and mint an API key
curl --request POST \
  --url https://gateway.sanfoundation.com/api/v1/register
{
  "apiKey": "<string>",
  "balance": "<string>"
}

Response

OK — account registered and API key minted (key shown once).

apiKey
string
required

Plaintext API key (sk_…). Returned once and never retrievable again — store it securely. Send as the x-api-key header on /api/v1/* requests.

balance
string
required

Granted spendable balance in dollars (e.g. "100.00").