MCP
Exchange an authorization code or rotate a refresh token
Form-encoded OAuth code or refresh exchange. Tokens are restricted to the MCP resource. Access tokens expire after 15 minutes; connections last up to 30 days. Refresh reuse revokes the connection.
post/auth/mcp/token
Request
- Base URL: https://api.pyai.com
- URL: https://api.pyai.com/auth/mcp/token
- Auth: none required
Response
OAuth token response, never an API key.
object required
Changes
No recorded changes to this operation across all 1 revision of this API.