> For the complete documentation index, see [llms.txt](https://docs.octoxlabs.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.octoxlabs.com/adapters/d/dropbox.md).

# Dropbox

Dropbox is a file hosting service. OctoXLabs uses the Dropbox team API to add the team members and the desktop and mobile clients linked to them to the inventory.

## Use cases

* List devices linked to Dropbox team accounts.

```
Adapters = dropbox
```

* Find Dropbox devices that your MDM or EDR does not manage.

```
Adapters = dropbox AND NOT Adapters = falcon-crowdstrike
```

## Before you begin

### Network

| Source              | Destination                         | Port | Protocol |
| ------------------- | ----------------------------------- | ---- | -------- |
| OctoXLabs connector | `api.dropboxapi.com` (configurable) | 443  | HTTPS    |

### Required permissions

| Scope or role                                        | Permission | Needed for                                                           |
| ---------------------------------------------------- | ---------- | -------------------------------------------------------------------- |
| Dropbox team app permissions for members and devices | Read       | `/2/team/members/list_v2` and `/2/team/devices/list_members_devices` |

Not verified: the scopes to grant in the Dropbox App Console. The calls need team member and team device read access.

## Create credentials in Dropbox

{% stepper %}
{% step %}

### Open the App Console

Go to the [Dropbox App Console](https://www.dropbox.com/developers/apps) and create a new app.
{% endstep %}

{% step %}

### Copy the client id

Copy the generated Client ID.
{% endstep %}

{% step %}

### Copy the client secret

In the same console, copy the Client Secret shown in the app settings.
{% endstep %}
{% endstepper %}

## Connection parameters

| Parameter     | Required | Type   | Default              | Description                                       |
| ------------- | -------- | ------ | -------------------- | ------------------------------------------------- |
| Domain        | Yes      | String | `api.dropboxapi.com` | API domain. Change it only for a custom endpoint. |
| Client ID     | Yes      | String | None                 | App key of the Dropbox app.                       |
| Client Secret | Yes      | String | None                 | App secret of the Dropbox app.                    |

## Troubleshooting

| Error message | Cause                                                             | Fix                                                   |
| ------------- | ----------------------------------------------------------------- | ----------------------------------------------------- |
| Not verified  | The connector code defines no custom error text for this adapter. | Check the credentials and network access to the host. |

## Change history

{% hint style="info" %}
Available starting from version 6.0.0.
{% endhint %}
