Sokin provides separate APIs depending on what type of document you are uploading. Each endpoint requires a specific identifier and returns pre-signed URLs tailored to that entity.
Endpoint POST /corporates/associates/documentsUse this endpoint to request upload URLs for associate identity and address verification documents.Required inputs
associateId The ID returned when the associate was created
Endpoint POST /corporates/parent-entities/documentsUse this endpoint to request upload URLs for Parent Entity (corporate associate) documents.Accepted document types
Certificate of Incorporation
Articles of Association
List of Directors
Structure Chart
Required inputs
corporateAssociateId The ID returned when the Parent Entity was created
corporateExternalReference To ensure correct linkage to the onboarding session
After receiving the pre-signed URLs, you must upload files directly to the storage service using those URLs.For each URL:
Perform a POST request directly to the provided URL
Include all fields and parameters exactly as returned in the response
Attach the file to the file field
Ensure the file meets size and format requirements
Each URL:
Can only be used once
Will overwrite the previous file if reused
Expires after 10 minutes
A 204 No Content response indicates a successful upload. A 400 Bad Request typically indicates the URL has expired.If a URL expires, you must request a new one.