API quickstart

Prepare a credential and make your first request to the FortyOne API.

Before you begin

You need a FortyOne account, access to the target workspace, and a personal access token with only the scopes required by your integration. FortyOne shows the token once, so copy it directly into a secret manager.

Create a token. Open Settings → API → Access tokens, choose an expiry, and select the smallest useful set of scopes.

Choose an operation. Open the API reference and select the resource you want to read or change.

Authorize the request. Send one Authorization: Bearer <token> header. Keep the token out of URLs, browser storage, source code, and logs.

Handle the response. Read the typed data object on success. On failure, branch on error.code and retain X-Request-ID for troubleshooting.

Request checklist

ConcernWhat to do
Base URLUse https://api.fortyone.app/api/v1.
AuthenticationSend one bearer header over HTTPS.
WritesSupply Content-Type: application/json and an Idempotency-Key when the operation requires it.
PaginationTreat cursors as opaque and follow meta.nextCursor.
Rate limitsRespect RateLimit, RateLimit-Policy, and Retry-After.
TroubleshootingRecord X-Request-ID, not the bearer token or sensitive body fields.

On this page