POST/audiencesDeprecated

Create an audience

Creates an audience with the name you provide. Use the Segments endpoints instead, because this audience operation is deprecated. This operation is closing down and will be removed on a date not specified in the API definition.

  • IdempotentThe SDK sends Idempotency-Key, so a retried request is only applied once.

1 body field

Audience details; name is required.

namestringrequired
The name of the audience you want to create.

1 status code
201Returns the created audience's identifier, object type, and name.
idstringoptional
The ID of the audience.
objectstringoptional
The object of the audience.
namestringoptional
The name of the audience.

Error handling

name is required. Use the Segments endpoints instead, as this audience operation is deprecated.