Audience details
Audience details with the Mailly email API for AI agents: GET /audiences/{audienceKey}. Parameters, request body, responses and code samples.
GET
bearerAuthheader
AuthorizationBearer <token>Mailly API key(Authorization: Bearer )
audienceKey*stringaudience stable key
Audience details
application/json- response
success*booleanaudience*memberCount*number|null[key: string]?unknowncurl -X GET 'https://api.mailly.site/audiences/string'{ "success": true, "audience": { "property1": null, "property2": null }, "memberCount": 0, "property1": null, "property2": null}Add or replace static audience members POST
Add or replace static audience members with the Mailly email API for AI agents: POST /audiences/{audienceKey}/members. Parameters, request body, responses and code samples.
Audience list GET
Audience list with the Mailly email API for AI agents: GET /audiences. Parameters, request body, responses and code samples.