curl -X POST https://api.mcprank.com/v1/identity/refresh \ -H "X-API-Key: sk_mcp_rank_..." \ -H "Content-Type: application/json" \ -d '{"refresh_token": "rt_abc123..."}'
{ "access_token": "eyJhbGciOiJSUzI1NiIs...", "refresh_token": "rt_xyz789...", "expires_in": 3600, "token_type": "Bearer" }
Refresh an expired MCP Identity Token
Bearer
invalid_grant
{ "detail": "Invalid or expired refresh token" }