Docs for /file/list incorrect

The docs for /file/list say to pass the token as a query parameter:
https://apidocs.dynalist.io/#get-all-documents-and-folders

However, when I pass the token as a query param, it returns a server error:

POST https://dynalist.io/api/v1/file/list?token=<dynalist_token>

The request succeeds if I pass the token in the request body instead.

1 Like

Sorry about the mistake… everything should be request parameters :slight_smile:

Thanks for pointing this out!

Fixed, sorry about that mistake!

1 Like