> ## 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.

# Attention Create User: Inputs, Cost & CLI Example

> Create User. Attention Attention Create User docs include request fields, response shape, pricing notes, and Deepline CLI examples.

## Run in Enrichment Spreadsheet

<Info>
  Use this function as a column step in `deepline enrich`.
</Info>

```bash theme={null}
deepline enrich --input leads.csv --output leads.enriched.csv --with 'result=attention_create_user:{"email":"{{email}}","first_name":"{{first_name}}","last_name":"{{last_name}}","teams":"{{teams}}","roleUUID":"{{roleUUID}}"}' --json
```

<Tip>
  Map payload values to spreadsheet columns with `{{column_name}}` placeholders.
</Tip>

## Input Schema

| Name                 | Type                        | Required | Default       | Description                                                         |
| -------------------- | --------------------------- | -------- | ------------- | ------------------------------------------------------------------- |
| `payload.email`      | `string`                    | Yes      |               | The email address of the new user.                                  |
| `payload.first_name` | `string`                    | Yes      |               | The first name of the new user.                                     |
| `payload.last_name`  | `string`                    | Yes      |               | The last name of the new user.                                      |
| `payload.password`   | `string`                    | No       |               | The password for the new user's account.                            |
| `payload.teams`      | `array`                     | Yes      |               | A list of teams the user will belong to. Each team requires a UUID. |
| `payload.roleUUID`   | `string`                    | Yes      |               | The UUID of the role assigned to the user.                          |
| `payload.seat_type`  | `"listener" \| "recording"` | No       | `"recording"` | The type of seat assigned to the user.                              |

### Allowed values

| Field               | Allowed values          |
| ------------------- | ----------------------- |
| `payload.seat_type` | `listener`, `recording` |

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

  ### Input JSON Schema

  ```json theme={null}
  {
    "type": "object",
    "description": "Creates a new user in the specified organization. Requires a valid API key and proper permissions to create users. The user will be assigned to the specified team and given the specified role. Returns the created user's details including their UUID.",
    "properties": {
      "email": {
        "type": "string",
        "description": "The email address of the new user."
      },
      "first_name": {
        "type": "string",
        "description": "The first name of the new user."
      },
      "last_name": {
        "type": "string",
        "description": "The last name of the new user."
      },
      "password": {
        "type": "string",
        "description": "The password for the new user's account."
      },
      "teams": {
        "type": "array",
        "description": "A list of teams the user will belong to. Each team requires a UUID.",
        "minItems": 1,
        "items": {
          "type": "object",
          "properties": {
            "uuid": {
              "type": "string",
              "description": "The UUID of the team the user will belong to."
            },
            "primary": {
              "type": "boolean",
              "description": "Whether this team is the user's primary team."
            }
          },
          "required": [
            "uuid"
          ],
          "additionalProperties": false
        }
      },
      "roleUUID": {
        "type": "string",
        "description": "The UUID of the role assigned to the user."
      },
      "seat_type": {
        "type": "string",
        "description": "The type of seat assigned to the user.",
        "default": "recording",
        "enum": [
          "listener",
          "recording"
        ]
      }
    },
    "required": [
      "email",
      "first_name",
      "last_name",
      "roleUUID",
      "teams"
    ],
    "additionalProperties": false
  }
  ```
</details>

## Output Schema

