Profiles

Get profile attributes

Changed on

Get profile attributes for a user.

get/attributes/{table}/{key}/{value}

Request

  • Base URL
    https://api.lytics.io/v2
  • URL
    https://api.lytics.io/v2/attributes/{table}/{key}/{value}
  • Auth
    • API key in header Authorization
    • or API key in header Authorization

Path parameters

tablestring required

The table (e.g. user)

keystring required

Identity Key (e.g. email)

valuestring required

Value (e.g. hello@lytics.com)

Query parameters

account_idstring

The account ID. Defaults to the user's default account.

Response

User profile" example({"data":{"email":"hello@lytics.com","first_name":"John","last_name":"Doe","age":30,"city":"Portland","last_updated":"2023-10-15T14:30:00Z"},"status":200,"request_id":"bc58cac9-4712-4ff2-81c2-89941bd7b600"})

_metaobject

Response Metadata

dataobject

Response Payload

request_idstring
statusinteger

HTTP Status Code

Changes