Exchange an API key grant

Exchanges a short-lived, single-use grant for its bound API key. Owner grants mint verify scope. Spool invitations mint counterparty scope bound to one Spool. No Clerk session is required.

post/api/v1/keys/exchange

Request

  • Base URL: https://spoolis.com
  • URL: https://spoolis.com/api/v1/keys/exchange
  • Auth: none required

Request body

grant_tokenstring required

Response

Scoped API key, shown once

api_key_idstring required
keystring required
scope'full' | 'verify' | 'counterparty' required
spool_idstring

Changes

No recorded changes to this operation across all 1 revision of this API.