Getting started

Notcha has a public REST API. The app itself runs on it, so it can do what the app does: tickets, comments, time, calendar, people, stats and webhooks. Answers are JSON, times are UTC (ISO 8601).

  • Base URL: https://notcha.cz/api/v1 (works the same on an organization's subdomain, e.g. https://acme.notcha.cz/api/v1)
  • Authentication: Authorization: Bearer <token> – a personal token, an integration's token, or OAuth
  • Encoding: UTF-8, request bodies application/json
  • Every endpoint: API reference

Your first request in 5 minutes

  1. In Notcha open Profile → API and apps → New token. Pick the organization and "Read only". The token is shown once – copy it.
  2. Ask who you are:
curl https://notcha.cz/api/v1/me \
  -H "Authorization: Bearer $NOTCHA_TOKEN" \
  -H "Accept: application/json"
  1. List the projects and the tickets of one of them:
curl https://notcha.cz/api/v1/projects -H "Authorization: Bearer $NOTCHA_TOKEN"
curl "https://notcha.cz/api/v1/projects/WEB/tickets?per_page=20" -H "Authorization: Bearer $NOTCHA_TOKEN"

A ticket is addressed by its project key and number: WEB-12 is /projects/WEB/tickets/12.

Creating a ticket

Writing needs a token with "Read and change" (or at least Tickets → Change) and an organization on the Team plan or higher.

curl -X POST https://notcha.cz/api/v1/projects/WEB/tickets \
  -H "Authorization: Bearer $NOTCHA_TOKEN" \
  -H "Content-Type: application/json" \
  -H "Idempotency-Key: $(uuidgen)" \
  -d '{"title": "Fix the footer on mobile", "description_html": "<p>It overflows on iOS.</p>", "priority": "high"}'
// JavaScript (Node 18+, browser)
const res = await fetch('https://notcha.cz/api/v1/projects/WEB/tickets', {
  method: 'POST',
  headers: {
    Authorization: `Bearer ${process.env.NOTCHA_TOKEN}`,
    'Content-Type': 'application/json',
    'Idempotency-Key': crypto.randomUUID(),
  },
  body: JSON.stringify({ title: 'Fix the footer on mobile', priority: 'high' }),
})
const { data } = await res.json()
console.log(data.ref) // WEB-13
// PHP (Laravel HTTP client or Guzzle)
$ticket = Http::withToken(env('NOTCHA_TOKEN'))
    ->withHeaders(['Idempotency-Key' => (string) Str::uuid()])
    ->post('https://notcha.cz/api/v1/projects/WEB/tickets', ['title' => 'Fix the footer on mobile', 'priority' => 'high'])
    ->throw()->json('data');
# Python (requests)
import os, uuid, requests
r = requests.post(
    "https://notcha.cz/api/v1/projects/WEB/tickets",
    headers={"Authorization": f"Bearer {os.environ['NOTCHA_TOKEN']}", "Idempotency-Key": str(uuid.uuid4())},
    json={"title": "Fix the footer on mobile", "priority": "high"},
)
r.raise_for_status()
print(r.json()["data"]["ref"])

Next

  • Authentication – personal tokens, organization integrations and OAuth for apps
  • API basics – errors, pagination, limits, idempotency, versions
  • Webhooks – Notcha tells you when something changes
  • MCP – Notcha in Claude, ChatGPT and Cursor
  • API reference – every endpoint with its parameters and required scope