Set admin away mode
Set away mode
If you want to set an admin in away mode you can do this via a PUT request. You can also choose whether you want conversation replies to be automatically reassigned to your default inbox if you like. For more about away mode please see here.
Attribute | Type | Description |
---|---|---|
id | string | The id of the admin you want to set away mode or re-assign conversations. |
away_mode_enabled | boolean | Set to 'true' to change the status of the admin to away. |
away_mode_reassign | boolean | Set to 'true' to assign any new conversation replies to your default inbox. |
$ curl https://api.intercom.io/admins/814860/away \\\n-X PUT \\\n-H 'Authorization: Bearer <Your access token>' \\\n-H 'Accept: application/json' \\\n-H 'Content-Type: application/json' \\\n-d \t'\n{\n \"away_mode_enabled\": true,\n \"away_mode_reassign\": false\n\n}'