| Name          | Type     | Required | Default | Description                                    |
| ------------- | -------- | -------- | ------- | ---------------------------------------------- |
| `result.data` | `object` | Yes      |         | Provider response payload.                     |
| `result.meta` | `object` | No       |         | Additional response metadata (status, paging). |

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

  ### Output JSON Schema

  ```json theme={null}
  {
    "type": "object",
    "description": "Standard tool result payload.",
    "properties": {
      "data": {
        "type": "object",
        "description": "Provider response payload.",
        "properties": {
          "data": {
            "type": "object",
            "properties": {
              "uuid": {
                "type": "string",
                "description": "The unique identifier of the user."
              },
              "email": {
                "type": "string",
                "description": "The email address of the user."
              },
              "firstName": {
                "type": "string",
                "description": "The first name of the user."
              },
              "lastName": {
                "type": "string",
                "description": "The last name of the user."
              },
              "createdAt": {
                "type": "string",
                "description": "The date and time the user was created."
              },
              "deletedAt": {
                "type": "string",
                "description": "The date and time the user was deactivated."
              },
              "transcriptLang": {
                "type": "string",
                "description": "The preferred transcript language for the user."
              },
              "joinOutsideHostMeetings": {
                "type": "boolean",
                "description": "Indicates if the user can join meetings outside their host organization."
              },
              "realTimeCapabilities": {
                "type": "boolean",
                "description": "Indicates if the user has real-time transcription capabilities."
              },
              "settings": {
                "type": "object",
                "properties": {
                  "realTimeCapabilitiesOFF": {
                    "type": "boolean"
                  },
                  "autoCalculateCRMFields": {
                    "type": "boolean"
                  },
                  "joinWhenIAmHostAndAlone": {
                    "type": "boolean"
                  },
                  "joinWhenIAmHostWithPeers": {
                    "type": "boolean"
                  },
                  "joinWhenPeerIsHost": {
                    "type": "boolean"
                  },
                  "joinWhenUnlicensedPeerIsHost": {
                    "type": "boolean"
                  },
                  "dealsEnabled": {
                    "type": "boolean"
                  }
                },
                "additionalProperties": false
              },
              "botName": {
                "type": "string",
                "description": "The name of the bot associated with the user."
              },
              "botImageURL": {
                "type": "string",
                "description": "The URL of the bot's profile image."
              },
              "primaryTeamUUID": {
                "type": "string",
                "description": "The UUID of the user's primary team."
              },
              "organizationRoleUUID": {
                "type": "string",
                "description": "The UUID of the user's role in the organization."
              },
              "roles": {
                "type": "array",
                "description": "A list of roles assigned to the user.",
                "items": {
                  "type": "object",
                  "properties": {
                    "uuid": {
                      "type": "string"
                    },
                    "name": {
                      "type": "string"
                    },
                    "type": {
                      "type": "string"
                    }
                  },
                  "additionalProperties": false
                }
              },
              "showReferralScreen": {
                "type": "boolean",
                "description": "Whether the user is shown a referral screen."
              },
              "seatType": {
                "type": "string",
                "description": "The type of seat assigned to the user."
              },
              "teams": {
                "type": "array",
                "description": "A list of teams assigned to the user.",
                "items": {
                  "type": "object",
                  "description": "Represents a team in the system with its properties and hierarchical structure",
                  "properties": {
                    "uuid": {
                      "type": "string",
                      "description": "Unique identifier of the team"
                    },
                    "name": {
                      "type": "string",
                      "description": "Name of the team"
                    },
                    "phrases": {
                      "type": "array",
                      "description": "List of keywords or phrases associated with the team",
                      "items": {
                        "type": "string"
                      }
                    },
                    "slackConnection": {
                      "type": "object",
                      "description": "Represents the Slack integration details for a team",
                      "properties": {
                        "id": {
                          "type": "string",
                          "description": "Slack connection identifier"
                        },
                        "info": {
                          "type": "object",
                          "description": "Information about a connected Slack team",
                          "properties": {
                            "id": {
                              "type": "string",
                              "description": "Slack team identifier"
                            },
                            "name": {
                              "type": "string",
                              "description": "Name of the Slack team"
                            }
                          },
                          "additionalProperties": false
                        }
                      },
                      "additionalProperties": false
                    },
                    "domain": {
                      "type": "string",
                      "description": "Domain associated with the team"
                    },
                    "organizerJoinInternalMeetings": {
                      "type": "boolean",
                      "description": "Whether team organizers can join internal meetings"
                    },
                    "consentEmailEnabled": {
                      "type": "boolean",
                      "description": "Whether email consent is enabled for the team"
                    },
                    "parentTeamUUID": {
                      "type": "string",
                      "description": "UUID of the parent team if this team is part of a hierarchy"
                    },
                    "organizationUUID": {
                      "type": "string",
                      "description": "UUID of the organization this team belongs to"
                    },
                    "children": {
                      "type": "array",
                      "description": "List of child teams if this team has a hierarchical structure",
                      "items": {
                        "type": "object",
                        "description": "Recursive OpenAPI schema reference #/components/schemas/Team.",
                        "additionalProperties": true
                      }
                    }
                  },
                  "additionalProperties": false
                }
              }
            },
            "additionalProperties": false
          }
        },
        "additionalProperties": false
      },
      "meta": {
        "type": "object",
        "description": "Additional response metadata (status, paging).",
        "additionalProperties": true
      }
    },
    "required": [
      "data"
    ],
    "additionalProperties": false
  }
  ```
</details>

## Advanced: Direct CLI

<Info>
  Use direct execution for single payload debugging.
</Info>

```bash theme={null}
deepline tools execute attention_create_user --payload '{
  "email": "string",
  "first_name": "string",
  "last_name": "string",
  "teams": "array",
  "roleUUID": "string"
}' --json
```

### CLI flags

| Flag                        | Description                                         |
| --------------------------- | --------------------------------------------------- |
| `--json`                    | Print machine-readable output.                      |
| `--wait`                    | Wait for terminal provider status when supported.   |
| `--debug`                   | Enable wait mode with additional status/log output. |
| `--wait-timeout SECONDS`    | Max seconds to wait in wait mode.                   |
| `--poll-interval SECONDS`   | Polling interval in seconds during wait mode.       |
| `--timeout SECONDS`         | Request timeout in seconds.                         |
| `--connect-timeout SECONDS` | Connection timeout in seconds.                      |

## Cost

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