> For the complete documentation index, see [llms.txt](https://docs.onum.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.onum.com/listeners/listener-integrations/pull-data-from-http-endpoints/pull-data-from-the-fortirecon-api/accounts.md).

# Accounts

## Overview

Get a list of active accounts through the FortiRecon API using the **HTTP Pull** Listener.

## HTTP Pull Listener configuration

In Falcon Onum, go to the **Listeners** area and click **New Listener > HTTP Pull**. Give a name to your new Listener and enter the following data:

### Parameters

Add the following parameter:

* **Name** - `organizationId`
* **Value** - Enter your FortiRecon unique organization ID.

### Secrets

You must define these credentials in Onum:

* `fortireconAuth` will reference your FortiRecon token.

To do it, click **Add element** and enter a **Name** for the secret (in this case, `fortireconAuth`). Then, click the **Value** field and select **New secret** to create a new one:

* Give the secret a **Name**.
* Turn off the **Expiration date** option.
* Click **Add new value** and paste the secret corresponding to the value.
* Click **Save**.

You can now select the secret you just created in the **Value** field list.

{% hint style="info" %}
Learn more about secrets in Onum in [this article](/settings/organization-settings/secrets-management.md).
{% endhint %}

### Setup

After entering the required parameters and secrets, you can choose to manually enter the rest of configuration fields, or simply paste the given YAML.

{% hint style="warning" %}
Check the [FortiRecon API docs](https://fndn.fortinet.net/index.php?/login/\&ref=aHR0cHM6Ly9mbmRuLmZvcnRpbmV0Lm5ldC9pbmRleC5waHA/L2ZvcnRpYXBpLzEtZm9ydGlvcy8=) to learn more about how to set up this configuration.
{% endhint %}

When you're done, click **Create labels** to move on to the next step and define the required [Labels](https://docs.onum.com/the-workspace/listeners/labels) if needed.
