Skip to main content
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.

  • Format: https://{your-redcap-address}/api/
  • Example: if you open REDCap at https://redcap.example.edu/, your API URL is https://redcap.example.edu/api/
  • Some installations serve REDCap from a sub-path, which makes the API URL https://redcap.example.edu/redcap/api/.
  • 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.

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.

  • Click Create API token now.
  • REDCap emails your REDCap administrator every time a token is requested.
A REDCap project's API page with the API menu item and the Create API token now button highlighted
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.

  • Use the copy button beside the token rather than selecting the characters by hand.
  • The token works only with this project, so connect one account per REDCap project.
  • 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.
The API page showing the API Token field with its value redacted and the copy button highlighted

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.

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

Connect

  • Click Connect.
  • If applicable, the provider will redirect you to a sign-in or authorization page. Complete the provider’s authorization flow.
  • Once authorization is successful, you will see a confirmation popup.
2

Use Actions

Connect an AI platform to the linked account’s actions. See AI Platforms.Other ways to call actions are listed in Protocols & SDKs.