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

# Get user entitlements by token

> Accepts a token key in the path (`/api/users/{token}/entitlements/`), resolves the token owner, and returns data entitlements for that user if eligible.



## OpenAPI

````yaml /openapi.json get /api/users/{id}/entitlements/
openapi: 3.0.3
info:
  title: TBBO API
  version: 1.0.0
  description: >
    Authentication uses short-lived session tokens (3 hours).


    Send the token with every request using the `Authorization` header:


    ```

    Authorization: Token <token>

    ```


    Example:


    ```

    Authorization: Token 123abc456def789

    ```


    To obtain a token, call `POST /auth/login/` with valid credentials. The
    response includes a `key` value. Use that value in the header above for
    subsequent API calls.


    How to find required IDs:


    - `challenge_id`: Prop Tech Configuration -> Challenges

    - `user_id`: Tickblaze Manager -> Users

    - `account_id`: Tickblaze Manager -> Accounts 
servers: []
security: []
tags:
  - name: withdrawals
    description: Withdrawal related endpoints
    x-displayName: Withdrawals
paths:
  /api/users/{id}/entitlements/:
    get:
      tags:
        - Users
      summary: Get user entitlements by token
      description: >-
        Accepts a token key in the path (`/api/users/{token}/entitlements/`),
        resolves the token owner, and returns data entitlements for that user if
        eligible.
      operationId: api_users_entitlements_retrieve_2
      parameters:
        - in: path
          name: id
          schema:
            type: integer
          description: A unique integer value identifying this user.
          required: true
      responses:
        '200':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/TokenEntitlementsResponse'
          description: >-
            Entitlements payload. Returns a data entitlement map when eligible;
            otherwise returns an empty entitlement map.
        '401':
          description: Missing, invalid, or expired token.
      security:
        - {}
components:
  schemas:
    TokenEntitlementsResponse:
      type: object
      properties:
        firstPartyLicensedMics:
          type: object
          additionalProperties:
            type: string
          description: >-
            Map of licensed MIC codes to entitlement levels for the token owner.
            Returns an empty object when the token owner is not eligible.
      required:
        - firstPartyLicensedMics

````

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