# Admin

Schema: #/components/schemas/admin

Method: SCHEMA
Version: 2.18
Security: bearerAuth

## Schema fields:

  - `type` (string)
    String representing the object's type. Always has the value `admin`.
    Example: admin

  - `id` (string)
    The id representing the admin.
    Example: 1295

  - `name` (string)
    The name of the admin.
    Example: Joe Example

  - `email` (string)
    The email of the admin.
    Example: jdoe@example.com

  - `job_title` (string)
    The job title of the admin.
    Example: Associate

  - `away_mode_enabled` (boolean)
    Identifies if this admin is currently set in away mode.
    Example: false

  - `away_mode_reassign` (boolean)
    Identifies if this admin is set to automatically reassign new conversations to the apps default inbox.
    Example: false

  - `away_status_reason_id` (integer)
    The unique identifier of the away status reason. Not returned by List all admins.
    Example: 12345

  - `has_inbox_seat` (boolean)
    Identifies if this admin has a paid inbox seat to restrict/allow features that require them.
    Example: true

  - `team_ids` (array)
    The ids of the teams the admin belongs to. When the workspace has a default team, its id is the last item.
    Example: [814865]

  - `avatar` (object)
    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.

  - `avatar.type` (string)
    Value is `avatar`. Returned by List all admins only.
    Example: avatar

  - `avatar.image_url` (string)
    The URL of the avatar image.
    Example: https://picsum.photos/200/300

  - `team_priority_level` (object)
    Admin priority levels for teams

  - `team_priority_level.primary_team_ids` (array)
    The primary team ids for the team
    Example: [814865]

  - `team_priority_level.secondary_team_ids` (array)
    The secondary team ids for the team
    Example: [493881]

  - `role` (object)
    The role assigned to this admin. Only present if the admin has a role assigned.

  - `role.type` (string)
    String representing the object's type. Always has the value `role`.
    Example: role

  - `role.id` (string)
    The id of the role.
    Example: 1

  - `role.name` (string)
    The name of the role.
    Example: Support Agent

