Skip to main content
POST
Create badge attribution

Authorizations

X-Api-Key
string
header
required

Path Parameters

id
string
required

Community ID

badgeId
string
required

Body

application/json
wallet
string
required

Wallet address (if not using a claim code)

code
string
required

Claim code (if not using a wallet address)

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
id
string
required
earnedAt
string<date-time>
required
claimedAt
string<date-time>
required
transactionHash
string
required
tokenId
string
required
badge
object
required
account
object
required
membership
object
required