oauth

Token

Current oauth HTTP operation. No resource-scope middleware on this operation. Access is resolved for the authenticated user or by the endpoint-specific OAuth checks. Production rate limit: 240 requests per 15-minute window, per client IP. RateLimit headers report the current window; respect Retry-After on 429. Authorization-code exchange requires code and redirect_uri. A refresh-token grant requires refresh_token. Use the configured client and its directed setup; do not infer a working public client from endpoint existence.

post/oauth/token

Request

  • Base URL: https://api.ranch.bot
  • URL: https://api.ranch.bot/oauth/token
  • Auth: none required

Request body

grant_type'authorization_code' | 'refresh_token' required
codestring
redirect_uristring
refresh_tokenstring
client_idstring required
client_secretstring
code_verifierstring

Response

Success

OR
OR

Changes

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