Skip to main content
The End User Onboarding API base URL is https://api-sandbox.circle.com for sandbox and https://api.circle.com for production. All requests require a Bearer token obtained via Circle key exchange in the Authorization header. All POST requests require an X-Idempotency-Key header with a client-generated UUID v4.
Attach supporting files to an onboarding application (such as identity documents, certificates, or proof of address), then list, download, or delete them while the application is still in a mutable state.

Prerequisites

Before you begin, ensure that you’ve:
  • Obtained an API key for the End User Onboarding API from the Circle Mint Console.
  • Confirmed your application is in DRAFT or PENDING_CUSTOMER_INFORMATION status.
  • Identified which datumName fields need files (from the schema).

Steps

Step 1. Upload a document

Upload a file and link it to a field in the application:

Required fields

Conditionally required fields

To find which documentType values are accepted for a given field, retrieve the application schema (GET /v1/onboarding/partner/applications/{applicationId}/schema) and inspect the x-documentTypes array on the target field. Fields without x-documentTypes do not require this parameter.
Example response:
Uploading to a submitted application returns a 409 error. The application must be in DRAFT or PENDING_CUSTOMER_INFORMATION.

Step 2. List all documents

List all files for an application:
Example response:

Step 3. Download a document

Download a file you uploaded:
The response body is binary data with a Content-Type: application/octet-stream header.

Step 4. Delete a document

Delete a document that is no longer needed:
A successful deletion returns 204 No Content.
You can only delete documents while the application is in DRAFT or PENDING_CUSTOMER_INFORMATION status. Deleting a document from a submitted application returns a 409 error.

See also