---
title: "Create a badge"
method: POST
path: "/api/badges"
tags: ["badges"]
---

# Create a badge

`POST /api/badges`

Create a new badge. Requires administrator privileges.

### Body Parameter Guidelines:
- **title**: Unique name for the badge.
- **description**: Text explanation of the achievement.
- **remote_badge_image_url**: Public URL to an image asset (PNG, GIF, or SVG) representing the badge icon.
- **allow_multiple_awards**: Set to `true` if a user can earn the same badge multiple times (e.g. weekly challenges).

## Request body

- object
  - `badge` object
    - `title` string, required
    - `description` string, required
    - `remote_badge_image_url` string, required
    - `credits_awarded` integer
    - `allow_multiple_awards` boolean

## Response `201`

created

- Badge — Representation of a badge
  - `id` integer, required
  - `title` string, required
  - `slug` string, required
  - `description` string, required
  - `badge_image` object, nullable
    - `url` string
  - `credits_awarded` integer
  - `allow_multiple_awards` boolean
  - `created_at` string, date-time, required
  - `updated_at` string, date-time, required

## Changes

> 59 revisions in range; 8 could not be searched.

- **2026-07-13** (v1) `189b62b952ea` — 1 info
  - endpoint added
- **2026-07-13** (v1) `7db6ba099285` — 1 info
  - endpoint added
- **2023-01-10** (v1) `754f8b25f815` — 1 breaking
  - api path removed without deprecation

[Change history](https://skmtc.dev/forem/apis/forem-api-v1/changes/api/badges/post.md)

---

[API](https://skmtc.dev/forem/apis/forem-api-v1.md) · [All operations](https://skmtc.dev/forem/apis/forem-api-v1/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/forem/forem-api-v1/revisions/1f64f71fc2a7/schema)
