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

# Get profile

> Retrieve the current authenticated user's own profile — including their role, organization,
group, this month's credit usage, their group's remaining `credit_balance`, and their
`usage_limit` if one has been set. This is the endpoint to use for checking your own balance
and limits; it resolves from the API key or session making the request.




## OpenAPI

````yaml /api-specs/anycheck.yaml get /profile
openapi: 3.0.3
info:
  title: AnyCheck API
  version: 1.0.0
  description: >
    # AnyCheck API Documentation


    The AnyCheck API (formerly KYB API) provides comprehensive business and
    identity verification services through a RESTful interface.


    ## Features

    - **Identity Verification**: KTP, NIK, and other identity document
    validation

    - **Business Documents**: BPKB, land certificates, and business registration
    verification

    - **Compliance**: PEP screening and fraud detection

    - **Bank Statement Analysis**: OCR extraction and financial analysis

    - **Template Management**: Create and manage verification templates

    - **Async Processing**: Queue-based verification with webhook notifications


    ## Authentication

    All endpoints (except `/ping` and `/health`) require authentication via the
    `X-API-Key` header.
  contact:
    name: API Support
    email: bd@fintelite.ai
  license:
    name: Proprietary
servers:
  - url: https://api.anycheck.ai
    description: Production server
security:
  - apiKey: []
tags:
  - name: Health
    description: Health check endpoints
  - name: Account
    description: >-
      The current user's own profile, including credit usage, group credit
      balance, and usage limit
  - name: Upload
    description: File upload operations
  - name: Authentication
    description: User authentication and registration
  - name: Groups
    description: Group resource management
  - name: Services
    description: Verification service operations
  - name: Folders
    description: Folder management for organizing verifications
  - name: Verifications
    description: Document verification operations
  - name: Templates
    description: Verification template management
  - name: Bank Statement Analysis
    description: Bank statement OCR extraction, review, and financial analytics
  - name: Drafts
    description: 'Draft verification management: save, edit, and submit verifications'
paths:
  /profile:
    get:
      tags:
        - Account
      summary: Get profile
      description: >
        Retrieve the current authenticated user's own profile — including their
        role, organization,

        group, this month's credit usage, their group's remaining
        `credit_balance`, and their

        `usage_limit` if one has been set. This is the endpoint to use for
        checking your own balance

        and limits; it resolves from the API key or session making the request.
      operationId: getProfile
      responses:
        '200':
          description: Current user's profile
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ProfileResponse'
        '401':
          $ref: '#/components/responses/Unauthorized'
        '403':
          $ref: '#/components/responses/Forbidden'
        '408':
          $ref: '#/components/responses/RequestTimeout'
components:
  schemas:
    ProfileResponse:
      type: object
      description: >
        The current user's own profile, returned by `GET /profile` — includes
        `credit_used` (this

        user's credit usage this month) and `credit_balance` (their group's
        remaining balance).
      properties:
        id:
          type: string
          format: uuid
        role:
          $ref: '#/components/schemas/RoleNameResponse'
        organization:
          $ref: '#/components/schemas/OrganizationNameResponse'
        group:
          $ref: '#/components/schemas/GroupNameResponse'
        email:
          type: string
          format: email
          example: user@example.com
        name:
          type: string
          example: John Doe
        status:
          type: string
          enum:
            - ACTIVE
            - SUSPENDED
            - DEACTIVATED
            - NOT_VERIFIED
          example: ACTIVE
        phone_number:
          type: string
          nullable: true
        profile_picture_file_url:
          type: string
          format: uri
          nullable: true
        external_auth:
          type: object
          description: Which enterprise SSO providers this user is linked to
          additionalProperties:
            type: boolean
          example:
            LDAP: false
            ENTRA: false
        usage_limit:
          type: integer
          nullable: true
          description: >
            Maximum credit this user can consume per month, if a limit has been
            set for them.

            `null` means no per-user limit — the user can spend up to their
            group's `credit_balance`.
          example: null
        usage_reset_at:
          type: string
          format: date-time
          nullable: true
          description: When `usage_limit` next resets
        credit_used:
          type: integer
          description: >-
            Credit this user has consumed so far this month (`GET /profile`
            only)
          example: 340
        credit_balance:
          type: integer
          description: Credit remaining in this user's group (`GET /profile` only)
          example: 5000
        created_at:
          type: string
          format: date-time
        created_by:
          type: string
          format: uuid
        updated_at:
          type: string
          format: date-time
        updated_by:
          type: string
          format: uuid
    RoleNameResponse:
      type: object
      properties:
        code:
          type: string
          enum:
            - SUPERADMIN
            - ORGANIZATION_OWNER
            - GROUP_OWNER
            - GROUP_USER
          example: GROUP_USER
        name:
          type: string
          example: Group User
      required:
        - code
        - name
    OrganizationNameResponse:
      type: object
      properties:
        id:
          type: string
          format: uuid
          description: Unique organization identifier
        name:
          type: string
          description: Organization name
          example: PT Contoh Indonesia
      required:
        - id
        - name
    GroupNameResponse:
      type: object
      properties:
        id:
          type: string
          format: uuid
          description: Unique group identifier
        name:
          type: string
          description: Group name
          example: Production Team
      required:
        - id
        - name
    ErrorResponse:
      type: object
      properties:
        error_code:
          type: string
          example: INVALID_REQUEST
          description: Error code identifying the type of error
        message:
          type: string
          example: Invalid request. Please check input data format and try again
          description: Human-readable error message
        errors:
          type: array
          description: Field-specific validation errors (optional)
          items:
            $ref: '#/components/schemas/FieldError'
    FieldError:
      type: object
      properties:
        field:
          type: string
          description: Name of the field with validation error
          example: service_id
        message:
          type: string
          description: Field-specific error message
          example: This field is required
      required:
        - field
        - message
  responses:
    Unauthorized:
      description: Unauthorized - Authentication required or invalid
      content:
        application/json:
          schema:
            $ref: '#/components/schemas/ErrorResponse'
          examples:
            invalid_api_key:
              summary: Invalid API key
              value:
                error_code: INVALID_API_KEY
                message: API key is invalid
            api_key_expired:
              summary: Expired API key
              value:
                error_code: API_KEY_EXPIRED
                message: API key is expired
            unauthorized:
              summary: Missing authentication
              value:
                error_code: UNAUTHORIZED
                message: You are not authorized to perform this action
    Forbidden:
      description: Forbidden - User lacks required permissions
      content:
        application/json:
          schema:
            $ref: '#/components/schemas/ErrorResponse'
          example:
            error_code: FORBIDDEN
            message: You are forbidden to perform this action
    RequestTimeout:
      description: Request timeout
      content:
        application/json:
          schema:
            $ref: '#/components/schemas/ErrorResponse'
          example:
            error_code: REQUEST_TIMEOUT
            message: Request timed out. Please try again later
  securitySchemes:
    apiKey:
      type: apiKey
      in: header
      name: X-API-Key
      description: API key for service-to-service authentication

````

This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.