> ## Documentation Index
> Fetch the complete documentation index at: https://docs.stackone.com/llms.txt
> Use this file to discover all available pages before exploring further.

# Connect REDCap with API Token (Multiple Companies) – StackOne Hub

> Link a REDCap account in the StackOne Hub using API Token (Multiple Companies). End-user guide to authorize the integration and start using REDCap actions.

> [!WARNING]
>
> A REDCap token belongs to one person in one project, so each connected account covers a single REDCap project. On installations where administrators approve token requests, the token appears only once the request is approved.

## Find your REDCap API URL

REDCap is self-hosted, so the API address is your own installation's web address with `/api/` on the end.

**1. Copy the API URL**

Copy the **REDCap API URL** across.

<ul>
  <li>Format: `https://{your-redcap-address}/api/`</li>
  <li>Example: if you open REDCap at `https://redcap.example.edu/`, your API URL is `https://redcap.example.edu/api/`</li>
  <li>Some installations serve REDCap from a sub-path, which makes the API URL `https://redcap.example.edu/redcap/api/`.</li>
  <li>Use the plain address. An address containing a version folder, such as `/redcap_v15.0.12/API/`, is rejected from REDCap 16.1.5 onward and changes with every upgrade.</li>
</ul>

## Generate your API token

REDCap issues a separate API token for every project, and it carries your own REDCap rights. Generate it from inside the project you are connecting.

**1. Request the API token**

Open the project in REDCap, then select **API** under **Applications** in the left-hand menu.

<ul>
  <li>Click **Create API token now**.</li>
  <li>REDCap emails your REDCap administrator every time a token is requested.</li>
</ul>

![A REDCap project's API page with the API menu item and the Create API token now button highlighted](https://mintcdn.com/stackone-60/c60-FE52TD1y0U_L/connectors/redcap/images/custom-config-create-api-token.png?fit=max\&auto=format\&n=c60-FE52TD1y0U_L\&q=85\&s=d5d8b56ab7c449a8d0d479779ea71f6e)

**2. Copy the API token**

The project's API page now shows **API Token:** with your 32-character token beside it. Copy the **API Token** across.

<ul>
  <li>Use the copy button beside the token rather than selecting the characters by hand.</li>
  <li>The token works only with this project, so connect one account per REDCap project.</li>
  <li>REDCap keeps the token on this page, so you can return and copy it again. Use **Regenerate token** if it is ever exposed, which immediately stops the old one working.</li>
</ul>

![The API page showing the API Token field with its value redacted and the copy button highlighted](https://mintcdn.com/stackone-60/c60-FE52TD1y0U_L/connectors/redcap/images/custom-config-copy-api-token.png?fit=max\&auto=format\&n=c60-FE52TD1y0U_L\&q=85\&s=2a7dec31cfe8690eca486ccb012f576e)

## Add a Super API Token

A **Super API Token** is needed only by the Create Project action, which makes new REDCap projects. Leave it empty for every other use.

**1. Request a Super API Token**

Only a REDCap administrator can grant one. In REDCap, open **Control Center**, then select **API Tokens** under **Users** in the left-hand menu.

<ul>
  <li>Scroll to **Super API Tokens**.</li>
  <li>Choose the REDCap user under **Manage Super API Tokens by User:**.</li>
  <li>Grant that user a Super API Token.</li>
  <li>Copy the **Super API Token** across.</li>
  <li>Super API Tokens are 64 characters long, which is what distinguishes them from the 32-character project token.</li>
  <li>A person can hold only one Super API Token across the whole installation.</li>
</ul>

## Link the Account

**1. Connect**

<ul>
  <li>Click **Connect**.</li>
  <li>If applicable, the provider will redirect you to a sign-in or authorization page. Complete the provider's authorization flow.</li>
  <li>Once authorization is successful, you will see a confirmation popup.</li>
</ul>

**2. Use Actions**

Connect an AI platform to the linked account's actions. See [AI Platforms](https://docs.stackone.com/ai-platforms/overview.md).

Other ways to call actions are listed in [Protocols & SDKs](https://docs.stackone.com/connect/protocols-and-sdks.md).


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.