> ## Documentation Index
> Fetch the complete documentation index at: https://deepline.com/docs/llms.txt
> Use this file to discover all available pages before exploring further.

# Intercom: Identify Admin

> Get the Intercom admin and workspace the connection is signed in as. Includes SDK V2 guidance, input constraints, response fields, and Deepline credit cost.

Get the Intercom admin and workspace the connection is signed in as.

> [!NOTE]
>
> Tool ID: `intercom_identify_admin`

## Run this action

Use the TypeScript SDK for one call. Use `ctx.tools.execute(...)` inside a Play for durable calls, scheduled calls, or CSV processing.

```ts theme={"languages":{"custom":["/languages/deepline-prompt.json"]}}
import { Deepline } from 'deepline';

const deepline = await Deepline.connect();
const result = await deepline.tools.execute(
  'intercom_identify_admin',
  {},
);

console.log(result.toolResponse.raw);
```

### CLI

```bash theme={"languages":{"custom":["/languages/deepline-prompt.json"]}}
deepline tools execute intercom_identify_admin --input '{}' --json
```

## Example response

The SDK returns this shape at `result.toolResponse.raw`. The example values illustrate the response.

```json theme={"languages":{"custom":["/languages/deepline-prompt.json"]}}
{
  "data": {
    "type": "example",
    "id": "id_123",
    "name": "Example"
  }
}
```

Use `deepline describe intercom_identify_admin --json` for the latest machine-readable contract.

## Input reference

You can view the currently authorised admin along with the embedded app object (a "workspace" in legacy terminology). > 🚧 Single Sign On > > If you are building a custom "Log in with Intercom" flow for your site, and you call the `/me` endpoint to identify the logged-in user, you should not accept any sign-ins from users with unverified email addresses as it poses a potential impersonation security risk.

This action requires no input fields.

<details>
  <summary>Show raw input schema</summary>

  ### Input JSON Schema

  ```json theme={"languages":{"custom":["/languages/deepline-prompt.json"]}}
  {
    "type": "object",
    "description": "You can view the currently authorised admin along with the embedded app object (a \"workspace\" in legacy terminology). > 🚧 Single Sign On > > If you are building a custom \"Log in with Intercom\" flow for your site, and you call the `/me` endpoint to identify the logged-in user, you should not accept any sign-ins from users with unverified email addresses as it poses a potential impersonation security risk.",
    "properties": {},
    "required": [],
    "additionalProperties": false
  }
  ```
</details>

## Output reference

Standard tool result payload.

| Name | Type | Required | Default | Details |
| - | - | - | - | - |
| `result.data` | `object` | Yes | — | Admins are the teammate accounts that have access to a workspace |
| `result.data.type` | `string` | No | — | String representing the object's type. Always has the value `admin`. |
| `result.data.id` | `string` | No | — | The id representing the admin. |
| `result.data.name` | `string` | No | — | The name of the admin. |
| `result.data.email` | `string` | No | — | The email of the admin. |
| `result.data.job_title` | `string` | No | — | The job title of the admin. |
| `result.data.away_mode_enabled` | `boolean` | No | — | Identifies if this admin is currently set in away mode. |
| `result.data.away_mode_reassign` | `boolean` | No | — | Identifies if this admin is set to automatically reassign new conversations to the apps default inbox. |
| `result.data.has_inbox_seat` | `boolean` | No | — | Identifies if this admin has a paid inbox seat to restrict/allow features that require them. |
| `result.data.team_ids` | `array` | No | — | This is a list of ids of the teams that this admin is part of. |
| `result.data.avatar` | `object` | No | — | This object represents the avatar associated with the admin. |
| `result.data.avatar.type` | `string` | No | `"avatar"` | This is a string that identifies the type of the object. It will always have the value `avatar`. |
| `result.data.avatar.image_url` | `string \| null` | No | — | This object represents the avatar associated with the admin. Format: `uri`. |
| `result.data.email_verified` | `boolean \| null` | No | — | Identifies if this admin's email is verified. |
| `result.data.app` | `object \| null` | No | — | App is a workspace on Intercom |
| `result.data.app.type` | `string` | No | `"app"` | — |
| `result.data.app.id_code` | `string` | No | — | The id of the app. |
| `result.data.app.name` | `string` | No | — | The name of the app. |
| `result.data.app.region` | `string` | No | — | The Intercom region the app is located in. |
| `result.data.app.timezone` | `string` | No | — | The timezone of the region where the app is located. |
| `result.data.app.created_at` | `integer` | No | — | When the app was created. |
| `result.data.app.identity_verification` | `boolean` | No | — | Whether or not the app uses identity verification. |
| `result.meta` | `object` | No | — | Additional response metadata (status, paging). |

