Home//Audiences
Audiences
Preview Introduction
Changelog (Preview)
Intercom API
Admins
AI Content
Articles
Away Status Reasons
Banners
Brands
Calls
Companies
Contacts
Content
Content Snippets
Conversations
Conversation Parts
Conversation Participants
Conversations Attributes
Custom Object Instances
Data Attributes
Data Connectors
Data Events
Data Export
Ecommerce Connectors
Emails
Fin Agent
Help Center
Identity Verification Secrets
Internal Articles
Jobs
Macros
Messages
News
Notes
Office Hours
Procedures
Reporting Data Export
Segments
Subscription Types
Switch
Tags
Teams
Ticket States
Ticket Type Attributes
Ticket Types
Tickets
Visitors
Workflows
Models
Folders
WhatsApp
You can fetch a list of all audiences for the workspace.
Security
bearerAuth
Intercom-Versionstring(intercom_version)
Intercom API version.
By default, it's equal to the version set in the app package.
Default:"Preview"
Enum:"1.0""1.1""1.2""1.3""1.4""2.0""2.1""2.2""2.3""2.4"
Example:Preview
- The production API serverhttps://api.intercom.io/audiences
- The european API serverhttps://api.eu.intercom.io/audiences
- The australian API serverhttps://api.au.intercom.io/audiences
using System;
using System.Net.Http;
using System.Threading.Tasks;
public class Program
{
public static async Task Main()
{
System.Net.Http.HttpClient client = new()
{
DefaultRequestHeaders =
{
{"Intercom-Version", "Preview"},
{"Authorization", "Bearer <YOUR_TOKEN_HERE>"},
}
};
using HttpResponseMessage request = await client.GetAsync("https://api.intercom.io/audiences?page=1&per_page=50");
string response = await request.Content.ReadAsStringAsync();
Console.WriteLine(response);
}
}Successful response
dataArray of objects(Audience)
A list of audience objects.
Response
{ "type": "list", "data": [ { … }, { … } ], "total_count": 2, "page": 1, "per_page": 50, "total_pages": 1 }