Authentication
Request API Key Challenge
Step 1 of the API key mint flow. Returns a nonce message that the partner wallet must sign.
POST
Overview
Starts the challenge-response flow used to mint a partner API key. Submit the partner wallet address and partner ID; GRAIL returns a short-lived nonce message that must be signed with the partner wallet’s private key and exchanged via Create API Key.This endpoint is rate-limited to 10 requests per minute per IP. Exceeding the limit returns
429 rate_limited.Request Body
string
required
The partner wallet address requesting the key. Must be an active wallet registered under the given partner.
string
required
The partner ID (UUID) the wallet belongs to. Provided by ORO when your partner is onboarded.
Response
string
Unique identifier for this challenge, prefixed
ch_. Embedded in the message.string
The exact message to sign with the partner wallet. Format:
Sign this message to generate an API key for GRAIL: ch_<uuid>.string
ISO-8601 timestamp. The challenge is unusable after this time.
