OAuth

Issue a one-time exchange code for the current user JWT

Exchange a user token for a short-lived, one-time connection code.

Use the returned code in a /oauth/link/{integration_id} link to start a connection without placing the user token in a browser URL. Only user tokens are accepted.

post/oauth/token-exchange/issue

Request

  • Base URL
    https://api.hyperspell.com
  • URL
    https://api.hyperspell.com/oauth/token-exchange/issue
  • Auth
    HTTP bearer

Headers

X-As-Userstring nullable

Optionally set this header to act as a specific user when using an API Key, equivalent to first exchanging the API Key for a User Token

Response

Successful Response

codestring required
expires_ininteger

Changes

No operation changes recorded.