Start CLI device authorization
Start CLI device authorization with the Mailly email API for AI agents: POST /cli/auth/init. Parameters, request body, responses and code samples.
POST
application/json- body
deviceToken*string32-128 character hexadecimal token generated by the CLI
[key: string]?unknownRegistered, awaiting authorization
application/json- response
success*booleandeviceToken*stringexpiresIn*numberinterval*number[key: string]?unknowncurl -X POST 'https://api.mailly.site/cli/auth/init' \ -H 'Content-Type: application/json' \ -d '{ "deviceToken": "string", "property1": null, "property2": null}'{ "success": true, "deviceToken": "string", "expiresIn": 0, "interval": 0, "property1": null, "property2": null}Sign in with a verification code POST
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.
Unsubscribe (including RFC 8058 one-click) POST
Unsubscribe (including RFC 8058 one-click) with the Mailly email API for AI agents: POST /unsubscribe. Parameters, request body, responses and code samples.