Create audience
Creates an empty audience that contacts can join and broadcasts can be sent to.
View as
opensend audiences create [flags]Needs the scopeaudiences:write
Changes data
Flags
--namestringRequiredA name for the audience, such as
Newsletter. Up to 120 characters.
Returns
The command prints the answer: as JSON when its output goes to a file or another program, and as a table or a list of fields in a terminal. When the API refuses, the error goes to the error stream and the command ends with a code that names the failure. Output and scripts lists the codes.
object"audience"Always
audience.idstringThe id of the audience.
namestringThe name of the audience.
contactsintegerHow many contacts are in it.
subscribedintegerHow many of them are subscribed.
unsubscribedintegerHow many of them have unsubscribed.
createdAtstringWhen the audience was made.