Sendio.Audiences (sendio v1.1.0)

Manage audiences in Sendio.

Deprecation Notice

Audiences are deprecated in favor of Segments. The API documentation notes: "Audiences are now called Segments. Follow the Migration Guide."

These endpoints still function, and an audience_id is required for filtering Contacts, Segments, and Topics by audience. However, consider using Segments for new implementations.

Summary

Functions

Link to this function

create(client \\ Sendio.client(), opts)

Creates a new audience.

Options

  • :name - The name of the audience (required)
Link to this function

get(client \\ Sendio.client(), audience_id)

Gets an audience by ID.

Link to this function

list(client \\ Sendio.client())

Lists all audiences.

Link to this function

remove(client \\ Sendio.client(), audience_id)

Removes an audience.