The intercom API reference.
The intercom API reference.
Admins are teammate accounts that have access to a workspace.
Identifies if this admin is set to automatically reassign new conversations to the apps default inbox.
false
Identifies if this admin has a paid inbox seat to restrict/allow features that require them.
true
This object represents the avatar associated with the admin.
[814865]
Image for the associated team or teammate
"https://picsum.photos/200/300"
{ "type": "admin", "id": "1295", "name": "Hoban Washburne", "email": "wash@serenity.io", "job_title": "Philosopher", "away_mode_enabled": false, "away_mode_reassign": false, "has_inbox_seat": true, "team_ids": [ 814865 ], "avatar": "https://picsum.photos/200/300", "team_priority_level": { "primary_team_ids": [ … ], "secondary_team_ids": [ … ] } }
You can view the currently authorised admin along with the embedded app object (a "workspace" in legacy terminology).
🚧 Single Sign On
If you are building a custom "Log in with Intercom" flow for your site, and you call the
/me
endpoint to identify the logged-in user, you should not accept any sign-ins from users with unverified email addresses as it poses a potential impersonation security risk.
curl -i -X GET \ https://api.intercom.io/me \ -H 'Authorization: Bearer <YOUR_TOKEN_HERE>' \ -H 'Intercom-Version: 2.11'
Successful response
Identifies if this admin is set to automatically reassign new conversations to the apps default inbox.
false
Identifies if this admin has a paid inbox seat to restrict/allow features that require them.
true
This is a list of ids of the teams that this admin is part of.
[814865]
{ "type": "admin", "id": "991267390", "email": "admin1@email.com", "name": "Ciaran1 Lee", "email_verified": true, "app": { "type": "app", "id_code": "this_is_an_id1_that_should_be_at_least_40", "name": "MyApp 1", "created_at": 1719492696, "secure": false, "identity_verification": false, "timezone": "America/Los_Angeles", "region": "US" }, "avatar": { "type": "avatar", "image_url": "https://static.intercomassets.com/assets/default-avatars/admins/128.png" }, "has_inbox_seat": true }
Set to "true" to change the status of the admin to away.
true
curl -i -X PUT \ 'https://api.intercom.io/admins/{id}/away' \ -H 'Authorization: Bearer <YOUR_TOKEN_HERE>' \ -H 'Content-Type: application/json' \ -H 'Intercom-Version: 2.11' \ -d '{ "away_mode_enabled": true, "away_mode_reassign": true }'
Successful response
Identifies if this admin is set to automatically reassign new conversations to the apps default inbox.
false
Identifies if this admin has a paid inbox seat to restrict/allow features that require them.
true
This object represents the avatar associated with the admin.
[814865]
Image for the associated team or teammate
"https://picsum.photos/200/300"
{ "type": "admin", "id": "991267391", "name": "Ciaran2 Lee", "email": "admin2@email.com", "away_mode_enabled": true, "away_mode_reassign": true, "has_inbox_seat": true, "team_ids": [] }
curl -i -X GET \ 'https://api.intercom.io/admins/activity_logs?created_at_after=string&created_at_before=string' \ -H 'Authorization: Bearer <YOUR_TOKEN_HERE>' \ -H 'Intercom-Version: 2.11'
Successful response
String representing the object's type. Always has the value activity_log.list
.
"activity_log.list"
Cursor-based pagination is a technique used in the Intercom API to navigate through large amounts of data. A "cursor" or pointer is used to keep track of the current position in the result set, allowing the API to return the data in small chunks or "pages" as needed.
{ "type": "activity_log.list", "pages": { "type": "pages", "next": null, "page": 1, "per_page": 20, "total_pages": 1 }, "activity_logs": [ { … }, { … } ] }
curl -i -X GET \ https://api.intercom.io/admins \ -H 'Authorization: Bearer <YOUR_TOKEN_HERE>' \ -H 'Intercom-Version: 2.11'
{ "type": "admin.list", "admins": [ { … } ] }
curl -i -X GET \ 'https://api.intercom.io/admins/{id}' \ -H 'Authorization: Bearer <YOUR_TOKEN_HERE>' \ -H 'Intercom-Version: 2.11'
Admin found
Identifies if this admin is set to automatically reassign new conversations to the apps default inbox.
false
Identifies if this admin has a paid inbox seat to restrict/allow features that require them.
true
This object represents the avatar associated with the admin.
[814865]
Image for the associated team or teammate
"https://picsum.photos/200/300"
{ "type": "admin", "id": "991267399", "name": "Ciaran9 Lee", "email": "admin9@email.com", "away_mode_enabled": false, "away_mode_reassign": false, "has_inbox_seat": true, "team_ids": [] }