Shows the profile of the specified user.


GET http(s)://hostname/api/user/show

Request Parameters

Header field
Type Value
string Required. A valid access token from a registered MT-EQuAl account. The access token must have been issued on behalf of the current user.

Request parameters Type Value
q string Required. Part of the username or email that you want to find.
NOTE: Each registered user can show in his/her own private list of contacts, which includes only the users that invited him/her or were invited by him/her in previous projects.


On success, the HTTP status code in the response header is 200 (OK) and the response is structured in JSON as follow:

  "header": {
    "date": "Date and time of the response generation process",
    "description": "Description of the invoked method or error message",
    "status": "status/error code"
  "result": {
			"id": "The user id",
			"username": "The user name",
        	"firstname": "The user's first name",
            "lastname": "The user's last name",
            "affiliation": "The user's affiliation",
            "email": "The user's first name",
            "roles": [
                "The user's roles"
            "registered": "Date and time of the registration process",
            "logged": "Date and time of the last login"		

On error, the header status and description fields contain the error code and message, respectively.


curl -X GET "https://hostname/api/user/show" -H "X-Api-Key: {user access token}"
	"header": {
		"date": "Wednesday, 2016-06-08 12:00:44 Europe\/Paris",
		"description": "Shows the profile of the specified user.",
		"status": "200"
	"result": {
			"id": 1,
			"username": "tom",
			"firstname": "Tom",
			"lastname": "",
			"affiliation": "Vendor",
			"email": "",
			"roles": [
			"registered": "Thursday, 2015-11-05 14:30:01 Europe\/Paris",
			"logged": "Wednesday, 2015-12-16 15:08:58 Europe\/Paris"