Skip to main content
POST
/
v1
/
custom-sections
Create Custom Section
curl --request POST \
  --url https://api.mokaru.ai/v1/custom-sections \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '
{
  "sectionTitle": "<string>",
  "enabledFields": [
    "<string>"
  ],
  "icon": "<string>"
}
'

Documentation Index

Fetch the complete documentation index at: https://docs.mokaru.ai/llms.txt

Use this file to discover all available pages before exploring further.

Overview

Create a new custom section definition. After creation, add items via POST /v1/custom-sections/:id/items.
Scope required: custom-sections:write | Rate limit: 20 requests/min

Request

POST /v1/custom-sections
Content-Type: application/json

Body Parameters

sectionTitle
string
required
Section title shown in the CV (e.g. “Volunteer Work”)
enabledFields
string[]
required
Which fields items can use. At least one required. Allowed values: "title", "organization", "description", "startDate", "endDate", "url"
icon
string
default:"star"
Lucide icon name shown next to the section

Response

{
  "success": true,
  "id": "clx..."
}