POST
/
community
/
{id}
/
collection
curl --request POST \
  --url https://api.other.page/v1/community/{id}/collection \
  --header 'Content-Type: application/json' \
  --header 'X-Api-Key: <api-key>' \
  --data '{
  "chainId": "33111",
  "symbol": "OPC",
  "name": "My Community Collection",
  "description": "A collection of community items",
  "image": "https://img.other.page/d4996a15-61f2-49db-907f-8a4969b4d224/my-collection-image.jpg",
  "featuredImage": "https://img.other.page/d4996a15-61f2-49db-907f-8a4969b4d224/my-collection-feat-image.jpg",
  "bannerImage": "https://img.other.page/d4996a15-61f2-49db-907f-8a4969b4d224/my-collection-banner.jpg",
  "externalLink": "https://example.com"
}'

When creating Collections and Mintables you can make use of Community Files to upload images and and use the Other Page image cdn as the source URL. For IPFS images an easy and cost effective solution is to use a service like Pinata to upload and pin the IPFS image.

Authorizations

X-Api-Key
string
header
required

Path Parameters

id
string
required

Community ID

Body

application/json
chainId
enum<number>
required

The blockchain chain ID for the community collection

Available options:
11155111,
33111,
33139
Example:

"33111"

symbol
string
required

The symbol for the community collection

Example:

"OPC"

name
string
required

The name of the community collection

Example:

"My Community Collection"

description
string
required

A description of the community collection

Example:

"A collection of community items"

image
string
required

The image URL for the community collection

Example:

"https://img.other.page/d4996a15-61f2-49db-907f-8a4969b4d224/my-collection-image.jpg"

The featured image URL for the community collection

Example:

"https://img.other.page/d4996a15-61f2-49db-907f-8a4969b4d224/my-collection-feat-image.jpg"

bannerImage
string
required

The banner image URL for the community collection

Example:

"https://img.other.page/d4996a15-61f2-49db-907f-8a4969b4d224/my-collection-banner.jpg"

An external link related to the community collection

Example:

"https://example.com"

Response

201

The mintable collection has been successfully created.