Create collection
Staging
https://testserver.loyi.io/public/api
Staging
https://testserver.loyi.io/public/api
POST
/collection
Collection
Request
Header Params
Origin
string
required
Default:
<WHITELISTED_URL>
Example:
https://example.com
Body Params multipart/form-data
name
string
required
description
string
optional
type
enum<string>
required
Allowed values:
oneToOneoneToMany
amount
number
required
isVideo
boolean
required
Default:
false
Example:
false
rewardIds
array[string <uuid>]
required
image
file
required
thumbnail
file
optional
collectibles
file
required
Request samples
Responses
Modified at 2025-06-19 21:23:41