Audiences (deprecated)

Create an audience

Deprecated (as in Resend): an audience is a static segment.

Deprecated

POST
/audiences

Deprecated (as in Resend): an audience is a static segment.

Authorization

bearer
headerAuthorizationBearer <token>

Request Body

application/json
  1. body
name*string

Response Body

Success

application/json
  1. response

The answer to a create: the audience's id and name.

id*string
Formatuuid
name*string
object*string
Example Request
curl -X POST 'https://api.exx.sh/audiences' \  -H 'Content-Type: application/json' \  -d '{  "name": "string"}'
Example Response
{  "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",  "name": "string",  "object": "string"}