Sign in with a verification code
Sign in with a verification code with the Mailly email API for AI agents: POST /verify-code-login. Parameters, request body, responses and code samples.
POST
Signs in with an email verification code and sets the Better Auth session cookie on success (new users are registered automatically).
application/json- body
email*stringSign-in email
code*stringVerification code
[key: string]?unknownSigned in (session set via Set-Cookie)
application/json- response
success*booleanmessage*string[key: string]?unknowncurl -X POST 'https://api.mailly.site/verify-code-login' \ -H 'Content-Type: application/json' \ -d '{ "email": "string", "code": "string", "property1": null, "property2": null}'{ "success": true, "message": "string", "property1": null, "property2": null}Send the reviewed draft POST
Send the reviewed draft with the Mailly email API for AI agents: POST /draft-review/send. Parameters, request body, responses and code samples.
Start CLI device authorization POST
Start CLI device authorization with the Mailly email API for AI agents: POST /cli/auth/init. Parameters, request body, responses and code samples.