We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Retrieve an user.
GET https://your-host/your-mt-api.cgi/v1/users/:user_id Detail
XMLHttpRequest: A XMLHttpRequest object
api.getUser(userId, function(response) { if (response.error) { // Handle error return; } // Do stuff });
Or
api.getUser(userId, {fields: "displayName,email,url,userpicUrl"}, function(response) { if (response.error) { // Handle error return; } // Do stuff });