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

# Collect New Wallet

> Submit a stakeholder's newly collected wallet for a target token via a signed message, creating the corresponding allocation.



## OpenAPI

````yaml /apis/admin/openapi.json post /api/external/v1/allocations/collect-new-wallet
openapi: 3.1.0
info:
  title: Magna Admin API
  version: 1.0.0
  description: >-
    The private, server-to-server API for managing allocations, funding and
    claims, transactions, portals, and token data. Authenticated with a project
    API key sent in the `x-magna-api-token` header.
servers:
  - url: https://app.magna.so
    description: Production
security:
  - apiToken: []
paths:
  /api/external/v1/allocations/collect-new-wallet:
    post:
      tags:
        - Allocations
      summary: Collect New Wallet
      description: >-
        Submit a stakeholder's newly collected wallet for a target token via a
        signed message, creating the corresponding allocation.
      operationId: postAllocationsCollectNewWallet
      requestBody:
        required: true
        content:
          application/json:
            schema:
              type:
                - object
              properties:
                tokenId:
                  type:
                    - string
                  minLength: 1
                  format: uuid
                walletAddress:
                  type:
                    - string
                  minLength: 1
                message:
                  type:
                    - string
                  minLength: 1
                signature:
                  type:
                    - string
                  minLength: 1
              required:
                - tokenId
                - walletAddress
                - message
                - signature
      responses:
        '200':
          description: Successful response
          content:
            application/json:
              schema:
                type: object
                properties:
                  isProcessed:
                    type: boolean
                  result:
                    description: Endpoint-specific result payload.
              example:
                processed: true
        '400':
          description: Validation error
        '401':
          description: Missing or invalid API token
        '403':
          description: API token lacks the required scope or project access
components:
  securitySchemes:
    apiToken:
      type: apiKey
      in: header
      name: x-magna-api-token

````