Every credential below is a placeholder. Export real values in your shell or secret manager; never commit them.
1. Confirm your workspace type
The REST API is for company workspaces. If you sign in with an individual EverSpark account, API-key requests return:code.
2. Create an API key
Create the key from the dashboard’s API key area for your company. Key creation is a dashboard action, not a public REST endpoint. When you create the key:- Choose the scopes your integration needs. Start read-only, then add writes.
- Restrict the key to specific buckets if the integration does not need the whole company.
- Set an expiry appropriate to the integration. The dashboard default is 90 days.
- Copy the secret immediately. The secret is not retrievable later.
3. Note your bucket ID
Every file and folder call is scoped to a bucket. You can discover the buckets your key can reach with the API, or copy the identifier from the dashboard:data carries a bucket id, its name, and the opaque datacenterId location binding. A key restricted to specific buckets lists only those buckets.
4. Verify authentication
List the folders in that bucket:401 means the key pair is wrong; a 403 means the key does not cover this bucket or lacks a scope.
5. List files in a bucket
6. Upload a file
Uploads usemultipart/form-data. The file field name is not significant: the API reads every file part in the request.
7. Download the file
X-File-Id, X-File-Name, X-File-Size, X-File-Extension, and X-Encryption: SSE. Range requests are supported.
8. Clean up
Soft-delete the file you uploaded:Troubleshooting the first request
Next steps
- Read API keys before production.
- Read Scopes and permissions to apply least privilege.
- Read Upload files for multipart limits and safe processing.