---
title: "Get profile attributes"
method: GET
path: "/attributes/{table}/{key}/{value}"
tags: ["Profiles"]
---

# Get profile attributes

`GET /attributes/{table}/{key}/{value}`

## Request

- Base URL: `https://api.lytics.io/v2`
- URL: `https://api.lytics.io/v2/attributes/{table}/{key}/{value}`
- Auth: one of:
  - API key in header `Authorization`
  - API key in header `Authorization`

Get profile attributes for a user.

## Path parameters

- `table` string, required
- `key` string, required
- `value` string, required

## Query parameters

- `account_id` string

## Response `200`

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"})

- object
  - `_meta` object: Response Metadata
  - `data` object: Response Payload
  - `request_id` string
  - `status` integer: HTTP Status Code

## Other responses

- `400`: status":400,"request_id":"bc58cac9-4712-4ff2-81c2-89941bd7b600","errors":[{"code":"BADREQ-001","message":"Invalid table name"}]})
- `404`: status":404,"request_id":"bc58cac9-4712-4ff2-81c2-89941bd7b600","errors":[{"code":"NOTFOUND-003","message":"The attribute you are trying to read does not exist"}]})
- `500`: status":500,"request_id":"bc58cac9-4712-4ff2-81c2-89941bd7b600","errors":[{"code":"INTERNAL-019","message":"Internal server error"}]})

## Changes

- **2026-11-03** `d8e975057aec`: 1 info
  - endpoint added

[Operation history](https://skmtc.dev/lytics/apis/lytics-api/changes/attributes/:table/:key/:value/get.md)

---

[API](https://skmtc.dev/lytics/apis/lytics-api.md) - [All operations](https://skmtc.dev/lytics/apis/lytics-api/llms.txt) - [OpenAPI document](https://skmtc.dev/lytics/apis/lytics-api/revisions/d8e975057aec?raw)
