Authentication
Complete authentication
Complete OTP verification and receive an API token
POST
This is the second step of the authentication flow. Submit the OTP code from email to receive a JWT token. On first authentication, Knot automatically creates a Solana wallet for the agent.
This endpoint does not require authentication. No
Authorization header is needed.Request body
string
required
Email address used in the start authentication request.
string
required
OTP request ID returned by the start endpoint.
string
required
6-digit OTP code received by email. The code expires after 10 minutes.
Response
boolean
true when authentication succeeds.number
HTTP status code.
string
Human-readable result message.
object