Keys & Billing
Retrieve a purchased key after checkout (one-time, no auth required)
Called by the post-checkout redirect with the checkout sessionId. Returns the new key exactly once, then invalidates the retrieval — a second call returns 404. Waits briefly for payment confirmation before giving up. Response envelope note: standalone endpoint — flat {success, key, ...}.
get/v1/keys/retrieve
Request
- Base URL: https://api.insumermodel.com
- URL: https://api.insumermodel.com/v1/keys/retrieve
- Auth: none required
Query parameters
sessionIdstring required
Checkout session ID from the success redirect.
Response
Key returned (shown once — save it now)
Example response
{
"success": true,
"key": "insr_live_..."
}Changes
No recorded changes to this operation across all 1 revision of this API.