---
title: "Create or update a badge attribution"
method: POST
path: "/launcher/{id}/upsert-attribution"
tags: ["Launcher"]
---

# Create or update a badge attribution

`POST /launcher/{id}/upsert-attribution`

## Path parameters

- `id` string, required

## Query parameters

- `conditionKey` string, required
- `condition` string, required

## Headers

- `x-api-key` string, required

## Request body

- CreateBadgeAttributionDto
  - `badgeId` string, required — The badge ID
  - `metadata` object — Additional metadata to be included in the badge attribution
  - `jwt` string, required — The launcher session JWT
  - `autoClaim` boolean — Automatically claim the badge for the member. On-chain badges will be airdropped to the wallet immediately.

## Response `201`

---

[API](https://skmtc.net/openpage/apis/openpage-api-reference.md) · [All operations](https://skmtc.net/openpage/apis/openpage-api-reference/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/openpage/openpage-api-reference/versions/99e35ba4d97e/schema)
