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

# Get Employee Grants

> Returns all grants for a specific employee. Provide either payrollEmployeeID or externalEmployeeID.



## OpenAPI

````yaml GET /getEmployeeGrants
openapi: 3.0.0
info:
  title: Toku API
  version: 1.0.0
  description: >-
    The Toku API lets you programmatically manage token grants, wallets,
    employees, payroll, and invoices. Build custom integrations and automate
    your token compensation workflows.
servers:
  - url: https://app.toku.com/api/tokuApi/v1
    description: Production
security:
  - bearerAuth: []
tags:
  - name: Grants
    description: Create, list, terminate, and revert token grants
  - name: Wallets
    description: Manage recipient wallets, verification, and distributions
  - name: Employees
    description: Manage user roles within your organization
  - name: Tokens & Networks
    description: Configure token types and blockchain networks for your organization
  - name: Invoices
    description: Submit and settle invoice payments
  - name: Organization
    description: Configure organization settings
  - name: Distributions
    description: >-
      Approve vestings, add tax details, update FMV, finalize, submit
      settlements, and track status
  - name: Custody
    description: >-
      Connect custody providers (Fireblocks, Anchorage, Safe), manage custody
      wallets, and allocate to grants
  - name: Authentication
    description: Partner API token management
  - name: Payroll
    description: Payroll run creation, management, and state transitions
  - name: EOR
    description: Employer of Record employee onboarding and management
  - name: Payslips
    description: Payslip generation, upload, and retrieval
  - name: Webhooks
    description: Webhook endpoint management and event delivery
  - name: Stablecoin Funding
    description: Token payroll creation and stablecoin settlement
paths:
  /getEmployeeGrants:
    get:
      tags:
        - Grants
      summary: Get Employee Grants
      description: >-
        Returns all grants for a specific employee. Provide either
        payrollEmployeeID or externalEmployeeID.
      operationId: getEmployeeGrants
      parameters:
        - name: x-role-type
          in: header
          required: true
          description: >-
            Role context for the request. Use CLIENT_ORG_ADMIN for most
            integrations.
          example: CLIENT_ORG_ADMIN
          schema:
            type: string
            enum:
              - CLIENT_ORG_ADMIN
              - PAYROLL_ADMIN
              - FINANCE_ADMIN
              - TOKU_ADMIN
        - name: payrollEmployeeID
          in: query
          schema:
            type: string
          description: Payroll identifier. Takes precedence when both are provided.
        - name: externalEmployeeID
          in: query
          schema:
            type: string
          description: External HRIS identifier. At least one ID is required.
      responses:
        '200':
          description: Employee grants
          content:
            application/json:
              schema:
                type: array
                items:
                  $ref: '#/components/schemas/EmployeeGrant'
        '401':
          description: Authentication failed — token missing, invalid, or expired
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
        '403':
          description: Caller does not have the required role
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
        '429':
          description: Rate limit exceeded (100 req/min per IP)
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
        '500':
          description: Internal server error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
components:
  schemas:
    EmployeeGrant:
      type: object
      properties:
        grantID:
          type: string
          format: uuid
          example: 550e8400-e29b-41d4-a716-446655440000
        grantName:
          type: string
          example: Q1 2026 Token Grant
        grantDescription:
          type: string
          nullable: true
          example: Annual token compensation
        grantStatus:
          type: string
          example: ACCEPTED
        grantAmount:
          type: number
          example: 50000
        grantAmountInFiat:
          type: number
          nullable: true
          example: 25000
        pricePerUnit:
          type: number
          nullable: true
          example: 0.5
        pricePerUnitCurrencyCode:
          type: string
          nullable: true
          example: USD
        grantDate:
          type: string
          format: date-time
          nullable: true
          example: '2025-12-15T00:00:00.000Z'
        vestingStartDate:
          type: string
          format: date-time
          nullable: true
          example: '2026-01-01T00:00:00.000Z'
        vestingFrequencyType:
          type: string
          nullable: true
          example: MONTHLY
        vestingCliffPercentage:
          type: number
          nullable: true
          example: 25
        vestingCliffPeriods:
          type: integer
          nullable: true
          example: 12
        vestingPeriods:
          type: number
          nullable: true
          example: 48
        terminationDate:
          type: string
          format: date-time
          nullable: true
          example: null
        futureTerminationDate:
          type: string
          format: date-time
          nullable: true
          example: null
        tags:
          type: array
          items:
            type: string
          example:
            - engineering
    ErrorResponse:
      type: object
      required:
        - error
      properties:
        error:
          type: string
          description: Short error message
        details:
          type: string
          description: Additional debugging information
  securitySchemes:
    bearerAuth:
      type: http
      scheme: bearer
      description: Personal API token. Create via createUserApiToken endpoint.

````