Skip to main content
POST
/
v1
/
registrations
/
register-wallet
Create a wallet registration
curl --request POST \
  --url https://api.oneofnone.io/v1/registrations/register-wallet \
  --header 'Content-Type: application/json' \
  --header 'x-api-key: <api-key>' \
  --data '
{
  "wallet_address": "<string>",
  "collection_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
  "token_id": 2,
  "metadata": {}
}
'
{
  "id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
  "status": "AWAITING_MINT",
  "email": "[email protected]",
  "phone": "<string>",
  "wallet_address": "<string>",
  "tx_url": "<string>",
  "short_url": "<string>",
  "token_id": 123,
  "metadata": {
    "firstName": "<string>",
    "lastName": "<string>",
    "postalCode": "<string>",
    "phoneNumber": "<string>"
  },
  "collection_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
  "collection": {
    "id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
    "name": "<string>",
    "slug": "<string>",
    "image": {
      "alt": "<string>",
      "created_at": "2023-11-07T05:31:56Z",
      "description": "<string>",
      "file_type": "<string>",
      "id": 123,
      "poster_url": "<string>",
      "size": 123,
      "tags": [
        "<string>"
      ],
      "thumbnail_url": "<string>",
      "updated_at": "2023-11-07T05:31:56Z",
      "url": "<string>"
    },
    "quantity": 123
  },
  "user": {
    "id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
    "email": "[email protected]",
    "phone": "<string>",
    "metadata": {},
    "avatar": {
      "alt": "<string>",
      "created_at": "2023-11-07T05:31:56Z",
      "description": "<string>",
      "file_type": "<string>",
      "id": 123,
      "poster_url": "<string>",
      "size": 123,
      "tags": [
        "<string>"
      ],
      "thumbnail_url": "<string>",
      "updated_at": "2023-11-07T05:31:56Z",
      "url": "<string>"
    },
    "app_id": 123,
    "team_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
    "last_login_at": "2023-11-07T05:31:56Z",
    "login_count": 123,
    "created_at": "2023-11-07T05:31:56Z",
    "updated_at": "2023-11-07T05:31:56Z"
  },
  "created_at": "2023-11-07T05:31:56Z",
  "updated_at": "2023-11-07T05:31:56Z"
}

Authorizations

x-api-key
string
header
required

The API key required for accessing protected routes. It should be included in the request headers as x-api-key.

Body

application/json
wallet_address
string
required

The blockchain wallet address of the registrant.

collection_id
string<uuid>
required

The unique identifier of the collection.

token_id
integer
required

The token ID within the collection.

Required range: x >= 1
metadata
object

Additional metadata to store with the registration.

Response

Successfully created registration.

A product registration record containing customer information, product details, and collection association.

id
string<uuid>

The unique identifier for the product registration.

status
enum<string>

The current status of the product registration.

Available options:
AWAITING_MINT,
COMPLETE
email
string<email>

The email address of the person who registered the product.

phone
string | null

The phone number of the person who registered the product.

wallet_address
string | null

The blockchain wallet address associated with the registration.

tx_url
string<uri> | null

The blockchain transaction URL for the registration if applicable.

short_url
string | null

The short URL used to initiate the registration.

token_id
integer | null

The unique token identifier for the registered product.

metadata
object

Additional metadata collected during registration including personal information and custom fields.

collection_id
string<uuid> | null

The unique identifier of the collection the registered product belongs to.

collection
object

Information about the collection the registered product belongs to.

user
object

Information about the user who registered the product.

created_at
string<date-time>

The timestamp when the registration was created.

updated_at
string<date-time> | null

The timestamp when the registration was last updated.