---
title: "Collect New Wallet"
method: POST
path: "/api/{portalId}/allocations/collect-new-wallet"
tags: ["Token"]
---

# Collect New Wallet

`POST /api/{portalId}/allocations/collect-new-wallet`

## Request

- Base URL: `https://portal-api.magna.so`
- URL: `https://portal-api.magna.so/api/{portalId}/allocations/collect-new-wallet`
- Auth: none declared

Collect new wallet for allocation. This is used for pre-TGE to collect wallets.

## Path parameters

- `portalId` string, uuid, required

## Request body

- object
  - `walletAddress` string: old wallet addres
  - `newWalletAddress` string, required: submitted new wallet addres
  - `distributionId` string, required: distribution id
  - `singedProof` object: signed proof with for verification
    - `message` string, required: message
    - `signature` string, required: signed message

## Response `200`

Ok

- object: Ok
  - `processed` boolean, required: indicator if the submission is processed or not

## Other responses

- `400`: Client Error
- `401`: Unauthorized Error
- `403`: Forbidden Error
- `404`: Not Found Error
- `500`: Server Error
- `502`: Upstream Error — the portal configuration service could not be reached. Safe to retry.

---

[API](https://skmtc.dev/magna/apis/magna-portal-api.md) - [All operations](https://skmtc.dev/magna/apis/magna-portal-api/llms.txt) - [OpenAPI document](https://skmtc.dev/magna/apis/magna-portal-api/revisions/50f736d73198?raw)
