Fourthline Authentication API
OAuth2 access tokens for the Identity Verification API v2, the AML API, and the QES API.
OAuth2 access tokens for the Identity Verification API v2, the AML API, and the QES API.
Every API here is available over the APIs.io API and to AI agents over MCP.
One button, every client — Claude, Cursor, VS Code and the rest.
https://apis.io/mcp
find_apisBrowse and filter every API in the catalog.get_api_artifactsOne API's artifacts, grouped by type.get_openapiThe primary OpenAPI for this API.find_similar_apisAPIs that look like this one.apis_io_searchSTART HERE — APIs, providers and tags for one query, each with its total.resolveTurn a domain, URL or GitHub org into the provider it belongs to.find_cohortsEvery scored population of providers in the catalog.curl "https://apis.io/api/v1/apis/fourthline:fourthline-authentication-api"
curl "https://apis.io/api/v1/apis?limit=25"
Calls without X-API-Key need no key. Calls with it need a paid plan — get a key.
Free tier, no form to fill in. Signing in shares your email address with us — we store it to create your key and to recognise you if you sign in with another provider. By signing up you are subscribing to the APIs.io and API Evangelist newsletters — you can unsubscribe from any issue. See our Privacy Policy and Terms.
A second provider on the same verified email joins the account you already have.
openapi: 3.2.0
info:
title: Fourthline Authentication API
version: '2'
description: 'About the API. Using API v2? Go to the API v2 documentation instead. Welcome to Fourthline''s API documentation. Our APIs are organized around REST. They have resource-oriented URLs and accept and return JSON-encoded responses. They use:
* Standard HTTP methods, for example **GET**, **PATCH**, **POST**, and **PUT**
* HTTP response codes
* Access token authentication
All API requests must be made over **HTTPS**. Requests made over plain HTTP will fail. All requests return an immediate response while processing continues asynchronously in our system. ### Authentication
Fourthline API uses bearer token authentication. Every request must include an access token in the `Authorization` header. No changes are required for authentication when migrating to API v2. To obtain an access token, use your Fourthline API key to call Create access token (`POST /v1/oauth2/token`). API v1 and API v2 use this path. The token is valid for **1 hour**. Send it as `Authorization: Bearer `. ### Environments
#### Sandbox
You can use the Sandbox environment for integration and manual testing. The Sandbox environment closely mirrors Production, but it is not intended for performance or automated load testing. ```text Sandbox URL
https://api.ext-sandbox.fourthline.com
```
#### Production
When you go live with your integration, address the Production environment. ```text Production URL
https://api.fourthline.com
```
Caution
You cannot test in the Production environment. ### Response codes
The API uses standard HTTP response codes to indicate request success or failure. In general, codes in the:
* **2XX** codes indicate success
* **4XX** codes indicate an error for the reason provided, for example a required parameter was omitted
* **5XX** codes indicate a rare Fourthline server error
Not all errors map cleanly onto HTTP response codes. If a valid request fails, for example because the country code is not supported, we return a 422 error. | Response code | Description |
| :----------------------- | :------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ |
| 200 OK | The request was successful. |
| 201 Created | The request was successful. |
| 202 Accepted | The request was accepted for processing, but processing has not completed yet. |
| 204 No content | The request was successful, but the response returns no body. |
| 400 Bad request | The request was invalid, usually because a required parameter wasn''t set. |
| 401 Unauthorized | Your access token is invalid. |
| 403 Forbidden | The request is valid, but our server refuses to respond to it. Unlike a 401 unauthorized response, re-authenticating will not resolve this error. |
| 404 Not found | The resource you requested does not exist. Troubleshooting:
• Check your credentials and contact your Fourthline delivery manager. • Check your request headers. |
| 405 Method not allowed | The HTTP method you used is not allowed for the resource, for example a `POST` request to a read-only resource. |
| 409 Conflict | We couldn''t process the request because there''s a conflict in the current state of the resource, for example an editing conflict between multiple, simultaneous updates. |
| 422 Unprocessable entity | One or more parameters are syntactically valid but contain invalid values. Troubleshooting: Check your `providerProcessId`. |
| 429 Too many requests | You have sent too many requests in too short a space of time. |
| 5XX Server error | Something went wrong on our side. |
### Testing
We provide a cURL example for each request. You can set the required and optional parameters as relevant, and then test the request from the command line. ### OpenAPI specification
To view the API v1 specifications:
1. Go to OpenAPI. 2. Click **fourthline-api-v1.yaml** or **fourthline-webhooks-v1.yaml**.'
servers:
- url: https://api.ext-sandbox.fourthline.com
description: 'Main API host. The JSON workflow report is served at **`/v2/workflows/{workflowId}/report/json`** on this host.
'
tags:
- name: Authentication
description: OAuth2 access tokens for the Identity Verification API v2, the AML API, and the QES API.
paths:
/v1/oauth2/token:
post:
summary: Create access token
description: 'No changes are required for authentication when migrating to API v2. Use `POST /v1/oauth2/token` to create an access token valid for **1 hour**. API v1 and API v2 use this path. Send the token as `Authorization: Bearer `.'
operationId: create-access-token
tags:
- Authentication
parameters:
- $ref: '#/components/parameters/cacheControl'
- name: Content-Type
in: header
required: true
description: 'Set to either: <br />
• `application/x-www-form-urlencoded` **or** <br />
• `application/json`
'
schema:
type: string
enum:
- application/x-www-form-urlencoded
- application/json
example: application/json
requestBody:
required: true
content:
application/json:
schema:
type: object
required:
- grant_type
- client_id
- client_secret
properties:
grant_type:
type: string
description: Set to `client_credentials`.
default: client_credentials
client_id:
type: string
description: Your unique identifier from your Fourthline [API credentials](https://docs.fourthline.com/docs/api-credentials).
client_secret:
type: string
description: Your unique password from your Fourthline API credentials.
application/x-www-form-urlencoded:
schema:
type: object
required:
- grant_type
- client_id
- client_secret
properties:
grant_type:
type: string
description: Set to `client_credentials`.
default: client_credentials
client_id:
type: string
description: Your unique identifier from your Fourthline [API credentials](https://docs.fourthline.com/docs/api-credentials).
client_secret:
type: string
description: Your unique password from your Fourthline API credentials.
responses:
'200':
description: OK
content:
application/json:
examples:
ok:
summary: OK
value:
token_type: bearer
access_token: 790f325a-48c9-4b82-bb53-c0ea128236f0
expires_in: 3600
schema:
type: object
properties:
token_type:
type: string
description: Token type (`bearer`).
access_token:
type: string
description: Access token for API authentication.
expires_in:
type: integer
description: Expiration time in seconds.
'400':
description: Bad Request
content:
application/json:
examples:
bad_request:
summary: Bad Request
value:
error: invalid_client
error_description: Invalid client authentication.
schema:
type: object
properties:
error:
type: string
description: 'A machine-readable code that identifies the type of error. <br /><br />Example: `invalid_token`'
error_description:
type: string
description: 'A human-readable message that explains the error in more detail. <br /><br />Example: `The access token is invalid or has expired`'
components:
parameters:
cacheControl:
name: Cache-Control
in: header
required: false
description: To have the response validated by the origin server instead of reusing stored content, we strongly recommend including this parameter and setting it to `no-cache`.
schema:
type: string
default: no-cache
x-readme-fauxas: true
x-provenance:
method: searched
source: https://docs.fourthline.com/reference
harvested: '2026-12-02'
tool: harvest-readme-openapi.py
note: Assembled verbatim from the OpenAPI definition ReadMe embeds in each operation page of the provider's developer portal; paths and components merged by API title, nothing authored.
assembled_from:
- https://docs.fourthline.com/reference/create-access-token.md
merge:
pages: 1
deduped: 0
conflicts_kept_first: 0