cURL
Upload (front + document)
curl -X POST "{{backend_url}}/api/customer/{customerId}/document" \ -H "Authorization: Bearer <token>" \ -H "X-Domain-ID: 6603" \ -F "[email protected];type=image/png" \ -F 'document={"type":"NATIONAL_ID","number":"S1234567A"};type=application/json'
The access token received from the authorization server in the OAuth 2.0 flow.
X-Domain-ID
customerId
Front image file (required)
JSON metadata for the document
Show child attributes
Back image file (optional)
Document uploaded successfully