Skip to main content
POST
/
api
/
v1
/
tokenization
/
collections
Create Collection
curl --request POST \
  --url https://sandbox.oumla.com/api/v1/tokenization/collections \
  --header 'Content-Type: application/json' \
  --header 'x-api-key: <api-key>' \
  --data '
{
  "network": "ETHEREUM",
  "addressId": "your-address-id",
  "type": "NON_FUNGIBLE_TOKEN",
  "clientShare": "your-client-share",
  "createParams": {
    "initializeParams": [
      {
        "name": "_name",
        "type": "string",
        "value": "My Collection"
      },
      {
        "name": "_symbol",
        "type": "string",
        "value": "MYC"
      },
      {
        "name": "defaultAdmin",
        "type": "address",
        "value": "0x1111111111111111111111111111111111111111"
      },
      {
        "name": "minter",
        "type": "address",
        "value": "0x2222222222222222222222222222222222222222"
      },
      {
        "name": "pauser",
        "type": "address",
        "value": "0x3333333333333333333333333333333333333333"
      }
    ]
  },
  "displayName": "My Collection",
  "useGasless": false,
  "fee": "0",
  "feeLevel": "standard",
  "description": "Optional collection description"
}
'
{
  "workflowId": "<string>",
  "status": "<string>"
}

Authorizations

x-api-key
string
header
required

API key for authentication. Obtain your API key from the dashboard.

Headers

x-sdk-version
string
default:1.0.0

SDK version header

Body

application/json

Request body for create collection

addressId
string
required
Minimum string length: 1
type
enum<string>
required
Available options:
NON_FUNGIBLE_TOKEN,
SEMI_FUNGIBLE_TOKEN
clientShare
string
required
Minimum string length: 1
createParams
object
required
network
string
displayName
string
useGasless
boolean
fee
string
feeLevel
string
description
string

Response

Collection creation workflow started

Workflow response object

workflowId
string
status
string