Skip to main content
Resend Docs

Search documentation

Type to search this documentation.

Create a list of contacts

POST/audiencesCreate a list of contacts

Deprecated: Use Segments instead. These endpoints still work, but will be removed in the future.

Request body

application/json
objectdeprecatedCreateAudienceOptions
namestringrequired

The name of the audience you want to create.

Example request
{
  "name": "string"
}

Responses

201OKapplication/json
objectdeprecatedCreateAudienceResponseSuccess
idstring

The ID of the audience.

namestring

The name of the audience.

objectstring

The object of the audience.

Example response
{
  "id": "78261eea-8f8b-4381-83c6-79fa7120f1cf",
  "name": "Registered Users",
  "object": "audience"
}
Documentation menu