> ## Documentation Index
> Fetch the complete documentation index at: https://domoinc-openapi-sync-dataflows.mintlify.site/llms.txt
> Use this file to discover all available pages before exploring further.

# Account API

```text API Base URL theme={"dark"}
Domo API Server: https://api.domo.com
```

<Info>
  **Security**: Bearer Auth

  Provide your bearer token in the Authorization header when making requests to protected resources.

  Example: `Authorization: Bearer 123`
</Info>

## The Account Object

The Account API allows you to create, update, validate and share accounts in Domo. If you would like to manage a large number of accounts at scale from agencies or other 3rd party vendors that you currently manage individually through the Data Center in Domo, the Accounts API makes that possible.

<Note>
  **Note**

  The Accounts API will only return information for accounts you own or for accounts that have been shared with you in Domo.
</Note>

## Account Attributes

| Property Name | Type    | Description                                               |
| ------------- | ------- | --------------------------------------------------------- |
| id            | String  | The ID of the Account                                     |
| name          | String  | The name of the Account                                   |
| type          | Object  | The type of the Account                                   |
| valid         | Boolean | Indicates if the Account needs to be re-authorized or not |

## Account's Type Attributes

| Property Name | Type   | Description                                                                         |
| ------------- | ------ | ----------------------------------------------------------------------------------- |
| id            | String | The ID of the Account Type                                                          |
| name          | String | The name of the Account Type                                                        |
| templates     | Object | The Template that defines the properties required to create an Account of this type |

## Account Type's Template Attributes

| Property Name | Type   | Description                                                                         |
| ------------- | ------ | ----------------------------------------------------------------------------------- |
| title         | String | The title of the Template                                                           |
| contentType   | String | The content-type header when sending the request to create an Account               |
| method        | String | The HTTP method used when creating the Account                                      |
| properties    | Array  | The properties available to be sent when creating an Account                        |
| name          | String | The name of the Account Type                                                        |
| templates     | Object | The Template that defines the properties required to create an Account of this type |

## Account Share Attributes

| Property Name | Type   | Description                                                                                                          |
| ------------- | ------ | -------------------------------------------------------------------------------------------------------------------- |
| user          | Object | The User to share the Account with. Only the User's id attribute is required. See the Users API for more information |
