POST
/
v1
/
registrations
/
register-email
curl --request POST \
  --url https://api.oneofnone.io/v1/registrations/register-email \
  --header 'Content-Type: application/json' \
  --header 'x-api-key: <api-key>' \
  --data '{
  "email": "jsmith@example.com",
  "collection_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
  "token_id": 2,
  "metadata": {}
}'
{
  "id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
  "status": "AWAITING_MINT",
  "email": "jsmith@example.com",
  "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": "jsmith@example.com",
    "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

Response

201
application/json

Successfully created registration and sent verification email.

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