Update an audience
Update an audience with the Mailly email API for AI agents: PUT /audiences/{audienceKey}. Parameters, request body, responses and code samples.
PUT
bearerAuthheader
AuthorizationBearer <token>Mailly API key(Authorization: Bearer )
audienceKey*stringaudience stable key
application/json- body
name?stringdescription?string|nullfilter?Dynamic audiences only
[key: string]?unknownUpdated
application/json- response
success*booleanaudience*[key: string]?unknowncurl -X PUT 'https://api.mailly.site/audiences/string' \ -H 'Content-Type: application/json' \ -d '{ "property1": null, "property2": null}'{ "success": true, "audience": { "property1": null, "property2": null }, "property1": null, "property2": null}Remove a static audience member DELETE
Remove a static audience member with the Mailly email API for AI agents: DELETE /audiences/{audienceKey}/members/{externalContactId}. Parameters, request body, responses and code samples.
Campaigns
Marketing campaigns: endpoints of the Mailly email API for AI agents, with parameters, responses and code samples.