> ## Documentation Index
> Fetch the complete documentation index at: https://docs.flinks.com/llms.txt
> Use this file to discover all available pages before exploring further.

# /GetCategorization

> Returns categorized transactional data. This data is aggregated by Flinks through the /GetAccountsDetail endpoint.

Broad Categorization is a service at Flinks that provides financial and behavioural insights by assigning categories to your customers' transactions. The `/GetCategorization` endpoint is used by the Broad Categorization service and returns categorized transactional data. This data is aggregated by Flinks through the `/GetAccountsDetail` endpoint for the customer whose `loginId` is passed in the path parameter.


## OpenAPI

````yaml GET /v3/{customerId}/categorization/login/{loginId}/requestid/{requestId}
openapi: 3.0.3
info:
  title: Flinks API
  description: >
    Flinks API provides financial data connectivity, enrichment, and payment
    solutions.


    ## Authentication

    Endpoints require authentication using `flinks-auth-key` header (Bearer
    token).


    For more information, visit: https://docs.flinks.com
  version: 3.0.0
  contact:
    name: Flinks Support
    url: https://www.flinks.com/contact/sales
  termsOfService: https://www.flinks.com
servers:
  - url: https://{instance}-api.private.fin.ag
    description: Flinks API Environment
    variables:
      instance:
        default: toolbox
        description: The environment instance (e.g., toolbox, sandbox, production)
security: []
tags:
  - name: Authorization
    description: Endpoints for generating authorization tokens and authenticating requests
  - name: Enrich - Consumer Attributes
    description: Consumer financial attribute analysis and credit risk assessment
paths:
  /v3/{customerId}/categorization/login/{loginId}/requestid/{requestId}:
    get:
      tags:
        - Enrich
      summary: Get Categorization
      description: >-
        Returns categorized transactional data. This data is aggregated by
        Flinks through the /GetAccountsDetail endpoint.
      operationId: getCategorization
      parameters:
        - name: customerId
          in: path
          required: true
          schema:
            type: string
            default: 43387ca6-0391-4c82-857d-70d95f087ecb
          description: >-
            Unique GUID provided by Flinks that grants you access to the
            environment.
        - name: loginId
          in: path
          required: true
          schema:
            type: string
          description: >-
            A unique identifier that represents the login information for the
            customer.
        - name: requestId
          in: path
          required: true
          schema:
            type: string
          description: >-
            A unique identifier that represents a successful call to the
            /Authorize endpoint.
      responses:
        '200':
          description: Success
          content:
            application/json:
              schema:
                type: object
                properties:
                  HttpStatusCode:
                    type: integer
                  LoginId:
                    type: string
                  RequestId:
                    type: string
                  Transactions:
                    type: array
                    items:
                      type: object
        '401':
          description: Unauthorized
          content:
            application/json:
              schema:
                type: object
                properties:
                  HttpStatusCode:
                    type: integer
                  Message:
                    type: string
                  FlinksCode:
                    type: string

````