---
title: "Update App Badge"
method: POST
path: "/badges/{id}/"
---

# Update App Badge

`POST /badges/{id}/`

## Request

- Base URL: `https://cf-blast.livelikecdn.com/api/v1`
- URL: `https://cf-blast.livelikecdn.com/api/v1/badges/{id}/`
- Auth: none required

Create a new badge inside an app that can be awarded to users later

## Path parameters

- `id` string, required

## Request body

- object
  - `client_id` string: Client ID of the app to create the badge in
  - `name` string: Name of the new badge
  - `description` string: Description of the new badge
  - `file` string, binary: Image representation of the new badge
  - `badge_icon_url` string: one of this or file
  - `attributes` object[]: List of {key, value}, each max 200 characters. A duplicate key/value pair on the same badge is rejected.
    - `key` string
    - `value` string
  - `reward_item_id` string: UUID of a RewardItem, nullable.
  - `reward_item_threshold` string: Integer of at least 1, nullable.

## Response `200`

201

## Other responses

- `400`: 400

---

[API](https://skmtc.dev/livelike/apis/engagement-suite.md) - [All operations](https://skmtc.dev/livelike/apis/engagement-suite/llms.txt) - [OpenAPI document](https://skmtc.dev/livelike/apis/engagement-suite/revisions/3e5529c26ce4?raw)
