Create Skill
curl --request POST \
--url https://api.mokaru.ai/v1/skills \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
{
"name": "<string>",
"category": "<string>",
"level": "<string>",
"score": 123
}
'import requests
url = "https://api.mokaru.ai/v1/skills"
payload = {
"name": "<string>",
"category": "<string>",
"level": "<string>",
"score": 123
}
headers = {
"Authorization": "Bearer <token>",
"Content-Type": "application/json"
}
response = requests.post(url, json=payload, headers=headers)
print(response.text)const options = {
method: 'POST',
headers: {Authorization: 'Bearer <token>', 'Content-Type': 'application/json'},
body: JSON.stringify({name: '<string>', category: '<string>', level: '<string>', score: 123})
};
fetch('https://api.mokaru.ai/v1/skills', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));<?php
$curl = curl_init();
curl_setopt_array($curl, [
CURLOPT_URL => "https://api.mokaru.ai/v1/skills",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "POST",
CURLOPT_POSTFIELDS => json_encode([
'name' => '<string>',
'category' => '<string>',
'level' => '<string>',
'score' => 123
]),
CURLOPT_HTTPHEADER => [
"Authorization: Bearer <token>",
"Content-Type: application/json"
],
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}package main
import (
"fmt"
"strings"
"net/http"
"io"
)
func main() {
url := "https://api.mokaru.ai/v1/skills"
payload := strings.NewReader("{\n \"name\": \"<string>\",\n \"category\": \"<string>\",\n \"level\": \"<string>\",\n \"score\": 123\n}")
req, _ := http.NewRequest("POST", url, payload)
req.Header.Add("Authorization", "Bearer <token>")
req.Header.Add("Content-Type", "application/json")
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}HttpResponse<String> response = Unirest.post("https://api.mokaru.ai/v1/skills")
.header("Authorization", "Bearer <token>")
.header("Content-Type", "application/json")
.body("{\n \"name\": \"<string>\",\n \"category\": \"<string>\",\n \"level\": \"<string>\",\n \"score\": 123\n}")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.mokaru.ai/v1/skills")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Post.new(url)
request["Authorization"] = 'Bearer <token>'
request["Content-Type"] = 'application/json'
request.body = "{\n \"name\": \"<string>\",\n \"category\": \"<string>\",\n \"level\": \"<string>\",\n \"score\": 123\n}"
response = http.request(request)
puts response.read_body{
"success": true,
"id": "<string>"
}Skills
Create Skill
Create a new skill
POST
/
v1
/
skills
Create Skill
curl --request POST \
--url https://api.mokaru.ai/v1/skills \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
{
"name": "<string>",
"category": "<string>",
"level": "<string>",
"score": 123
}
'import requests
url = "https://api.mokaru.ai/v1/skills"
payload = {
"name": "<string>",
"category": "<string>",
"level": "<string>",
"score": 123
}
headers = {
"Authorization": "Bearer <token>",
"Content-Type": "application/json"
}
response = requests.post(url, json=payload, headers=headers)
print(response.text)const options = {
method: 'POST',
headers: {Authorization: 'Bearer <token>', 'Content-Type': 'application/json'},
body: JSON.stringify({name: '<string>', category: '<string>', level: '<string>', score: 123})
};
fetch('https://api.mokaru.ai/v1/skills', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));<?php
$curl = curl_init();
curl_setopt_array($curl, [
CURLOPT_URL => "https://api.mokaru.ai/v1/skills",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "POST",
CURLOPT_POSTFIELDS => json_encode([
'name' => '<string>',
'category' => '<string>',
'level' => '<string>',
'score' => 123
]),
CURLOPT_HTTPHEADER => [
"Authorization: Bearer <token>",
"Content-Type: application/json"
],
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}package main
import (
"fmt"
"strings"
"net/http"
"io"
)
func main() {
url := "https://api.mokaru.ai/v1/skills"
payload := strings.NewReader("{\n \"name\": \"<string>\",\n \"category\": \"<string>\",\n \"level\": \"<string>\",\n \"score\": 123\n}")
req, _ := http.NewRequest("POST", url, payload)
req.Header.Add("Authorization", "Bearer <token>")
req.Header.Add("Content-Type", "application/json")
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}HttpResponse<String> response = Unirest.post("https://api.mokaru.ai/v1/skills")
.header("Authorization", "Bearer <token>")
.header("Content-Type", "application/json")
.body("{\n \"name\": \"<string>\",\n \"category\": \"<string>\",\n \"level\": \"<string>\",\n \"score\": 123\n}")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.mokaru.ai/v1/skills")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Post.new(url)
request["Authorization"] = 'Bearer <token>'
request["Content-Type"] = 'application/json'
request.body = "{\n \"name\": \"<string>\",\n \"category\": \"<string>\",\n \"level\": \"<string>\",\n \"score\": 123\n}"
response = http.request(request)
puts response.read_body{
"success": true,
"id": "<string>"
}Overview
The Create Skill endpoint lets you add a new skill to your Mokaru account. Common use cases:- AI agent skill extraction - automatically add skills extracted from a job description or resume.
- Profile enrichment - add newly acquired skills to your career profile.
- Bulk import - add skills from an external source or assessment platform.
Scope required:
skills:write | Rate limit: 20 requests/minRequest
POST /v1/skills
Body Parameters
string
required
Skill name (max 200 characters)
string
Skill category. One of: TECHNICAL, SOFT, or LANGUAGE
string
Free-text level label, e.g. “Expert”, “Intermediate”. (max 50 characters)
number
Numeric proficiency 1-5.
Query Parameters
string
Target a specific resume by its id (from
list-resumes). Omit to use your base/default resume; the resume must be self-contained.Example
curl -X POST "https://api.mokaru.ai/v1/skills" \
-H "Authorization: Bearer mk_your_key" \
-H "Content-Type: application/json" \
-d '{
"name": "TypeScript",
"category": "TECHNICAL",
"level": "expert",
"score": 5
}'
Response
boolean
Whether the skill was created
string
The new skill’s unique ID
{
"success": true,
"id": "clx1234..."
}
Was this page helpful?
⌘I
