provider Admins PUT /admins/{admin_id}/away
@utdk/intercom /admins/{admin_id}/away
Set an admin to away
You can set an Admin as away for the Inbox.
Intercom-Version header
enum: 1.0, 1.1, 1.2, 1.3…
admin_id path required
The unique identifier of a given admin
integer

Try it

Authentication
Configure credentials for Intercom API
Gateway
The gateway proxies requests and injects credentials server-side. Configure credentials above, then enter your gateway URL.

Saved automatically to browser storage.

setawayadmin
PUT/admins/{admin_id}/away
You can set an Admin as away for the Inbox.

Parameters

required

The unique identifier of a given admin

Input

required

Set to "true" to change the status of the admin to away.

required

Set to "true" to assign any new conversation replies to your default inbox.

The unique identifier of the away status reason

Enter a gateway URL above to enable sending.

Code snippet
Updates live as you fill in the form above.

TypeScript

import intercom from '@utdk/intercom';

await intercom.setawayadmin({
  "Intercom-Version": "2.14",
  "away_mode_enabled": true,
  "away_mode_reassign": false
})