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 '
{
  "type": "NON_FUNGIBLE_TOKEN",
  "addressId": "<string>",
  "clientShare": "<string>",
  "createParams": {
    "initializeParams": [
      {
        "name": "<string>",
        "type": "<string>",
        "value": "<string>"
      }
    ]
  },
  "network": "<string>",
  "description": "<string>",
  "displayName": "<string>",
  "useGasless": true,
  "fee": "<string>",
  "feeLevel": "<string>"
}
'
{
  "message": "<string>",
  "success": true,
  "status": 123,
  "data": {}
}

Authorizations

x-api-key
string
header
required

API key for authentication

Headers

x-sdk-version
string
default:1.0.0

SDK version for tracking and compatibility

Body

application/json
type
enum<string>
required

Collection type

Available options:
NON_FUNGIBLE_TOKEN,
SEMI_FUNGIBLE_TOKEN
addressId
string
required

Address ID for collection creation

Minimum string length: 1
clientShare
string
required

Client share for signing

Minimum string length: 1
createParams
object
required
network
string

Blockchain network

description
string

Collection description

displayName
string

Collection display name

useGasless
boolean

Use gasless transaction

fee
string

Transaction fee

feeLevel
string

Fee level

Response

201 - application/json

Collection created successfully

message
string
required

Response message

success
enum<boolean>
required

Indicates successful response

Available options:
true,
false
status
integer
required

HTTP status code

data
object

Response data