Skip to main content
POST
/
api
/
customer
/
{customerId}
/
document
curl -X POST "{{backend_url}}/api/customer/{customerId}/document" \
  -H "Authorization: Bearer <token>" \
  -H "X-Domain-ID: 6603" \
  -F "front=@front.png;type=image/png" \
  -F 'document={"type":"NATIONAL_ID","number":"S1234567A"};type=application/json'

Documentation Index

Fetch the complete documentation index at: https://docs.cynopsis.co/llms.txt

Use this file to discover all available pages before exploring further.

Authorizations

Authorization
string
header
required

The access token received from the authorization server in the OAuth 2.0 flow.

Headers

X-Domain-ID
integer<int64>
required

X-Domain-ID

Path Parameters

customerId
integer<int64>
required

customerId

Body

multipart/form-data
front
file
required

Front image file (required)

document
object
required

JSON metadata for the document

back
file

Back image file (optional)

Response

Document uploaded successfully