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
Email address used in the start authentication request.
OTP request ID returned by the start endpoint.
6-digit OTP code received by email. The code expires after 10 minutes.
Response
true when authentication succeeds.HTTP status code.
Human-readable result message.
Errors
| Status | Description |
|---|---|
400 | Missing or invalid request fields |
401 | Invalid or expired OTP code |
429 | Rate limit exceeded |