Community Badges
Create Badge
Create a badge for a community. Badges are used to enable on-chain attestations of achievements, events, and more.
POST
Create badge
Documentation Index
Fetch the complete documentation index at: https://docs.openpage.fun/llms.txt
Use this file to discover all available pages before exploring further.
When creating badges you can make use of Community Files to upload images and and use the OpenPage 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.
New Badges created via the API are marked as
approved by default. To begin creating badge attributions you will need to update the status to live using the Update Badge endpoint. Once Badges are set to live they will be visible publicly on OpenPage and across the OpenPage ecosystem.Approved badges can be previewed at:
https://openpage.fun/badges/{badgeId}Authorizations
Path Parameters
Community ID
Body
application/json
The image URL of the badge. Can be an IPFS url or OpenPage File.
Available options:
achievement, attendance Array of tags. Members with matching tags are eligible to claim the badge.
Available options:
draft, under_review, approved, rejected, live Example:
"live"
The chain ID of the badge.
Example:
"11155111"
Response
201 - undefined
Create badge
