Each ReST request against the Cloud Servers system requires the inclusion of a specific authorization token HTTP x-header, defined as X-Auth-Token. Clients obtain this token, along with the Cloud Servers API URL, by first using the Rackspace Cloud Authentication Service and supplying a valid username and API access key.

The Rackspace Cloud Authentication Service is a ReSTful web service. It is the entry point to all Rackspace Cloud APIs.

To access the Authentication Service, you must know whether your account is US-based or UK-based:

Your account may be based in either the US or the UK; this is not determined by your physical location but by the location of the Rackspace retail site which was used to create your account:

If you are unsure how your account was created, use the Rackspace contact information at either site to ask for help.

The Cloud Servers API may return any of the HTTP/1.1 response codes defined by RFC-2616 Section 10. If authentication is successful, an HTTP status 204 (No Content) is returned with three cloud service headers, X-Server-Management-Url, X-Storage-Url, X-CDN-Management-Url, as well as X-Auth-Token. An HTTP status of 401 (Unauthorized) is returned if authentication fails. All operations against Cloud Servers should be performed against the URL specified in X-Server-Management-Url (which is dynamic and subject to change) and must include the X-Auth-Token header as noted above. The URLs specified in X-Storage-Url and X-CDN-Management-Url are specific to the Cloud Files product and may be ignored for purposes of interacting with Cloud Servers.


Authentication tokens are typically valid for 24 hours. Applications should be designed to re-authenticate after receiving a 401 (Unauthorized) response.

Note that API operation URIs specified throughout this document are relative, this is, they should be appended to the end of the X-Server-Management-Url that is returned from the authentication system. For example, in the sample response above, you would list servers by performing a GET against https://servers.api.rackspacecloud.com/v1.0/35428/servers.