---
title: "Attributes"
method: POST
path: "/v3/{customerId}/insight/login/{loginId}/attributes/{requestId}"
tags: ["Enrich"]
---

# Attributes

`POST /v3/{customerId}/insight/login/{loginId}/attributes/{requestId}`

Use the /Attributes endpoint to tell us the data points in your attributes package you want to retrieve.

## Path parameters

- `customerId` string, required
- `loginId` string, required
- `requestId` string, required

## Query parameters

- `limitDays` string

## Headers

- `Content-Type` 'application/json', required

## Request body

- object
  - `Attributes` object — Object specifying which attributes to retrieve, grouped by output target.
    - `Card` string[] — List of attribute names to return on the Card.
  - `Filters` object — (Optional) Filters applied to the data used for attribute calculation.
    - `AccountCategory` string[] — List of account categories (Operations is currently the only supported value).
  - `Options` object — (Optional) Additional calculation options.
    - `OriginCountry` string — Origin country of the accounts (e.g. "ca").
    - `AccountType` string — Account type to evaluate (e.g. "Personal").
    - `AttributesDetail` string[] — List of attributes for which the underlying transactions should be returned.

## Response `200`

Result

- object
  - `MostRecentTransactionDate` string — Date of the most recent transaction used in the calculation (MM/DD/YYYY).
  - `FlinksAttributesProcessId` string — GUID identifying the attributes calculation process.
  - `HttpStatusCode` integer — HTTP status code of the response.
  - `Card` object — Object containing an Id field (end user's LoginId) and all the requested attributes (name: value), plus optional AttributesDetail.
    - `Id` string — GUID representing the end user's LoginId.
    - `AttributesDetail` object[] — Underlying transactions for the requested attributes.
      - `Attribute` string — Name of the attribute the transactions relate to.
      - `Transactions` object[]
        - `TransactionId` string
        - `AccountId` string
        - `Date` string
        - `Description` string
        - `Debit` number
        - `Credit` number
        - `Balance` number
    - `MostRecentTransactionDate` string — Date of the most recent transaction used in the calculation (MM/DD/YYYY).
    - `Country` string — Origin country of the accounts.
  - `ProcessId` string — GUID identifying the request process.
  - `Login` object — Object representing end user's technical information.
    - `IsScheduledRefresh` boolean
    - `LastRefresh` string
    - `Id` string
  - `RequestId` string — GUID representing an authorized request to the API.

## Other responses

- `202` — Operation Pending

---

[API](https://skmtc.net/flinks/apis/flinks-api.md) · [All operations](https://skmtc.net/flinks/apis/flinks-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/flinks/flinks-api/versions/0983646f91b4/schema)
