Prerequisites
- API Key created in StackOne Dashboard and copied to a secure location
- Basic Authentication Setup - Learn how to properly authenticate with StackOne API using your API key
- Required provider integration enabled
- Account linked successfully
- (Optional) Use an SDK or Postman
Getting Account ID
Authentication: When using
curl -u "$API_KEY:", encoding is handled automatically. When setting the Authorization header manually, you must base64 encode your API key first. See the Basic Authentication Guide for details.- List your linked accounts to find the account ID:
- From the response, copy the
idvalue for your desired provider account.
Making Your First Request
Now you’re ready to make your first Documents API call. Let’s list the drives available in the connected storage provider:- cURL
- TypeScript
- Python
Example Response
Next Steps
List Files
Retrieve files from a specific folder or drive
File Picker
Let users select files with the embedded picker
Pagination
Handle large result sets efficiently
Webhooks
Get notified when files change