Preview member samples of an existing audience
Preview member samples of an existing audience with the Mailly email API for AI agents: GET /audiences/{audienceKey}/preview. Parameters, request body, responses and code samples.
GET
bearerAuthheader
AuthorizationBearer <token>Mailly API key(Authorization: Bearer )
audienceKey*stringaudience stable key
sampleLimit?stringDefault 20, max 100
Member preview
application/json- response
success*booleanaudience*count*numbersample*array<>[key: string]?unknowncurl -X GET 'https://api.mailly.site/audiences/string/preview'{ "success": true, "audience": { "property1": null, "property2": null }, "count": 0, "sample": [ { "property1": null, "property2": null } ], "property1": null, "property2": null}Preview audience resolution POST
Preview audience resolution with the Mailly email API for AI agents: POST /audiences/preview. Parameters, request body, responses and code samples.
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.