Connect a small integration to the REST API
Create a test credential, read the official endpoint and current API reference, send a harmless request, and handle authentication or quota errors safely.
Last reviewed
Build the first REST API test with a disposable workspace and an environment-held key. Copy endpoint paths and request fields from the current reference rather than guessing them.
Before you start
- Use a disposable workspace and non-confidential test file.
- Choose the smallest permissions and surfaces the task requires.
- Prepare a password manager or secret store; never place a real key in a screenshot, URL or repository.
- Plan to revoke the test key after verification.
Steps: connect a small integration to the rest api
- Open Integrations → REST API and the current API reference.
- Create a narrowly scoped key for the test workspace.
- Store the secret in an environment variable or secret manager.
- Send a documented harmless listing request over HTTPS.
- Check the structured response and request identifier when present.
- Test one known denied operation, then revoke the disposable key.

Expected result
The test key performs its allowed operation, rejects an operation outside its boundary, and can be identified and revoked without changing the account password.
Limits and important details
- Use only endpoints and fields in the current reference.
- Keep secrets out of query strings, source control and logs.
- Handle rate, quota and network errors explicitly; do not retry every response indefinitely.
Troubleshooting
The request returns unauthorized. Check the complete secret, API endpoint and whether the key was revoked.
The request returns forbidden. Compare the operation with the key permission, protocol surface, workspace and folder anchor.
A secret was exposed. Revoke it immediately, create a replacement with least privilege and remove the exposed value from logs and history.
Related guides
Was this helpful?
Loading helpfulness results…
Voting saves a necessary ballot cookie for up to 180 days so you can change your answer.
Questions and replies
Ask about the steps in this guide. Questions are reviewed before publication.
Keep account details, credentials and private files out of public questions. Use private support for those.
Loading questions…
Sign in to your Dosya account to ask a question.