Create Audience

Create a new audience with optional initial contacts. Phone numbers that don’t exist will be auto-created as contacts.

Authentication

PINNACLE-API-KEYstring
API Key authentication via header

Request

Request payload for creating a new audience.
namestringRequired>=1 character
Audience name.
descriptionstringOptional
Audience description.
contactslist of stringsOptional

Optional array of phone numbers (E.164 format) or contact IDs.

Response

Successfully created the audience.
idstring

Audience public ID. This identifier is a string that always begins with the prefix aud_, for example: aud_abc123.

namestring
Audience name.
descriptionstring
Audience description.
contactCountinteger

Total number of contacts in audience.

Use the Get Audience endpoint with the pagination parameters to get the audience with its contacts.

Errors