---
title: "Create a new Badge"
method: POST
path: "/badge.json"
tags: ["Badges"]
---

# Create a new Badge

`POST /badge.json`

#### OAuth Scope
This endpoint requires the following OAuth scope **manage_badges**.

			
			
#### Record UUID
UUID is optional for record creation. If no UUID is supplied, a UUID will be automatically generated for the new record and returned in the `x-record-uuid` response header.

## Request body

- BadgeCreate
  - `uuid` string, uuid — Unique identifier for this record
  - `name` string, required — The display name of the badge. Used to identify the badge in the system. Examples include 'Warranty', 'VIP', 'Take Payment Facilities', etc.
  - `automatically_allocated` string
  - `file_name` string
  - `regarding_form_uuid` string, uuid
  - `regarding_asset_type_uuid` string, uuid — UUID of the asset type that this badge is associated with. Only applicable for asset-based badges. When set, the badge represents a specific asset type in the system and will appear on assets of this type.

## Response `200`

Success

- Result
  - `errorCode` number
  - `message` string

## Other responses

- `400` — Bad Request - The request is malformed or contains invalid parameters
- `401` — Unauthorized - Authentication credentials are missing or invalid
- `403` — Forbidden - You don't have permission to create this resource
- `429` — Too Many Requests - You have exceeded the rate limit
- `500` — Internal Server Error - An unexpected error occurred on the server

## Changes

- **2025-09-12** `638a8df09bf4` — 1 warning
  - removed the request property `active`
- **2025-08-14** `ca9b053c4373` — 4 info
  - added the non-success response with the status `401`
  - added the non-success response with the status `403`
  - added the non-success response with the status `429`
  - added the non-success response with the status `500`

[Change history](https://skmtc.dev/servicem8/apis/servicem8-api/changes/badge.json/post.md)

---

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