cURL
valid
curl --request POST \ --url https://api.selfmailkit.com/v1/audiences \ --header 'Authorization: Bearer <token>' \ --header 'Content-Type: application/json' \ --data '{ "name": "Weekly newsletter subscribers"}'
200
success
{ "id": "0195ceb7-f8cb-7558-b3aa-1280acb8b417"}
Endpoint: v1/audiences
v1/audiences
Create a new audience for managing contacts.
API key with format "Bearer {your-api-key}"
Audience successfully created
The response is of type any.
any