We’re Still Here to Help (Even Over the Holidays!) - find out more here.
Forum Discussion
dmytromaliuta
5 years agoExplorer | Level 3
Dropbox Paper API
Hello, I worked with your Dropbox Paper API and I have one question. Where I can get "doc_id" in endpoint "/docs/get_metadata"? I tried to find it and call the API method but in all cases, I get an e...
Greg-DB
Dropbox Community Moderator
5 years agoExactly how you interact with Paper docs via the API for any particular account will depend on what version of Paper that account is configured to use. Please refer to the Paper Migration Guide for information on the two versions and what endpoints you should use for each.
Once you've done so, if you're still having any trouble with the API, please let me know what version your account is using, and share the API request and response for the error you're getting so I can tell a look and help. Please be sure to redact your access token though.
- dmytromaliuta5 years agoExplorer | Level 3
My request looks like:
--header 'Authorization: Bearer ***' \--header 'Content-Type: application/json' \--data-raw '{"doc_id": "uaSvRuxvnkFa12PTkBv5q"}'I checked your Paper Migration Guide but in this article no information about the endpoint that I use. I use this doc: https://www.dropbox.com/developers/paper-api-alphaCan you check it and tell me where I can find doc_id for this endpoint?- Greg-DB5 years ago
Dropbox Community Moderator
That endpoint is meant for use with legacy Paper docs (i.e., the old version, where Paper docs are not part of the Dropbox filesystem). If you are using legacy Paper docs, you can get the list of Paper doc IDs from /2/paper/docs/list and /2/paper/docs/list/continue.
(By the way, note that the alpha endpoint you linked to may change or disappear without notice, and will be retired with the rest of the legacy Paper API as well.)
- dmytromaliuta5 years agoExplorer | Level 3
Thanks a lot! Now it works. But I have one more question. Do you have an endpoint that not legacy which retrieves metadata of paper doc? Can you share the link?
About Discuss Dropbox Developer & API
Make connections with other developers
The Dropbox Community team is active from Monday to Friday. We try to respond to you as soon as we can, usually within 2 hours.
If you need more help you can view your support options (expected response time for an email or ticket is 24 hours), or contact us on X, Facebook or Instagram.
For more info on available support options for your Dropbox plan, see this article.
If you found the answer to your question in this Community thread, please 'like' the post to say thanks and to let us know it was useful!