Profiles

Update all profile attributes

Changed on

Update all of the profile attributes for a user.

put/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

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.

Request body */*

object required

Response

User profile" example({"data":{"email":"hello@lytics.com","first_name":"John","last_name":"Doe","age":30,"city":"Portland","external_audiences":["sports enthusiasts", "music lovers", "new customers"],"last_updated":"2025-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