cURL
curl --request POST \ --url https://api.op.xyz/v1/launcher/{id}/upsert-attribution \ --header 'Content-Type: application/json' \ --header 'x-api-key: <x-api-key>' \ --data '{ "badgeId": "<string>", "metadata": {}, "jwt": "<string>", "autoClaim": true }'
The badge ID
The launcher session JWT
Additional metadata to be included in the badge attribution
Automatically claim the badge for the member. On-chain badges will be airdropped to the wallet immediately.