GET /account/profile

Requests the authenticated user's account profile.

Note: This call is not rate-limited.

Parameters

auth

(required)

The authentication token received in response to the call to POST authentication_credentials or GET authentication_token. Applications should pass the authentication token in the custom "X-auth" HTTP header to avoid passing it in in the query string.

callback

(optional)

Only available for JSON format. If supplied, the response will use JSONP format with a callback of the given name.

Request Content Type

N/A

Response

Returns the AccountProfile resource in the requested format.

Response Content Type

application/json, application/javascript (JSONP), application/xml or text/csv as requested

Give It A Try...

Enter appropriate parameter values then click on the link which appears to try the API call...

Note: You must have JavaScript support enabled in your browser to use this feature.

auth

(required)

callback

(optional)

Response format

 

Request Examples

GET /account/profile?auth=e722fa0c702f42b68e2fdb771a80caed
GET /account/profile.json?auth=e722fa0c702f42b68e2fdb771a80caed
GET /account/profile.xml?auth=e722fa0c702f42b68e2fdb771a80caed
GET /account/profile.csv?auth=e722fa0c702f42b68e2fdb771a80caed

Response Examples

JSON body:

{
  "Username": "fredn",
  "Name": "Fred Nurc",
  "EMailAddress": "fred@xyz.com",
  "GlobalisationPreferences": "en-ZA,CE31CEF8,0,0"
}

XML body:

<?xml version="1.0"?>
<AccountProfile xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" Username="fredn">
  <Name>Fred Nurc</Name>
  <EMailAddress>fred@xyz.com</EMailAddress>
  <GlobalisationPreferences>en-ZA,CE31CEF8,0,0</GlobalisationPreferences>
</AccountProfile>

CSV body:

Username,Name,EMailAddress,GlobalisationPreferences
fredn,Fred Nurc,fred@xyz.com,"en-ZA,CE31CEF8,0,0"