Resubscribe (requires consent evidence)
Resubscribe (requires consent evidence) with the Mailly email API for AI agents: POST /preferences/resubscribe. Parameters, request body, responses and code samples.
Restoring a workspace-level subscription requires a source and consent evidence (consentAt + consentReference).
bearerAuthAuthorizationBearer <token>Mailly API key(Authorization: Bearer )
application/json- body
email?stringRecipient email
scope?stringV1 supports only workspace
"workspace""sender""topic"source?stringResubscribe source, up to 100 characters
consentAt?|Consent time (ISO or epoch seconds)
consentReference?stringConsent evidence reference, up to 200 characters
[key: string]?unknownResubscribed
application/json- response
success*boolean[key: string]?unknowncurl -X POST 'https://api.mailly.site/preferences/resubscribe' \ -H 'Content-Type: application/json' \ -d '{ "property1": null, "property2": null}'{ "success": true, "property1": null, "property2": null}Remove a suppression DELETE
Remove a suppression with the Mailly email API for AI agents: DELETE /suppressions/{id}. Parameters, request body, responses and code samples.
Set subscription preferences (unsubscribe or per-scope subscription) PUT
Set subscription preferences (unsubscribe or per-scope subscription) with the Mailly email API for AI agents: PUT /preferences. Parameters, request body, responses and code samples.