Home//Roles
Roles
Preview Introduction
Changelog (Preview)
Intercom API
Admins
AI Content
Articles
Away Status Reasons
Audiences
Auth Tokens
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 roles in the workspace.
Roles define what a teammate can do in a workspace. The teammates endpoint returns the role a teammate holds, but only the roles that are currently assigned, and only their id and name. This endpoint lists every role in the workspace, each with its description.
Security
bearerAuth
Intercom-Versionstring(intercom_version_preview)
Preview Intercom API version. Used for closed beta endpoints or other features under managed availability.
Default:"Preview"
Value:"Preview"
Example:Preview
- The production API serverhttps://api.intercom.io/roles
- The european API serverhttps://api.eu.intercom.io/roles
- The australian API serverhttps://api.au.intercom.io/roles
curl -i -X GET \
https://api.intercom.io/roles \
-H 'Authorization: Bearer <YOUR_TOKEN_HERE>' \
-H 'Intercom-Version: Preview'successful
dataArray of objects(Role)
A list of role objects
Example:
[ { "type": "role", "id": "991267902", "name": "Support Lead", "description": "Can view and reply to conversations" } ]
Response
{ "type": "list", "data": [ { … } ] }