Plex API : Search server when not owner

I’ve been developing an iOS app for the last few days.
The user path is simple : first, the user logs in with his Plex credentials or pins. This gives me a Plex token for the user. Then I want to use this token to search for movies in the server they’re already part of.

I’ve been using the /search endpoint found here :
https://github.com/Arcanemagus/plex-api/wiki/Plex-Web-API-Overview
http://myServerIP:32400/search?query=Joker&X-Plex-Token=userPlexToken

Everything was working smoothly with my account. But today I’ve discovered that this endpoint only allows owner/admin to query the server. I’ve tried with a friend’s Plex token who is already added in my server but the response is Unauthorized.

Do you have the same behaviour on your side ? I find it weird that user, already part of a server, can’t search for movies through the API, as they are able to do it with the plex interface.

Here was the issue :
https://www.reddit.com/r/PleX/comments/g3qmsb/plex_api_search_server_when_not_owner/

This topic was automatically closed 90 days after the last reply. New replies are no longer allowed.