GET
/
community
/
{id}
/
badge
/
{badgeId}
/
code

Authorizations

X-Api-Key
string
header
required

Path Parameters

id
string
required

Community ID

badgeId
string
required

ID of the badge to generate the code for.

Query Parameters

seed
string

Optional seed to generate a one-time use code (this is required and must be a valid wallet address if the code will be consumed by the /attribution endpoint)

expiresIn
number

Number of seconds the code will be valid for. Leave empty if you want the code to be valid indefinitely.

generateQR
boolean
required

Generate a QR image for the code (defaults to true).