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

# Add an address to a gtoken allowlist

> Admits a customer using your organization API key. Omit the request body. Use a discovered organization UUID or an approved direct source ID.

Allows a customer wallet to deposit into your gVault. Before depositing,
[check the wallet's access](https://docs.groundtech.co/v3/api-reference/get-gtoken-allowlist.md) and wait for `allowed: true`.


## OpenAPI

````yaml swagger/v3.yaml PUT /v3/gvaults/{gVaultId}/allowlist/{address}
openapi: 3.0.0
info:
  title: Ground API
  description: API for Portfolio Wallets, gtokens, MicroVaults, and webhooks.
  version: 3.0.0
servers:
  - url: https://sandbox.groundtech.co
  - url: https://production.groundtech.co
security:
  - bearerAuth: []
tags:
  - name: System
    description: System health and utility endpoints.
  - name: Sandbox Faucets
    description: Sandbox-only test token faucets.
  - name: Portfolio Wallets
    description: >-
      Portfolio wallets with strategy allocation, deposits, withdrawals, and
      yield positions.
  - name: gVaults
    description: >-
      Direct access to gtokens with deposit access controls and optional fee
      wrappers.
  - name: MicroVaults
    description: >-
      Customer-owned onchain vaults with externally held ERC-20 shares. Private
      preview.
  - name: Webhook Endpoints
    description: Webhook endpoint management for portfolio wallet notifications.
paths:
  /v3/gvaults/{gVaultId}/allowlist/{address}:
    parameters:
      - name: gVaultId
        in: path
        required: true
        schema:
          $ref: '#/components/schemas/GVaultId'
        description: Organization gVault ID returned by discovery.
      - name: address
        in: path
        required: true
        schema:
          $ref: '#/components/schemas/NonzeroEvmAddress'
        description: Nonzero EVM EOA or contract address.
    put:
      tags:
        - gVaults
      summary: Add an address to a gVault allowlist
      description: >-
        Admits a customer using your organization API key. Omit the request
        body. Use a discovered organization UUID or an approved direct source
        ID.
      operationId: allowAddressOnGVault
      responses:
        '200':
          description: Already confirmed.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/GTokenAdmissionStatus'
              example:
                status: confirmed
        '202':
          description: Submitted.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/GTokenAdmissionStatus'
              example:
                status: submitted
                transactionHash: >-
                  0xabababababababababababababababababababababababababababababababab
        '400':
          description: Invalid address.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
        '401':
          $ref: '#/components/responses/Unauthorized'
        '403':
          description: >-
            Production gToken access is disabled or the organization is
            ineligible for this operation. Sandbox does not require production
            enablement.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
              example:
                error: >-
                  Gtoken access is not enabled for your organization. Please
                  contact Ground admin.
                code: product_not_enabled
        '404':
          description: gtoken not found.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
        '409':
          description: Conflicting update.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
        '503':
          $ref: '#/components/responses/ServiceUnavailable'
components:
  schemas:
    GVaultId:
      type: string
      format: uuid
      description: >-
        Organization-specific gVault UUID returned by GET /v3/gvaults. Distinct
        from the investment assetId.
      example: 8f4c52d7-62ab-4db9-a964-92f481f6b851
    NonzeroEvmAddress:
      type: string
      description: >-
        Valid nonzero EVM EOA or contract address. Mixed-case values must use a
        valid EIP-55 checksum.
      minLength: 42
      maxLength: 42
      pattern: ^0x(?!0{40}$)[0-9a-fA-F]{40}$
      example: '0x3bf25a73a1f1033c2d50ac65f3c9d6a44123db81'
    GTokenAdmissionStatus:
      type: object
      required:
        - status
      additionalProperties: false
      properties:
        status:
          type: string
          enum:
            - screening
            - queued
            - submitting
            - submitted
            - confirmed
            - failed
            - reconciliation_required
            - pending
            - unmanaged
            - not_allowlisted
        allowed:
          type: boolean
        canManage:
          type: boolean
        transactionHash:
          $ref: '#/components/schemas/NullableTransactionHash'
    ErrorResponse:
      type: object
      required:
        - error
        - code
      properties:
        error:
          type: string
          description: >-
            Human-readable error message. May change without notice; do not
            parse programmatically.
        code:
          type: string
          description: >-
            Machine-readable error code. Use it for programmatic handling rather
            than parsing the error message.
          enum:
            - validation_error
            - unknown_parameters
            - payload_too_large
            - unsupported_media_type
            - submission_id_conflict
            - feedback_unavailable
            - unsupported_chain
            - unsupported_token
            - invalid_destination_address
            - stellar_destination_account_not_active
            - stellar_destination_usdc_not_enabled
            - precision_overflow
            - invalid_cursor
            - unauthenticated
            - forbidden
            - wallet_not_found
            - wallet_limit_reached
            - withdrawal_not_found
            - deposit_not_found
            - yield_source_not_found
            - wallet_projection_unavailable
            - insufficient_funds
            - duplicate_request_id
            - request_id_conflict
            - invalid_position_weight
            - invalid_withdrawal_plan
            - payout_not_found
            - webhook_not_found
            - webhook_duplicate_url
            - withdrawal_not_cancellable
            - withdrawal_already_cancelled
            - withdrawal_payout_in_progress
            - withdrawal_policy_required
            - workflow_conflict
            - stale_rebalance_plan
            - stale_wallet_strategy
            - payout_already_terminal
            - payout_in_progress
            - payout_not_retryable
            - address_book_entry_not_found
            - address_book_duplicate_entry
            - address_book_whitelist_violation
            - rate_limited
            - rate_limit_exceeded
            - internal_error
            - wallet_creation_failed
            - service_temporarily_unavailable
            - operation_not_supported
            - wallet_withdrawal_active
            - stellar_customer_approval_unavailable
            - withdrawal_signing_required
            - wallet_performance_unavailable
            - tempo_beta_transfer_limit_exceeded
            - product_not_enabled
            - gvault_not_found
            - allowlist_update_pending
            - fee_wrapper_not_found
            - fee_wrapper_fee_update_pending
            - statement_too_large
            - no_reportable_wallets
            - report_timeout
            - read_only_api_key
    NullableTransactionHash:
      type: string
      nullable: true
      description: EVM transaction hash, or null when no transaction was submitted.
      minLength: 66
      maxLength: 66
      pattern: ^0x[0-9a-fA-F]{64}$
      example: '0xabababababababababababababababababababababababababababababababab'
    AuthErrorResponse:
      type: object
      required:
        - error
      properties:
        error:
          type: string
          description: Authentication or authorization error message.
        message:
          type: string
          nullable: true
          description: Additional auth middleware detail, when present.
        code:
          type: string
          nullable: true
          description: >-
            Some auth and scope failures include a stable code; middleware
            errors may omit it.
    ServiceUnavailableError:
      allOf:
        - $ref: '#/components/schemas/ErrorResponse'
        - type: object
          properties:
            retryable:
              type: boolean
              description: Whether the client should retry with the same requestId
  responses:
    Unauthorized:
      description: >-
        The request is missing a valid bearer token, or the token is invalid or
        expired.
      content:
        application/json:
          schema:
            $ref: '#/components/schemas/AuthErrorResponse'
          example:
            error: Unauthenticated request
            message: Missing or invalid bearer token
    ServiceUnavailable:
      description: >-
        A dependency is temporarily unavailable. Retry with bounded backoff and
        preserve the original operation identity for writes.
      content:
        application/json:
          schema:
            $ref: '#/components/schemas/ServiceUnavailableError'
          example:
            error: Service temporarily unavailable
            code: service_temporarily_unavailable
            retryable: true
  securitySchemes:
    bearerAuth:
      type: http
      scheme: bearer
      bearerFormat: JWT

````

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