create
POST
/collections
Request
Header Params
Authorization
string
optional
Example:
Bearer {{token}}
Body Params application/json
chainId
enum<string>
required
Allowed values:
imxpolygonethereum
identifier
string
required
address
string
required
metadata
object (Metadata)
required
name
string
required
description
string
required
image
string
required
external_link
string
required
seller_fee_basis_points
integer
required
fee_recipient
string
required
Example
{
"chainId": "ethereum",
"identifier": "",
"address": "0x",
"metadata": {
"name": "collection",
"description": "",
"imageUrl": "",
"externalUrl": "",
"sellerFee": 500,
"feeRecipient": ""
}
}
Request samples
Shell
JavaScript
Java
Swift
Go
PHP
Python
HTTP
C
C#
Objective-C
Ruby
OCaml
Dart
R
Request Request Example
Shell
JavaScript
Java
Swift
curl --location --request POST 'https://metadata.dlab.ovh/api/collections' \
--header 'Authorization: Bearer ' \
--header 'Content-Type: application/json' \
--data-raw '{
"chainId": "ethereum",
"identifier": "",
"address": "0x",
"metadata": {
"name": "collection",
"description": "",
"imageUrl": "",
"externalUrl": "",
"sellerFee": 500,
"feeRecipient": ""
}
}'
Responses
🟢200OK
application/json
Body
object {0}
Example
{}
Modified at 2025-04-11 08:13:27