Agent Sessions

Request a one-time sign-in code by email

The agent-native front door: an MCP agent (or the SPA) calls this first with an inbox address, reads the code WorkOS Magic Auth sends to that inbox, then calls POST /api/auth/otp-verify. Rate limited to 5 requests per email and 20 per IP per 10 minutes. Never echoes the code.

post/api/auth/otp-request

Request

  • Base URL: https://flint.network
  • URL: https://flint.network/api/auth/otp-request
  • Auth: none required

Request body

emailstring email required

Response

Code sent.

okboolean
emailstring email
delivery'email'
expires_in_secondsinteger

Changes

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