Deprecated: session-based MCP auth was replaced by the OAuth 2.0 Authorization Code + PKCE flow. Always returns 400.

post/mcp-auth/sessions

Request

  • Base URL: https://api.useanima.sh/v1
  • URL: https://api.useanima.sh/v1/mcp-auth/sessions
  • Auth: one of:
    • HTTP bearer
    • API key in header X-API-Key

Request body

object required

No input needed — the server generates the session token

Response

OK

sessionIdstring required

Session ID for the authorize URL

tokenstring required

Secret token for polling — keep this on the MCP server side

authUrlstring uri required

URL to open in the browser

Changes

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