Create an objective
curl --request POST \
--url https://api.kuahr.com/v1/performance/objectives \
--header 'Content-Type: application/json' \
--header 'X-Api-Key: <api-key>' \
--data '
{
"title": "Grow monthly active users",
"description": "Focus on activation",
"cycleLabel": "2026 Q3",
"cycleStart": "2026-07-01",
"cycleEnd": "2026-09-30",
"keyResults": [
{
"description": "Reach 50k MAU",
"targetValue": 50000,
"unit": "users"
}
]
}
'import requests
url = "https://api.kuahr.com/v1/performance/objectives"
payload = {
"title": "Grow monthly active users",
"description": "Focus on activation",
"cycleLabel": "2026 Q3",
"cycleStart": "2026-07-01",
"cycleEnd": "2026-09-30",
"keyResults": [
{
"description": "Reach 50k MAU",
"targetValue": 50000,
"unit": "users"
}
]
}
headers = {
"X-Api-Key": "<api-key>",
"Content-Type": "application/json"
}
response = requests.post(url, json=payload, headers=headers)
print(response.text)const options = {
method: 'POST',
headers: {'X-Api-Key': '<api-key>', 'Content-Type': 'application/json'},
body: JSON.stringify({
title: 'Grow monthly active users',
description: 'Focus on activation',
cycleLabel: '2026 Q3',
cycleStart: '2026-07-01',
cycleEnd: '2026-09-30',
keyResults: [{description: 'Reach 50k MAU', targetValue: 50000, unit: 'users'}]
})
};
fetch('https://api.kuahr.com/v1/performance/objectives', 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.kuahr.com/v1/performance/objectives",
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([
'title' => 'Grow monthly active users',
'description' => 'Focus on activation',
'cycleLabel' => '2026 Q3',
'cycleStart' => '2026-07-01',
'cycleEnd' => '2026-09-30',
'keyResults' => [
[
'description' => 'Reach 50k MAU',
'targetValue' => 50000,
'unit' => 'users'
]
]
]),
CURLOPT_HTTPHEADER => [
"Content-Type: application/json",
"X-Api-Key: <api-key>"
],
]);
$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.kuahr.com/v1/performance/objectives"
payload := strings.NewReader("{\n \"title\": \"Grow monthly active users\",\n \"description\": \"Focus on activation\",\n \"cycleLabel\": \"2026 Q3\",\n \"cycleStart\": \"2026-07-01\",\n \"cycleEnd\": \"2026-09-30\",\n \"keyResults\": [\n {\n \"description\": \"Reach 50k MAU\",\n \"targetValue\": 50000,\n \"unit\": \"users\"\n }\n ]\n}")
req, _ := http.NewRequest("POST", url, payload)
req.Header.Add("X-Api-Key", "<api-key>")
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.kuahr.com/v1/performance/objectives")
.header("X-Api-Key", "<api-key>")
.header("Content-Type", "application/json")
.body("{\n \"title\": \"Grow monthly active users\",\n \"description\": \"Focus on activation\",\n \"cycleLabel\": \"2026 Q3\",\n \"cycleStart\": \"2026-07-01\",\n \"cycleEnd\": \"2026-09-30\",\n \"keyResults\": [\n {\n \"description\": \"Reach 50k MAU\",\n \"targetValue\": 50000,\n \"unit\": \"users\"\n }\n ]\n}")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.kuahr.com/v1/performance/objectives")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Post.new(url)
request["X-Api-Key"] = '<api-key>'
request["Content-Type"] = 'application/json'
request.body = "{\n \"title\": \"Grow monthly active users\",\n \"description\": \"Focus on activation\",\n \"cycleLabel\": \"2026 Q3\",\n \"cycleStart\": \"2026-07-01\",\n \"cycleEnd\": \"2026-09-30\",\n \"keyResults\": [\n {\n \"description\": \"Reach 50k MAU\",\n \"targetValue\": 50000,\n \"unit\": \"users\"\n }\n ]\n}"
response = http.request(request)
puts response.read_body{
"objective": {
"id": "7a8b9c0d-0000-0000-0000-000000000001",
"ownerEmployeeId": "b2c3d4e5-0000-0000-0000-000000000001",
"title": "Grow monthly active users",
"description": "Focus on activation",
"cycleLabel": "2026 Q3",
"cycleStart": "2026-07-01",
"cycleEnd": "2026-09-30",
"status": "Active",
"createdAt": "2026-07-01T09:00:00+00:00",
"updatedAt": "2026-07-01T09:00:00+00:00"
},
"keyResults": [
{
"id": "8b9c0d1e-0000-0000-0000-000000000001",
"objectiveId": "7a8b9c0d-0000-0000-0000-000000000001",
"description": "Reach 50k MAU",
"targetValue": 50000,
"currentValue": 0,
"unit": "users",
"confidenceScore": 0.5
}
],
"checkIns": []
}{
"code": "<string>",
"message": "<string>"
}{
"code": "<string>",
"message": "<string>"
}Performance
Create an objective
Creates an objective with its key results. Requires performance:write.
POST
/
v1
/
performance
/
objectives
Create an objective
curl --request POST \
--url https://api.kuahr.com/v1/performance/objectives \
--header 'Content-Type: application/json' \
--header 'X-Api-Key: <api-key>' \
--data '
{
"title": "Grow monthly active users",
"description": "Focus on activation",
"cycleLabel": "2026 Q3",
"cycleStart": "2026-07-01",
"cycleEnd": "2026-09-30",
"keyResults": [
{
"description": "Reach 50k MAU",
"targetValue": 50000,
"unit": "users"
}
]
}
'import requests
url = "https://api.kuahr.com/v1/performance/objectives"
payload = {
"title": "Grow monthly active users",
"description": "Focus on activation",
"cycleLabel": "2026 Q3",
"cycleStart": "2026-07-01",
"cycleEnd": "2026-09-30",
"keyResults": [
{
"description": "Reach 50k MAU",
"targetValue": 50000,
"unit": "users"
}
]
}
headers = {
"X-Api-Key": "<api-key>",
"Content-Type": "application/json"
}
response = requests.post(url, json=payload, headers=headers)
print(response.text)const options = {
method: 'POST',
headers: {'X-Api-Key': '<api-key>', 'Content-Type': 'application/json'},
body: JSON.stringify({
title: 'Grow monthly active users',
description: 'Focus on activation',
cycleLabel: '2026 Q3',
cycleStart: '2026-07-01',
cycleEnd: '2026-09-30',
keyResults: [{description: 'Reach 50k MAU', targetValue: 50000, unit: 'users'}]
})
};
fetch('https://api.kuahr.com/v1/performance/objectives', 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.kuahr.com/v1/performance/objectives",
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([
'title' => 'Grow monthly active users',
'description' => 'Focus on activation',
'cycleLabel' => '2026 Q3',
'cycleStart' => '2026-07-01',
'cycleEnd' => '2026-09-30',
'keyResults' => [
[
'description' => 'Reach 50k MAU',
'targetValue' => 50000,
'unit' => 'users'
]
]
]),
CURLOPT_HTTPHEADER => [
"Content-Type: application/json",
"X-Api-Key: <api-key>"
],
]);
$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.kuahr.com/v1/performance/objectives"
payload := strings.NewReader("{\n \"title\": \"Grow monthly active users\",\n \"description\": \"Focus on activation\",\n \"cycleLabel\": \"2026 Q3\",\n \"cycleStart\": \"2026-07-01\",\n \"cycleEnd\": \"2026-09-30\",\n \"keyResults\": [\n {\n \"description\": \"Reach 50k MAU\",\n \"targetValue\": 50000,\n \"unit\": \"users\"\n }\n ]\n}")
req, _ := http.NewRequest("POST", url, payload)
req.Header.Add("X-Api-Key", "<api-key>")
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.kuahr.com/v1/performance/objectives")
.header("X-Api-Key", "<api-key>")
.header("Content-Type", "application/json")
.body("{\n \"title\": \"Grow monthly active users\",\n \"description\": \"Focus on activation\",\n \"cycleLabel\": \"2026 Q3\",\n \"cycleStart\": \"2026-07-01\",\n \"cycleEnd\": \"2026-09-30\",\n \"keyResults\": [\n {\n \"description\": \"Reach 50k MAU\",\n \"targetValue\": 50000,\n \"unit\": \"users\"\n }\n ]\n}")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.kuahr.com/v1/performance/objectives")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Post.new(url)
request["X-Api-Key"] = '<api-key>'
request["Content-Type"] = 'application/json'
request.body = "{\n \"title\": \"Grow monthly active users\",\n \"description\": \"Focus on activation\",\n \"cycleLabel\": \"2026 Q3\",\n \"cycleStart\": \"2026-07-01\",\n \"cycleEnd\": \"2026-09-30\",\n \"keyResults\": [\n {\n \"description\": \"Reach 50k MAU\",\n \"targetValue\": 50000,\n \"unit\": \"users\"\n }\n ]\n}"
response = http.request(request)
puts response.read_body{
"objective": {
"id": "7a8b9c0d-0000-0000-0000-000000000001",
"ownerEmployeeId": "b2c3d4e5-0000-0000-0000-000000000001",
"title": "Grow monthly active users",
"description": "Focus on activation",
"cycleLabel": "2026 Q3",
"cycleStart": "2026-07-01",
"cycleEnd": "2026-09-30",
"status": "Active",
"createdAt": "2026-07-01T09:00:00+00:00",
"updatedAt": "2026-07-01T09:00:00+00:00"
},
"keyResults": [
{
"id": "8b9c0d1e-0000-0000-0000-000000000001",
"objectiveId": "7a8b9c0d-0000-0000-0000-000000000001",
"description": "Reach 50k MAU",
"targetValue": 50000,
"currentValue": 0,
"unit": "users",
"confidenceScore": 0.5
}
],
"checkIns": []
}{
"code": "<string>",
"message": "<string>"
}{
"code": "<string>",
"message": "<string>"
}Authorizations
Your API key, e.g. kua_live_… (or kua_test_… in test mode).
Body
application/json
⌘I