Admin

The admin object provides information on the Intercom teammate.

{
  admin: {
    type: "admin",
    id: "814860",
    name: "IntercomTest",
    email: "theadmin@example.com",
    job_title: "Existentialist",
    away_mode_enabled: false,
    away_mode_reassign: false,
    avatar: {
      image_url: "https://static.site.test.icon"
    },
    team_ids: [
      814865
    ]
  }
}
KeyTypeDescription
typestringValue will always be 'admin'.
idstringThe id of the admin.
namestringThe name of the admin.
emailstringThe email address of the admin.
job_titlestringThe job title of the admin.
away_mode_enabledbooleanIdentifies if this admin is currently set in away mode.
away_mode_reassignbooleanIdentifies if this admin has currently set replies to assigned conversations to go automatically into the workspaces default inbox.
avatarobjectContains an 'image_url' string attribute within.
team_idsarray[integer]This is a list of teams id's that the admin is a part of. Only set if the type is 'admin'.