FactionDocs
API Reference

API Reference

Endpoint-by-endpoint reference for the Faction AI Workflow Services.

The Faction API exposes four primary endpoints for quote handling, plus auxiliary endpoints for async jobs, feedback, and health.

Servers

EnvironmentBase URL
Production (EU)https://api.eu.faction.ai/v1
Sandbox / staginghttps://api.eu.sandbox.faction.ai/v1

Authentication

All endpoints (except /healthz and /readyz) require a bearer token obtained via OAuth2 client credentials.

POST https://auth.eu.faction.ai/oauth2/token
Content-Type: application/x-www-form-urlencoded

grant_type=client_credentials
&client_id=...
&client_secret=...
&scope=intent.classify+extract.quote+match.customer+match.product

The returned access_token is then sent on each call:

Authorization: Bearer <access_token>

Headers used everywhere

HeaderRequiredNotes
Authorization: Bearer <token>Yes (except health)OAuth2 access token.
X-Correlation-IdYesCaller-supplied. Propagated end-to-end.
Idempotency-KeyOptionalIf reused within 24h with the same payload, the cached response is returned.
Prefer: respond-asyncOptionalReturns 202 with a job ID for long-running calls.
Faction-Callback-UrlOptionalWebhook for async results.

Endpoints

Quote handling

Auxiliary

On this page