Skip to main content

RedTeam Flex - Public API: API Keys, Permissions and Documentation

Create and manage API keys so your company's own systems can read its RedTeam Flex data.

The RedTeam Flex Public API lets your company's own systems, such as a reporting, accounting or BI tool, read your Flex data. It's read-only, so nothing in Flex can be created or changed through it. This first version (v0.1) is an early access. Each program connects with an API key that an admin creates in Flex.

Who can manage API keys

  • Every RedTeam Flex company can create API keys.

  • To create, view and revoke keys, a user needs the ManageApiKeys permission. Service Provider Administrators have it by default.

  • To give it to another role, a user who can edit Roles & Permissions turns on ManageApiKeys for that role, under Configuration > Config for Controls.

Create an API key

Step 1: Click Configuration, then under Controls click Manage API Keys.

Step 2: Click Create key.

Step 3: Enter a Name, choose the Expires on date (up to 365 days) and select the Scopes: the kinds of data the key may read. Click Create key.

Step 4: Copy the key. It's shown only this once, so store it somewhere safe. Check I have stored this key securely and click Done.

Note: Treat an API key like a password: keep it out of emails, support tickets and screenshots. If a key is lost, revoke it and create a new one.

A company can have 2 keys that are active or suspended at a time. Once you have 2, Create key becomes available again after you revoke one.

Check a key's usage

Click a key's name to open its details: its status, dates and scopes, a usage chart for the last 30 days and the requests made with it in the last 90 days. You can filter the requests by status, route and date and time.

Key owners get an email and an in-app reminder 30, 7 and 1 days before a key expires. A key's expiry date can't be changed, so create its replacement before it expires.

Revoke a key

Step 1: On the API Keys page, click Revoke next to the key.

Step 2: Click Revoke to confirm.

The key stops working right away. Revoking can't be undone: the key stays listed as Revoked and its name can't be used again. To replace a key without interruption, create the new key, switch your system over to it, then revoke the old one.

API documentation

The API can read projects, RFIs, submittals, plans, specifications, daily reports, punch list items, addenda, action items, checklists, schedules, project team, contacts and timesheets. Each key can make up to 120 requests per minute.

If a key shows Suspended, or a request is refused and you need help, contact support and include the requestId from the response. Please don't include the key itself.

Did this answer your question?