Settle for Teams API
v1 — Last updated: October 2026
The Settle for Teams API lets you create decisions, subscribe to webhook events, and search your workspace programmatically. It powers the Settle Zapier integration and is available to all Teams subscribers.
Authentication
Every request requires a workspace API key sent as a Bearer token:
Authorization: Bearer sk_live_your_api_key
Create and manage API keys in your dashboard settings under API keys. Keys are hashed at rest and cannot be retrieved after creation.
Test your key
GET /api/v1/workspace/me
# Response 200
{
"workspace": {
"id": "uuid",
"name": "My Workspace"
}
}Returns your workspace identity. A 401 means the key is invalid or revoked.
Rate limits
GET /api/v1/workspace/me: 60 requests/minute per key.
All other endpoints: 10 requests/minute per workspace.
Exceeding the limit returns 429 Too Many Requests.
Create a decision
POST /api/v1/decisions
Content-Type: application/json
{
"question": "Where should we hold the offsite?",
"options": "Barcelona\nLisbon\nBerlin",
"stakeholder_emails": "alice@acme.com\nbob@acme.com",
"rule": "majority",
"deadline_hours": 24
}| Field | Type | Required | Notes |
|---|---|---|---|
question | string | Yes | 1–140 characters |
options | string or array | Yes | 2–6 options, one per line (or JSON array). Each ≤ 80 chars. |
stakeholder_emails | string or array | Yes | 1–30 email addresses, one per line (or JSON array) |
rule | string | No | majority (default), unanimity, or creator_decides |
deadline_hours | integer | No | 1–720. Default 24. |
Response (201)
{
"short_code": "abc123",
"status": "open",
"decision_url": "https://settle.ink/dashboard/d/abc123",
"vote_url": "https://settle.ink/p/abc123",
"deadline": "2026-10-15T17:00:00.000Z",
"invitations": "sent",
"invited": 2,
"invite_failed": 0
}The decision is created and launched immediately. Stakeholders receive email invitations with personal voting links. The invitations field is "sent", "partial_failure", or "failed".
Errors
| Status | Error | Meaning |
|---|---|---|
| 400 | Validation error | Missing or invalid fields (see message) |
| 402 | subscription_required | No active Teams subscription |
| 402 | participant_limit_reached | Would exceed the 30-participant cap |
| 402 | limit_reached | Monthly decision limit reached |
| 429 | Rate limit | Too many requests |
Search decisions
GET /api/v1/decisions?q=offsite
# Response 200
{
"decisions": [
{
"short_code": "abc123",
"question": "Where should we hold the offsite?",
"status": "settled",
"created_at": "2026-10-14T10:00:00.000Z",
"decision_url": "https://settle.ink/dashboard/d/abc123"
}
]
}Search by short code or question text. Returns up to 20 results, newest first.
Precedent
GET /api/v1/decisions/precedent?q=vendor
# Response 200
{
"precedent_key": "vendor",
"execution_authorized": false,
"results": [
{
"short_code": "abc123",
"question": "Which vendor for Q4?",
"options": [
{ "label": "Acme", "link_url": null, "snapshot_url": null },
{ "label": "Globex", "link_url": "https://globex.example.com", "snapshot_url": null }
],
"winner": {
"id": "uuid",
"label": "Globex",
"link_url": "https://globex.example.com",
"snapshot_url": null,
"option_snapshot_hash": "9f2c…"
},
"settled_at": "2026-11-01T10:00:00.000Z",
"age_days": 6,
"participation": { "voted": 4, "invited": 5 },
"status": "valid",
"superseded_by": null,
"record_url": "https://settle.ink/r/abc123",
"precedent_key": "which vendor for q4",
"execution_authorized": false
}
]
}Settled decisions in your workspace on the same question, newest first. Pass precedent_key for the same question (matched ignoring case and punctuation) or q for every word in the question; with neither, the newest settled decisions. A decision is superseded when a newer settled decision has the same precedent key. Up to 20 results (limit, default 5). Read only: full and draft-only keys both work. Stakeholder names (voters) are included only when the key was created by a workspace owner or admin and the decision is not anonymous. A past choice informs the options and never replaces asking the group; execution_authorized is always false.
Webhooks
Subscribe to events and receive HTTPS POST callbacks when decisions settle, escalate, or complete their action plans.
Subscribe
POST /api/v1/webhooks/subscribe
Content-Type: application/json
{
"event": "decision.settled",
"target_url": "https://hooks.example.com/settle",
"payload_version": 2
}
# Response 200
{
"id": "uuid",
"event": "decision.settled",
"target_url": "https://hooks.example.com/settle",
"created_at": "2026-10-14T10:00:00.000Z"
}Events
| Event | Fires when |
|---|---|
decision.settled | A decision reaches a winning option |
decision.escalated | Deadline passed without a valid result |
action.completed | An action item on a settled decision is completed |
plan.confirmed | All actions on a settled decision are confirmed done |
Webhook payload
POST https://your-target-url
Content-Type: application/json
{
"event": "decision.settled",
"timestamp": "2026-10-14T10:12:00.000Z",
"data": {
"id": "abc123",
"question": "Where should we hold the offsite?",
"winner": "Lisbon",
"rule": "majority",
"respondents": 5,
"deadline": "2026-10-15T17:00:00.000Z",
"settled_at": "2026-10-14T10:12:00.000Z",
"record_url": "https://settle.ink/r/abc123"
}
}Payload version 2
payload_version is optional: 1 (the default) or 2. Subscribe with payload_version: 2 to receive, on every event, the same event, timestamp and data plus payload_version and a decision block. Subscriptions without it keep receiving the payload above, unchanged.
{
"event": "decision.settled",
"timestamp": "2026-10-14T10:12:00.000Z",
"data": { … },
"payload_version": 2,
"decision": {
"outcome_state": "settled",
"winner": {
"id": "uuid",
"label": "Lisbon",
"link_url": null,
"snapshot_url": null,
"option_snapshot_hash": "SHA-256 hex of [label, link_url, snapshot_url] as JSON"
},
"participation": { "voted": 5, "invited": 6 },
"closed_by": { "method": "group" },
"record_url": "https://settle.ink/r/abc123",
"precedent_key": "where should we hold the offsite",
"execution_authorized": false
}
}outcome_state is settled, escalated or unresolved. closed_by.method is group (the rule was met), policy (the deadline policy chose), owner (the owner's or creator's call, with user_id) or manual (settled by hand before the deadline, with user_id); it is null on decision.escalated and when Settle did not record who closed the decision. execution_authorized is always false: a settled decision is a record, never an instruction to act.
Unsubscribe
DELETE /api/v1/webhooks/subscribe/{id}
# Response 200
{ "ok": true }Idempotent. Returns 200 even if the subscription was already removed.
List subscriptions
GET /api/v1/webhooks/subscribe
# Response 200
{
"subscriptions": [
{
"id": "uuid",
"event": "decision.settled",
"target_url": "https://hooks.example.com/settle",
"active": true,
"created_at": "2026-10-14T10:00:00.000Z"
}
]
}Common errors
| Status | Meaning |
|---|---|
| 401 | Missing, invalid, or revoked API key |
| 402 | Subscription required or limit reached |
| 429 | Rate limit exceeded |
| 500 | Internal error (retry with backoff) |
Support
Questions? help@settle.ink