Mailly文档

Preview member samples of an existing audience

GET
/audiences/{audienceKey}/preview

Authorization

bearerAuth
headerAuthorizationBearer <token>

Mailly API key(Authorization: Bearer )

Path Parameters

audienceKey*string

audience stable key

Query Parameters

sampleLimit?string

Default 20, max 100

Response Body

Member preview

application/json
  1. response
success*boolean
audience*
count*number
sample*array<>
[key: string]?unknown
curl -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}