<details>
  <summary>Show raw output schema</summary>

  ### Output JSON Schema

  ```json theme={"languages":{"custom":["/languages/deepline-prompt.json"]}}
  {
    "type": "object",
    "description": "Standard tool result payload.",
    "properties": {
      "data": {
        "type": [
          "object",
          "null"
        ],
        "description": "Admins are the teammate accounts that have access to a workspace",
        "properties": {
          "type": {
            "type": "string",
            "description": "String representing the object's type. Always has the value `admin`."
          },
          "id": {
            "type": "string",
            "description": "The id representing the admin."
          },
          "name": {
            "type": "string",
            "description": "The name of the admin."
          },
          "email": {
            "type": "string",
            "description": "The email of the admin."
          },
          "job_title": {
            "type": "string",
            "description": "The job title of the admin."
          },
          "away_mode_enabled": {
            "type": "boolean",
            "description": "Identifies if this admin is currently set in away mode."
          },
          "away_mode_reassign": {
            "type": "boolean",
            "description": "Identifies if this admin is set to automatically reassign new conversations to the apps default inbox."
          },
          "has_inbox_seat": {
            "type": "boolean",
            "description": "Identifies if this admin has a paid inbox seat to restrict/allow features that require them."
          },
          "team_ids": {
            "type": "array",
            "description": "This is a list of ids of the teams that this admin is part of.",
            "items": {
              "type": "integer"
            }
          },
          "avatar": {
            "type": "object",
            "description": "This object represents the avatar associated with the admin.",
            "properties": {
              "type": {
                "type": "string",
                "description": "This is a string that identifies the type of the object. It will always have the value `avatar`.",
                "default": "avatar"
              },
              "image_url": {
                "type": [
                  "string",
                  "null"
                ],
                "description": "This object represents the avatar associated with the admin.",
                "format": "uri"
              }
            },
            "additionalProperties": false
          },
          "email_verified": {
            "type": [
              "boolean",
              "null"
            ],
            "description": "Identifies if this admin's email is verified."
          },
          "app": {
            "type": [
              "object",
              "null"
            ],
            "description": "App is a workspace on Intercom",
            "properties": {
              "type": {
                "type": "string",
                "default": "app"
              },
              "id_code": {
                "type": "string",
                "description": "The id of the app."
              },
              "name": {
                "type": "string",
                "description": "The name of the app."
              },
              "region": {
                "type": "string",
                "description": "The Intercom region the app is located in."
              },
              "timezone": {
                "type": "string",
                "description": "The timezone of the region where the app is located."
              },
              "created_at": {
                "type": "integer",
                "description": "When the app was created."
              },
              "identity_verification": {
                "type": "boolean",
                "description": "Whether or not the app uses identity verification."
              }
            },
            "additionalProperties": false
          }
        },
        "additionalProperties": false
      },
      "meta": {
        "type": "object",
        "description": "Additional response metadata (status, paging).",
        "additionalProperties": true
      }
    },
    "required": [
      "data"
    ],
    "additionalProperties": false
  }
  ```
</details>

## Deepline cost

* Pricing model: `fixed` (per call).
* Estimated Deepline credits: `0` per pricing unit.
* Provider-native pricing may still exist outside Deepline credit billing.

## Related documentation

* [Intercom provider guide](https://deepline.com/docs/providers/intercom/guide.md)
* [SDK V2 quickstart](https://deepline.com/docs/sdk-v2/quickstart.md)
* [SDK reference](https://deepline.com/docs/sdk-v2/sdk-reference.md)
* [Run tools across a CSV](https://deepline.com/docs/sdk-v2/batch-csv.md)


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.