Skip to main content
POST
Propose a change for a person to approve

Authorizations

Authorization
string
header
required

A project key (Developers → API keys). Keep it on your server, not in an app.

Headers

traceparent
string

W3C Trace Context; joins your trace to ours

Idempotency-Key
string
required

A retry with the same key and body returns the first response

Required string length: 1 - 255

Body

application/json
changes
object[]
required

What to ask for: 1 to 10 changes, run in this order when a person approves. A later change can refer to a unit or rule key created by an earlier units.create, rules.create or templates.install in the same request (units.create requires name and group: points, progress, badge or perk)

Required array length: 1 - 10 elements
title
string

Up to 120 characters. Defaults to the first change's summary

Required string length: 1 - 120
summary
string

Why, for the person who decides. Up to 1,000 characters

Maximum string length: 1000

Response

Propose a change for a person to approve

A change someone asked for and a person decides. Nothing in it has run until a person approves it.

id
string
required

The prop_… ID

status
enum<string>
required

open waits for a person. approved: a person approved it and its changes ran. declined: a person declined it and nothing ran. expired: nobody decided it within 7 days, so it can no longer be decided.

Available options:
open,
approved,
declined,
expired
title
string
required

A headline: Morning regular goes live

summary
string
required

Why, as the one who asked wrote it; empty if they gave no reason

by
string
required

Who asked: "agent:", "key:", "member:"

via
enum<string>
required

How it was asked for: api, agent, lurky or dashboard (system is not produced today)

Available options:
api,
agent,
lurky,
dashboard,
system
agent
string | null
required

The agent's name: Claude Code

changes
object[]
required

What approving runs, in order

Minimum array length: 1
created_at
string<date-time>
required

When it was created: UTC, ISO 8601

expires_at
string<date-time>
required

When it stops being open if nobody decides: 7 days after it was asked for

decided_at
string<date-time> | null
required

When a person decided it: UTC, ISO 8601; null while it is open or expired

decided_by
string | null
required

"member:" of the person who decided

note
string | null
required

The person's note on their decision

url
string | null
required

Where a person decides it; null where the dashboard's address is not known

included_changes
integer[]

0-based indices of changes that ran when approved; absent until approved

Required range: x >= 0
applied
string[]

Target IDs of each change that ran when approved, matching included_changes in order; absent until approved

key_claims
object[]

One-time key claims created when api_keys.create was approved; absent when none