---
title: "Create custom source"
method: POST
path: "/v1/sources/custom-sources"
tags: ["Sources"]
---

# Create custom source

`POST /v1/sources/custom-sources`

Create a new custom source for the authenticated account.

**⚠️ Beta Version**: This endpoint is in beta and may be subject to changes in future releases.

## Request body

- object — **⚠️ Beta Version**: This schema is in beta and may be subject to changes in future releases.
  - `name` string, required — The name of the custom source
  - `description` string, nullable — The description of the custom source

## Response `201`

Custom source created successfully

- object — **⚠️ Beta Version**: This schema is in beta and may be subject to changes in future releases.
  - `id` string — The ID of the custom source
  - `source_uuid` string — Unique identifier for the custom source
  - `name` string — The name of the custom source
  - `description` string, nullable — The description of the custom source

## Other responses

- `400` — Invalid data
- `401` — Invalid API key
- `403` — Forbidden
- `503` — API under maintenance

---

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