Exchange tokens
OAuth
Exchange tokens
OAuth 2.0 token endpoint. Supports two grant types:
authorization_code: Exchange an authorization code for tokensrefresh_token: Refresh an access token
Authenticate via HTTP Basic auth (client_id:client_secret) or body parameters.
POST
Exchange tokens
Documentation Index
Fetch the complete documentation index at: https://docs.meteroid.com/llms.txt
Use this file to discover all available pages before exploring further.
Body
application/x-www-form-urlencoded
Token request (from POST body, application/x-www-form-urlencoded)
Grant type: "authorization_code" or "refresh_token"
Client ID (if not using HTTP Basic auth)
Client secret (if not using HTTP Basic auth)
Authorization code (for authorization_code grant)
PKCE code verifier (for authorization_code grant with PKCE)
Redirect URI (for authorization_code grant, must match the one used in /authorize)
Refresh token (for refresh_token grant)