Skip to the page

Retrieve audience

One audience with how many contacts it holds.

audiences_get
Needs the scopeaudiences:read
Only reads

Arguments

  • idstringRequired

    The id of the item. Up to 64 characters.

Returns

The answer comes back under structuredContent, with the same JSON as text in content. A call the API refuses comes back with isError set, and the code and the message under structuredContent.error. MCP shows how to connect a client.

  • object"audience"

    Always audience.

  • idstring

    The id of the audience.

  • namestring

    The name of the audience.

  • contactsinteger

    How many contacts are in it.

  • subscribedinteger

    How many of them are subscribed.

  • unsubscribedinteger

    How many of them have unsubscribed.

  • createdAtstring

    When the audience was made.