POST
/
community
/
{id}
/
badge
/
{badgeId}
/
attribution

Authorizations

X-Api-Key
string
header
required

Path Parameters

id
string
required

Community ID

badgeId
string
required

Body

application/json
code
string
required

Claim code (if not using a wallet address)

wallet
string
required

Wallet address (if not using a claim code)

autoClaim
boolean

Automatically claim the badge for the member. On-chain badges will be airdropped to the wallet immediately.

metadata
object

Additional metadata to be included in the badge attribution

Response

200 - application/json
account
object
required
badge
object
required
claimedAt
string
required
earnedAt
string
required
id
string
required
membership
object
required
tokenId
string
required
transactionHash
string
required