Exchange an authorization code or refresh token for an access_token. client_id + client_secret are required.
Documentation Index
Fetch the complete documentation index at: https://formhug.ai/docs/llms.txt
Use this file to discover all available pages before exploring further.
Grant type
authorization_code, refresh_token Required when grant_type=authorization_code
Required when grant_type=authorization_code; matches the PKCE code_challenge
Required when grant_type=authorization_code; must match the value sent to /authorize
Required when grant_type=refresh_token
Tokens issued
JWT access token
"Bearer"
access_token lifetime in seconds
86400
refresh_token lifetime in seconds
2592000
Space-separated list of scopes
"form:read entry:read"