Upload a submission document
Uploads JPEG, PNG, or PDF evidence, up to 10,000,000 bytes, to an outstanding document slot. Uses the secret path token. Completed sessions cannot accept uploads.
widgetToken*stringSecret, expiring submission capability from widget_path. Do not log or share it.
^[a-f0-9]{64}$multipart/form-data- body
file_upload*unknownJPEG, PNG, or PDF file; maximum 10,000,000 bytes.
document_name*stringRequirement name from uploadable_documents.
document_context?stringContext supplied by the selected document requirement, if present.
Successful response.
application/json- response
data*curl -X POST 'https://example.com/api/v1/data-submissions/string/documents' \ -F 'document_name=business_registration'{ "data": { "workflow_type": "business_data_collection", "can_read": true, "can_write": true, "can_submit": true, "business_name": "string", "expires_at": "2019-08-24T14:15:22Z", "kyc_status": "not_configured", "outstanding_documents": [ "string" ], "uploadable_documents": [ { "name": "string", "title": "string", "context": "string" } ], "is_submitted": true, "completed_at": {}, "return_url": {} }}Read a hosted submission GET
Reads the checklist using the secret token in the path; no API key is required. Invalid or expired links return 404.
Create a business POST
Creates a business for the selected application. Requires business:write. Repeat the same external_reference and matching name, type, and application to retrieve the existing business; conflicting reuse returns 409.