Personalization

Web Personalization

Get single User Entity using cookie id. This is same as entity api but you don't specify a fieldname (user_id, email, etc) and instead it only uses the cookie identifier.

get/api/entity/{table}/{fieldval}

Request

  • Base URL
    https://api.lytics.io
  • URL
    https://api.lytics.io/api/entity/{table}/{fieldval}
  • Auth
    API key in header Authorization

Path parameters

tablestring required

Field value of data table

fieldvalstring required

Field value of identity

Query parameters

account_idstring

Your Lytics account ID.

fieldsstring

comma delimited field list to be returned

fieldBlockliststring

comma delimited list of fields to exclude

include_fieldsboolean

if true include all the whitelisted fields

segmentsboolean

Should segments this user is member of be included?

metaboolean

Should Meta Fields be included?

downloadboolean

Should the content-disposition header set to attachment to download the user as a file?

Response

OK

messagestring
statusnumber

Example response

{
  "data": {
    "segments": [
      "email_us_based",
      "web_users",
      "all"
    ]
  },
  "message": "success",
  "meta": {
    "by_fields": [
      "user_id",
      "email",
      "fbuid",
      "_uids"
    ],
    "format": "json",
    "name": "user"
  },
  "status": 200
}

Changes

No recorded changes to this operation across all 1 revision of this API.