billing
Retrieve the key for a completed checkout
One-time retrieval of the API key issued for a completed Stripe checkout session. The session id is the credential, so this route is public; the pending key is consumed on read (a second call 404s).
get/v1/keys/session/{sessionId}
Request
- Base URL: https://modelglass-api.vercel.app
- URL: https://modelglass-api.vercel.app/v1/keys/session/{sessionId}
- Auth: none required
Path parameters
sessionIdstring required
Response
The issued key.
Example response
{
"data": {
"apiKey": "mg_starter_…"
}
}Changes
No recorded changes to this operation across all 1 revision of this API.