ApiOauth
Oauth Token
Token endpoint (authorization_code with PKCE, refresh_token) Access tokens last one hour and are for the MCP only. Refresh tokens last 30 days from their last use and rotate: each refresh returns a new one, and presenting the previous one again revokes the grant. A code used twice revokes what its first use returned. A refresh may ask for fewer scopes, never more.
POST
Token endpoint (authorization_code with PKCE, refresh_token)
Access tokens last one hour and are for the MCP only. Refresh tokens last 30 days from their last use and rotate: each refresh returns a new one, and presenting the previous one again revokes the grant. A code used twice revokes what its first use returned. A refresh may ask for fewer scopes, never more.
application/x-www-form-urlencoded- body
grant_type*stringValue in
"authorization_code""refresh_token"code?stringredirect_uri?stringcode_verifier?stringrefresh_token?stringclient_id?stringclient_secret?stringscope?stringresource?stringTokens
application/json- response
access_token?stringqlt_…
token_type?"Bearer"Value in
"Bearer"expires_in?integerrefresh_token?stringqlr_…
scope?stringcurl -X POST 'https://tiltas.openpanel.sh/api/v1/oauth/token' \ -H 'Content-Type: application/x-www-form-urlencoded' \ -d 'grant_type=authorization_code'Example Response
{ "access_token": "string", "token_type": "Bearer", "expires_in": 0, "refresh_token": "string", "scope": "string"}