OAuth

Exchange auth code for session token

Exchanges a one-time auth code (from the OAuth callback redirect) for a session token. Auth codes expire after 60 seconds and can only be used once.

post/oauth/exchange

Request

  • Base URL: https://api.uptimemonitoring.com
  • URL: https://api.uptimemonitoring.com/oauth/exchange
  • Auth: none required

Request body

codestring required

One-time auth code from the OAuth callback redirect.

Response

Session token and account info.

tokenstring

Session token for Bearer authentication.

Changes

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