You can set an Admin as away for the Inbox.
When away_mode_reassign is true, the request can return a 403 if the teammate does not have Inbox access.
Requires the update_admins OAuth scope.
Intercom API version.
If you omit the header, the API uses the version set in your app package, and 1.0 if none is set.
Set to true to change the status of the admin to away, or false to set them back to active.
Set to "true" to assign any new conversation replies to your default inbox.
- The production API serverhttps://api.intercom.io/admins/{id}/away
- The european API serverhttps://api.eu.intercom.io/admins/{id}/away
- The australian API serverhttps://api.au.intercom.io/admins/{id}/away
- Successful response
- Admin not found
- Unauthorized
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: Preview' \
-d '{
"away_mode_enabled": true,
"away_mode_reassign": true,
"away_status_reason_id": 12345
}'Successful response
Identifies if this admin is set to automatically reassign new conversations to the apps default inbox.
The unique identifier of the away status reason. Not returned by List all admins.
Identifies if this admin has a paid inbox seat to restrict/allow features that require them.
The ids of the teams the admin belongs to. When the workspace has a default team, its id is the last item.
[ 814865 ]
The teammate's avatar image. On List all admins it is only included when display_avatar is true. Elsewhere it is left out when the teammate has neither an uploaded avatar nor a gravatar.
Admin priority levels for teams
{ "type": "admin", "id": "991267460", "name": "Ciaran2 Lee", "email": "admin2@email.com", "away_mode_enabled": true, "away_mode_reassign": true, "has_inbox_seat": true, "away_status_reason_id": 12345, "team_ids": [ 991267903 ], "team_priority_level": {} }