---
updatedAt: 2026-04-20T20:43:24.000Z
---

# View a user profile

[block:html]
{
  "html": "<div class=\"AkaRecipe-Button\" role=\"button\">    \n    <div class=\"AkaRecipe-Title\">Get a user profile</div>\n  <a class=\"AkaRecipe-Link\" href=\"https://techdocs.akamai.com/identity-cloud-entity/recipes/get-a-user-profile\">Open Recipe<i class=\"icon-chevron-rightward\"></i></a>\n</div>\n"
}
[/block]

[block:html]
{
  "html": "<div class=\"AkaRecipe-Button\" role=\"button\">    \n    <div class=\"AkaRecipe-Title\">Verify a user's password</div>\n  <a class=\"AkaRecipe-Link\" href=\"https://techdocs.akamai.com/identity-cloud-entity/recipes/verify-a-users-password\">Open Recipe<i class=\"icon-chevron-rightward\"></i></a>\n</div>"
}
[/block]

Returns the specified user profile.

Refer to the [Registration error codes](https://techdocs.akamai.com/identity-cloud-entity/reference/registration-error-codes) page for details on error codes.

## API client permissions

The following table indicates the API clients that can and can't be used to call this operation:

[block:parameters]
{
  "data": {
    "h-0": "owner",
    "h-1": "access_issuer",
    "h-2": "direct_access",
    "h-3": "direct_access_read",
    "h-4": "login_client",
    "0-0": "✓",
    "0-2": "✓",
    "0-3": "✓",
    "0-1": "✗",
    "0-4": "✗"
  },
  "cols": 5,
  "rows": 1
}
[/block]

## Authentication

This operation supports both Basic authentication (recommended) and janrain-signed authentication. See [Get started](https://techdocs.akamai.com/identity-cloud-entity/reference/get-started) for more information.

## Base URL

The base URL for this operation is your Identity Cloud Capture domain; for example:

`https://educationcenter.us-dev.janraincapture.com`

Your Capture domain (also known as a Registration domain) can be found in Console on the **Manage Application** page.

## Examples

### Example 1: Retrieve user data with the specified ID

This command returns user profile information for the user with the **id** **999**.

[block:code]
{
  "codes": [
    {
      "code": "curl -X POST -H \"Authorization: Basic c2dueXZ1czZwYzRqbTdraHIybmVxNWdzODlnYnIyZXE6d3Q0YzN1bjl3a2tjZnZ5a25xeDQ0eW5jNDc2YWZzNjg=\" \\\n  --data-urlencode type_name=user \\\n  --data-urlencode id=999 \\\n  https://my-app.janraincapture.com/entity",
      "language": "curl"
    }
  ]
}
[/block]

**Example response**

If your API call succeeds you'll get back profile information for the specified user:

[block:code]
{
  "codes": [
    {
      "code": "{\n  \"result\": {\n    \"birthday\": null,\n    \"familyName\": \"Doe\",\n    \"profiles\": [],\n    \"id\": 999,\n    \"middleName\": null,\n    \"emailVerified\": \"2015-11-15 01:58:01 +0000\",\n    \"primaryAddress\": {\n      \"company\": null,\n      \"address2\": \"\",\n      \"stateAbbreviation\": \"NM\",\n      \"zipPlus4\": null,\n      \"city\": \"\",\n      \"address1\": \"\",\n      \"phone\": \"5551234567\",\n      \"zip\": \"\",\n      \"mobile\": null,\n      \"country\": \"United States\"\n    },\n    \"gender\": \"male\",\n    \"lastUpdated\": \"2016-03-13 19:39:17.856608 +0000\",\n    \"password\": null,\n    \"photos\": [],\n    \"email\": \"johndoe@example.com\",\n    \"givenName\": \"John\",\n    \"currentLocation\": null,\n    \"deactivateAccount\": null,\n    \"lastLogin\": \"2016-03-13 19:39:17 +0000\",\n    \"created\": \"2015-11-15 01:58:01.862312 +0000\",\n    \"displayName\": \"John Doe\",\n    \"uuid\": \"12345abc-1234-abcd-1234-12345abcde12\",\n    \"aboutMe\": null,\n    \"display\": null,\n    \"statuses\": []\n  },\n  \"stat\": \"ok\"\n}",
      "language": "json"
    }
  ]
}
[/block]

### Example 2: Retrieve certain attributes for a specific user ID

This command returns four user profile attribute values (**email**, **givenName**, **familyName** and **created**)  for the user with the **id** **999**. These four attributes specify the user’s email address, first name, last name, and the date his or her user account was created.

[block:code]
{
  "codes": [
    {
      "code": "curl -X POST \\\n  -H \"Authorization: Basic c2dueXZ1czZwYzRqbTdraHIybmVxNWdzODlnYnIyZXE6d3Q0YzN1bjl3a2tjZnZ5a25xeDQ0eW5jNDc2YWZzNjg=\"\\\n  --data-urlencode type_name=user \\\n  --data-urlencode id=999 \\\n  --data-urlencode attributes='[\"email\", \"familyName\", \"givenName\", \"created\"]' \\\n  https://my-app.janraincapture.com/entity",
      "language": "curl"
    }
  ]
}
[/block]

**Example response**

If your API call succeeds you'll get back the specified attributes and attribute values:

[block:code]
{
  "codes": [
    {
      "code": "{\n  \"result\": {\n    \"familyName\": \"Parker\",\n    \"email\":\"parkerm@example.com\",\n    \"givenName\":\"Matthew\",\n    \"created\":\"2015-12-31 18:54:59.900339 +0000\"\n  },\n    \"stat\":\"ok\"\n  }",
      "language": "json"
    }
  ]
}
[/block]

### Example 3: Retrieve data for a user with specific email address

This command retrieves the value of the **created** attribute for the user with the email address **<parkerm@example.com>**. The **created** attribute tells you the date and time that the user account was created.

[block:code]
{
  "codes": [
    {
      "code": "curl -X POST \\\n  -H \"Authorization: Basic c2dueXZ1czZwYzRqbTdraHIybmVxNWdzODlnYnIyZXE6d3Q0YzN1bjl3a2tjZnZ5a25xeDQ0eW5jNDc2YWZzNjg=\" \\\n  --data-urlencode type_name=user \\\n  --data-urlencode key_attribute=email \\\n  --data-urlencode key_value='\"parkerm@example.com\"' \\\n  --data-urlencode attributes='[\"created\"]'\\\n  https://my-app.janraincapture.com/entity",
      "language": "curl"
    }
  ]
}
[/block]

**Example response**

If your API call succeeds you'll get back the value of the **created** attribute:

[block:code]
{
  "codes": [
    {
      "code": "{\n  \"result\":{\n    \"created\":\"2015-10-05 21:37:13.031989 +0000\"\n  },\n  \"stat\":\"ok\"\n}",
      "language": "json"
    }
  ]
}
[/block]

### Example 4: Validate a user's password

This command verifies the password for the user with the **id** **1537**. To do this, the call specifies the attribute to be checked (**password**) and the supplied password value (**p\@ssw0rd**). If the supplied value matches the user’s actual password, then the values included in the **attributes** parameter are returned (in this case, the user’s **displayName**). If the supplied value doesn't match the user’s actual password, then a **350 invalid password* value* error is returned.

[block:code]
{
  "codes": [
    {
      "code": "curl -X POST \\\n  -H \"Authorization: Basic c2dueXZ1czZwYzRqbTdraHIybmVxNWdzODlnYnIyZXE6d3Q0YzN1bjl3a2tjZnZ5a25xeDQ0eW5jNDc2YWZzNjg=\" \\\n  --data-urlencode type_name=user \\\n  --data-urlencode id=1537 \\\n  --data-urlencode password_attribute=password \\\n  --data-urlencode password_value=p@ssw0rd \\\n  --data-urlencode attributes='[\"displayName\"]'\\\n  https://my-app.janraincapture.com/entity",
      "language": "curl"
    }
  ]
}
[/block]

**Example response**

If your API call succeeds you'll get back the display name of the user:

[block:code]
{
  "codes": [
    {
      "code": "{\n  \"result\":{\n    \"displayName\":\"Matthew Parker\"\n  },\n  \"stat\":\"ok\"\n}",
      "language": "json"
    }
  ]
}
[/block]

## Parameters

All parameters need to be configured as **x-www-form-urlencoded** body parameters.

[block:parameters]
{
  "data": {
    "h-0": "Parameter",
    "h-1": "Type",
    "h-2": "Required",
    "h-3": "Description",
    "0-0": "attribute_name",
    "1-0": "attributes",
    "0-1": "string",
    "1-1": "JSON array",
    "0-2": "✗",
    "1-2": "✗",
    "2-2": "✗",
    "2-0": "created",
    "2-1": "dateTime",
    "0-3": "Attribute to be returned. When used, values are only returned for the specified attribute. (By default, all attribute values are returned.)",
    "1-3": "JSON array of attributes to be returned. When used, values are only returned for the specified attributes. (By default, all attribute values are returned.)",
    "2-3": "Timestamp generated when the entity was created. This value must match the value of the user's **created** attribute. If it doesn't, the call fails.",
    "3-0": "lastUpdated",
    "4-0": "type_name",
    "5-0": "id",
    "6-0": "uuid",
    "7-0": "key_attribute",
    "8-0": "key_value",
    "3-1": "dateTime",
    "4-1": "string",
    "5-1": "string",
    "6-1": "string",
    "7-1": "string",
    "8-1": "string",
    "4-2": "✓",
    "3-2": "✗",
    "5-2": "✗",
    "6-2": "✗",
    "7-2": "✗",
    "8-2": "✗",
    "3-3": "Timestamp generated when the entity was last updated. This value must match the value of the user's **lastUpdated** attribute. If it doesn't, the call fails.",
    "4-3": "Name of the entity type storing the user profile.",
    "5-3": "Unique identifier of the user record. Required unless you are using the **uuid** or **key_attribute** parameter.",
    "6-3": "Unique identifier of the user record. Required unless you are using the **id** or **key_attribute** parameter.",
    "7-3": "Name of a unique attribute in the schema that can identify the user. This parameter is required unless you are using the **uuid** or **id** parameter.",
    "8-3": "Value assigned to the **key_attribute** parameter. For example, if **key_attribute** is set to **email** then **key_value** needs to be set to the user's email address.\n\nString values must be enclosed in quotes.",
    "9-0": "password_attribute",
    "10-0": "passsword_value",
    "9-1": "string",
    "10-1": "string",
    "9-3": "Path to a schema attribute that includes a **password** constraint. You can use the **password_attribute** and **password_value** parameters together: use **password_attribute** to specify the attribute to authenticate against, and **password_value** to specify the authenticating password.",
    "10-3": "Plaintext value matched against the **password** attribute specified in the **password_attribute** parameter. If successful, the entity is returned. If u not successful the API call fails.",
    "9-2": "✗",
    "10-2": "✗"
  },
  "cols": 4,
  "rows": 11
}
[/block]

# Sibling pages

* [Count user profiles](https://techdocs.akamai.com/identity-cloud/docs/count-user-profiles.md)
* [Create a user profile](https://techdocs.akamai.com/identity-cloud/docs/create-a-user-profile-1.md)
* [Create multiple user profiles](https://techdocs.akamai.com/identity-cloud/docs/create-multiple-user-profiles.md)
* [Delete a user profile](https://techdocs.akamai.com/identity-cloud/docs/delete-a-user-profile-1.md)
* [Invalidate a user session](https://techdocs.akamai.com/identity-cloud/docs/invalidate-a-user-session.md)
* [Modify a user profile](https://techdocs.akamai.com/identity-cloud/docs/modify-a-user-profile.md)
* [Replace a user profile](https://techdocs.akamai.com/identity-cloud/docs/replace-a-user-profile.md)
* [Search for user profiles](https://techdocs.akamai.com/identity-cloud/docs/search-for-user-profiles.md)