get_attributes

This method returns a list of attribute fields associated with a user.

Parameters

string method (required) get_attributes
string api_key (required) API key assigned to your account.
string userid (required) Valid user id returned by register or signin.
POST attr (required) List of attributes requested. This must be expressed as a JSON array - see example below.

Sample JSON

 
{"first_name":"","last_name":"","email":""}
			

Result explanation

array attributes JSON array of requested attributes appended with "-ID"

Errors

Missing method Method is not specified in the request.
Missing API key API key is missing in the request.
Invalid API key API key not accepted.
Missing userid Userid is missing in the request.
Invalid attribute data Missing or invalid attribute data was sent in the POST.
Invalid attribute 'attribute' The attribute 'attribute' is not supported - see list of attributes.