Approve CLI authorization from the web app
Approve CLI authorization from the web app with the Mailly email API for AI agents: POST /cli/auth/approve. Parameters, request body, responses and code samples.
POST
Requires a Better Auth session cookie (not an API key).
application/json- body
deviceToken*string32-128 character hexadecimal token generated by the CLI
[key: string]?unknownApproved
application/json- response
success*booleanemail*string[key: string]?unknowncurl -X POST 'https://api.mailly.site/cli/auth/approve' \ -H 'Content-Type: application/json' \ -d '{ "deviceToken": "string", "property1": null, "property2": null}'{ "success": true, "email": "string", "property1": null, "property2": null}Public & onboarding
Public endpoints (no API key; some use a separate secret or signed token): endpoints of the Mailly email API for AI agents, with parameters, responses and code samples.
Check whether a name on the platform domain looks free GET
Check whether a name on the platform domain looks free with the Mailly email API for AI agents: GET /onboarding/availability. Parameters, request body, responses and code samples.