---
title: "Create a new custom source record entry"
method: POST
path: "/customsource"
tags: ["customsource"]
---

# Create a new custom source record entry

`POST /customsource`

Create and set all the values for custom sources records

## Request body

- CustomSourcePost[]
  - `org_unit_id` integer, required — The unique identifier for the custom source
  - `custom_source_name` string, required — The identifier for the custom source name
  - `custom_source_type` 'CS1' | 'CS2' | 'CS3' | 'CS4' | 'CS5' — Custom Source Type CS1 through CS5, Default CS1

## Response `200`

The result of the submission and customSourceId for the newly added record

- PostResponse
  - `result` string, required — Outcome of the request. String, typically 'success' or 'error'.
  - `err` string, required — Error message when result='error'. String. Empty/null on success.
  - `data` string — Response payload. Shape varies by endpoint.

## Other responses

- `default` — Unexpected error

---

[API](https://skmtc.net/convirza/apis/convirza-apis.md) · [All operations](https://skmtc.net/convirza/apis/convirza-apis/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/convirza/convirza-apis/versions/ccf9bbe34f5a/schema)
