Upload Files via API
Send files to Cloud Sentrics programmatically using the upload API endpoint.
Upload Files via API
Upload documents to your Cloud Sentrics account from external systems using the API.
Steps
- Get your API key and endpoint from the API Integration section.
- Send a
POSTrequest to your endpoint URL. - Include the file in the request body as
multipart/form-data. - Add the API key in the header:
Authorization: Bearer YOUR_API_KEY
Content-Type: multipart/form-data
- On success, the file appears in your Inbound Documents folder.
Example (cURL)
curl -X POST https://your-endpoint-url/upload \
-H "Authorization: Bearer YOUR_API_KEY" \
-F "file=@/path/to/document.pdf"
Tips
- Supported file types depend on your account settings.
- Check the response for confirmation or error details.
- Uploaded files are available immediately in Inbound Documents.