> 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/o/outreach.md).

# Outreach

Outreach is a sales engagement platform. OctoXLabs reads its users through the Outreach API to add them to the inventory.

## Use cases

* List Outreach users that OctoXLabs has collected.

```
Adapters = outreach
```

## Before you begin

### Network

| Source              | Destination       | Port | Protocol |
| ------------------- | ----------------- | ---- | -------- |
| OctoXLabs connector | `api.outreach.io` | 443  | HTTPS    |

### Required permissions

The Outreach app needs at least one scope that allows reading users. The sources do not name the scope. Not verified.

## Create credentials in Outreach

{% stepper %}
{% step %}

### Create an app

Sign in to Outreach with admin or developer access. Go to **Settings > API Access > Create App** and fill in the details.
{% endstep %}

{% step %}

### Add redirect URI and scope

Add at least one `redirect_uri` and select at least one scope.
{% endstep %}

{% step %}

### Copy the credentials

After saving, copy the **Client ID** and **Client Secret**. The secret is shown only once. If you lose it, regenerate it.
{% endstep %}

{% step %}

### Authorize the app

Open the authorization URL built from your `client_id` and `redirect_uri` in a browser, sign in and click **Authorize**.
{% endstep %}

{% step %}

### Copy the code

The browser redirects to your `redirect_uri`. The address bar then shows `?code=<value>`. The value after `code=` is the authorization code.
{% endstep %}
{% endstepper %}

## Connection parameters

| Parameter     | Required | Type    | Default         | Description                                                |
| ------------- | -------- | ------- | --------------- | ---------------------------------------------------------- |
| Domain        | Yes      | String  | api.outreach.io | Base domain of the Outreach API.                           |
| Client ID     | Yes      | String  |                 | Client ID of the Outreach app.                             |
| Client Secret | Yes      | String  |                 | Client secret of the app.                                  |
| Redirect URI  | Yes      | String  |                 | Redirect URI registered in the app. It must match exactly. |
| Code          | Yes      | String  |                 | Authorization code from the redirect.                      |
| HTTPS Proxy   | No       | String  |                 | HTTPS proxy URL.                                           |
| Timeout       | No       | Integer | 30              | Seconds to wait for API responses.                         |

## Troubleshooting

| Error message                        | Cause                              | Fix                                                                 |
| ------------------------------------ | ---------------------------------- | ------------------------------------------------------------------- |
| Failed to fetch users:               | The users call did not return 200. | Check the app scope and run the connection again with a fresh code. |
| Request failed after retries for url | The API kept answering 401 or 429. | Check credentials and wait before retrying.                         |

## Change history

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