JumpCloud: exchange the code

Trade the one-time code for a session token. Called by the dashboard on landing. On success the browser is redirected to the dashboard's /rs-sso-login/ page with the new bearer token in the token query parameter; there is no JSON body. The code works once, and expires 2 minutes after it was issued by default.

Prerequisites: the code from JumpCloud: callback.

Authentication: Public (no token). The one-time code is the credential. The user must still have JumpCloud sign-in turned on when the code is redeemed; otherwise 400.

Rate limit: 10 requests per minute, counted per client IP address.

Recent Requests
Log in to see full request history
TimeStatusUser Agent
Retrieving recent requests…
LoadingLoading…
Query Params
string
required
length between 32 and 128

Required. The one-time code from the callback redirect. 32 to 128 characters.

Responses

Language
URL
LoadingLoading…
Response
Click Try It! to start a request and see the response here! Or choose an example:
*/*
application/json