Hi, I'm trying to search a file in a dropbox buisness account. I am able to use the search api for an individual dropbox but i want to be able to acheive the same thing for a buisness account aswell. I can list the folders using the api aswell and create a folder in dropbox buisness account but not search.
I used this to make the api call --> https://api.dropboxapi.com/2/files/search_v2
in the header i passed these four parameters
* Authorization: Bearer sl.........
* Content-Type: application/json
* Dropbox-API-path_Root: {".tag": "root", "root": "name-space-id"}
* Dropbox-API-Select-User: dbmid:.....
In body I'm passing
{
"query": "23-017) 12 Greenwich Road SE7.lnk"
}
Its gives a response of 200 on postman but it should have returned the path and details of that file.
its gives this response
{
"has_more": false,
"matches": []
}
I dont know what I'm doing wrong