Server Interface (XML-RPC) Documentation

Overview

The XML-RPC server is running at http://www.myuid.com/api/xmlrpc.php. Your apps will also need to redirect the user to http://www.myuid.com/api/checklogin.php to get their login hash and id.

Files

checklogin.php

checklogin.php accepts a single GET parameter, called return. This should be given the URL of the page on your server that needs the login information, probably the current page. It will send back two GET variables to that URL, in, which will be equal to “false” if the user is not logged in, or else an integer value which is the users id, and code, which is the users login hash, you will need this for future functions.

xmlrpc.php

xmlrpc.php is a standard XML-RPC server. You can learn more about XML-RPC at the XML-RPC Homepage. The functions available on the MyUID server are as follows:

Error codes

Below is a table of all the error codes you may encounter, and their meanings:

Code Meaning
-5 Invalid request
-10 Invalid API Key
-25 Login has expired
-30 Invalid user authorization hash
-40 Invalid user id
-50 Unknown error