---
title: "Create Badge Alignment"
method: POST
path: "/v1/badge/{badge_id}/alignment"
tags: ["Badge"]
---

# Create Badge Alignment

`POST /v1/badge/{badge_id}/alignment`

Add a new string to the badge's alignment. The input data could be anything typed by the user.

## Path parameters

- `badge_id` integer, required

## Headers

- `X-Access-Token` string, nullable

## Request body

- BadgeAlignmentCreate
  - `external_id` string, nullable
  - `name` string, required
  - `description` string, required
  - `url` string, required
  - `framework` string, nullable
  - `code` string, nullable

## Response `200`

Successful Response

- BadgeAlignment
  - `external_id` string, nullable
  - `name` string, nullable
  - `description` string, nullable
  - `url` string, nullable
  - `framework` string, nullable
  - `code` string, nullable
  - `id` integer, nullable
  - `badge_id` integer, nullable

## Other responses

- `400` — Bad Request
- `401` — Unauthorized
- `403` — Forbidden
- `404` — Not Found
- `410` — Gone
- `422` — Validation Error

---

[API](https://skmtc.net/navigatr/apis/navigatr-api.md) · [All operations](https://skmtc.net/navigatr/apis/navigatr-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/navigatr/navigatr-api/revisions/4039d06e340b/schema)
