Retrieve a single admin
$ curl https://api.intercom.io/admins/493881 \
-H 'Authorization:Bearer <Your access token>' \
-H 'Accept: application/json'
HTTP/1.1 200 Ok
{
"type": "admin",
"id": "493881",
"name": "Hoban Washburne",
"email": "[email protected]",
"away_mode_enabled": false,
"away_mode_reassign": false,
"team_ids": [
814865
]
}
<?php
$admin = $intercom->admins->getAdmin("493881");
?>
Each admin object has its own URL -
https://api.intercom.io/admins/{id}
Where {id}
is the value of the admins's id
field.