Exist already an API who allows to invite a user through a HTTP POST?

I’m just wondering about that.

Exist already an API who allows to invite a user through a HTTP POST?

Plex’s api allows invites through POST.

URL: https://plex.tv/api/servers/MACHINEID/shared_servers/

snippet of my headers and data sent:

                $headers = array(
					"Accept" => "application/json",
					"Content-Type" => "application/json",
					"X-Plex-Token" => $GLOBALS['plexToken']
				);
				$data = array(
					"server_id" => $GLOBALS['plexID'],
					"shared_server" => array(
						"library_section_ids" => $libraries,
						"invited_email" => $username
					)
				);
1 Like

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