CredflareDevelopersOpen dashboard

API reference

Base URL: https://api.credflare.net/api/v1

Client credentials

The following server-to-server routes use X-Client-ID and X-Client-Secret.

Method and pathPurpose
POST /client/verificationsCreate a hosted verification request.
GET /client/verifications/{id}Retrieve a verification owned by the client.
DELETE /client/verifications/{id}Delete a verification request.
POST /client/face-matchesCompare the faces in two photos. See Face match API.
GET /client/face-matches/{id}Read a face match result.
POST /client/applicationsStart or resume a payment application by reference.
GET /client/applications/{reference}Retrieve the current application decision and requirements.
POST /client/application-evidenceStage application evidence for a later intake request.
POST /client/verifications/{id}/sessionsCreate a short-lived applicant session for the SDKs. Preview.
DELETE /client/verification-sessions/{session}Revoke an applicant session. The case stays open.
GET /client/workflow-cases/{id}/timelineWorkflow events and node runs of a case. See the case timeline. Not yet on production.

Create a verification

FieldValue
targetRequired object. type is email or user; value is the email or an existing user ID.
profile_idNumeric ID of a profile in the same workspace and environment as your client credentials.
request_typesubmission, verification, or both. Defaults to both.
expires_atOptional UTC date in YYYY-MM-DDTHH:mm:ssZ format.
location_placesOptional reference places for this case only, each with id, label, latitude, longitude and radius_m. They replace the profile's places and need a profile with a location requirement.

Creation returns HTTP 201 with data.id, data.status, and data.verification_url.

Profile management

With authenticated user access, GET /compliance-profile-templates returns editable starting points. Send an available template definition to POST /compliance-profiles to create an independent copy. GET /compliance-profiles, GET /compliance-profiles/{id}, and PUT /compliance-profiles/{id} manage your workspace profiles. Select the workspace and environment in the dashboard or with their request headers.

A profile's verification_requirements takes facial_verification and location_verification, each as a name or as an object with verification_type and settings. See the settings and their defaults. Not yet on production, it also takes email_verification and phone_verification; see email and phone codes.

Use templates to get started and document capture choices to configure how evidence is provided.

Workflow routes

Not yet on production. These use authenticated user access in the selected workspace and environment.

Method and pathPurpose
GET /workflow-node-typesNode types and check capabilities with their outputs, prices and availability. See node types.
GET /compliance-profiles/{id}/workflow, PUT .../workflow/draft, POST .../workflow/publishRead, save and publish a profile's workflow.
POST /compliance-profiles/{id}/workflow/dry-runRun a draft without side effects. See dry run.
GET /workflow-cases/{id}/timelineWorkflow events and node runs of a case.
/workflow-connectionsEndpoints that api nodes call. See Call your API.
/webhooks, POST /webhook-deliveries/{id}/redeliverSigned case results. See Result webhooks.

Applicant session routes

Session routes under /sdk/sessions/{session} use the session token instead of client credentials. They cover documents, liveness challenges, biometric uploads and submissions, and, not yet on production, email and phone codes and phone handoff. See session endpoints.

Dashboard and applicant routes

Dashboard management routes use authenticated user access and workspace authorization. They do not accept client credentials as a substitute. Applicant collection uses the private verification link; the hosted page handles uploads, liveness challenges and submissions.

Errors

Check the HTTP status before consuming a response. Handle authentication failures, missing records, and validation errors. Error bodies have success, message and errors. A 422 from a capture rule also has a stable code; see the rejection codes and the code rejections. Application intake can return HTTP 409 when prior application references conflict, and applicant uploads and submissions return 409 when a request key is reused with different data. Do not retry validation failures unchanged.