Partner API surface
Stub OpenAPI-style partner surface: auth key, rate limits, and sample JSON for intent create, quote status, and referral.attributed.
Demo partner API only — auth keys, rate limits, and payloads are illustrative stubs. No live HTTP partner backend, signing, or metering in this build. See /partners/api and /api/v1/openapi.json.
Spec 0.2.0-stub · 3 stub endpoints · 6 growth-wired webhook types · 60 req/min illustrative
SAMPLE partners API ladder deepen · 5 rungs · Wave 695
SAMPLE deepen — auth · endpoints · rate-limits · webhooks · docs ladder on /partners/api.
Wave 695 · partners API ladder deepen on /partners/api (≠ partnerApi / partnerRateLimitMeter).
Rungs
5
≠ partnerApi
Kinds
5
Ladder variety
Wave
695
Post-v31.00 deepen
- Rung 1authAuth · SAMPLE
SAMPLE auth ladder stub.
- Rung 2endpointsEndpoints · SAMPLE
SAMPLE endpoints ladder stub.
- Rung 3rate-limitsRate Limits · SAMPLE
SAMPLE rate-limits ladder stub.
- Rung 4webhooksWebhooks · SAMPLE
SAMPLE webhooks ladder stub.
- Rung 5docsDocs · SAMPLE
SAMPLE docs ladder stub.
SAMPLE partners API ladder deepen — ladder on /partners/api. Distinct from related packs (partnerApi / partnerRateLimitMeter). Not live payments, production CRM, claims filing, or licensed advice.
SAMPLE Partners API hub ladder deepen · 5 rungs · Wave 785
SAMPLE deepen — hub · auth · endpoints · webhooks · deeper ladder on /partners/api.
Wave 785 · Partners API hub ladder deepen on /partners/api (≠ partnersApiLadderDeepen / partnerApi / partnerRateLimitMeter). Package 35.6.0.
Rungs
5
≠ partnersApiLadderDeepen
Kinds
5
Ladder variety
Wave
785
Package 35.6.0
- Rung 1hubHub · SAMPLE
SAMPLE hub ladder stub.
- Rung 2authAuth · SAMPLE
SAMPLE auth ladder stub.
- Rung 3endpointsEndpoints · SAMPLE
SAMPLE endpoints ladder stub.
- Rung 4webhooksWebhooks · SAMPLE
SAMPLE webhooks ladder stub.
- Rung 5deeperDeeper · SAMPLE
SAMPLE deeper ladder stub.
SAMPLE Partners API hub ladder deepen — ladder on /partners/api. Distinct from related packs (partnersApiLadderDeepen / partnerApi / partnerRateLimitMeter). Not live payments, production CRM, claims filing, or licensed advice.
Rate-limit usage meter
See partner API RPM and daily soft-cap usage at a glance — stub meter for founders and integrators.
Demo rate-limit meter only — usage counters live in this browser’s localStorage. Limits mirror the illustrative partner API stubs and are never enforced against a live HTTP backend.
Lifetime stub consumes: 0
Auth key stub
Header X-Parity-Partner-Key
pk_demo_parity_aff_7f3a
Stub API key — paste into docs examples only. This demo never validates keys server-side; localStorage billing plan “partner” is the soft-paywall hint.
Rate limits stub
60/min · burst 10 · daily soft 5000
X-RateLimit-LimitX-RateLimit-RemainingX-RateLimit-Reset
Illustrative partner rate limits — not enforced in the browser demo. Future live API will return 429 with these headers.
Stub endpoints & sample payloads
Create shaped intent (stub)
https://parity.demo/api/v1/partners/intents
UNIMPLEMENTED STUB. Future: partner submits anonymized, consenting intent (ZIP, line, timeline). Maps to intent.opted_in webhook.
Request sample
{
"line": "auto",
"zip": "75201",
"timeline": "30d",
"quality_hint": "strong",
"affiliate_code": "AGENCY-DFW",
"consent": true
}Response sample (501 stub)
{
"id": "intent_stub_01HZXDEMO",
"status": "accepted_stub",
"type": "intent.create",
"webhook": "intent.opted_in",
"created_at": "2026-09-27T18:00:00.000Z",
"data": {
"line": "auto",
"zip": "75201",
"score": 84,
"affiliate_code": "AGENCY-DFW"
}
}Quote status (stub)
https://parity.demo/api/v1/partners/quotes/{quoteId}/status
UNIMPLEMENTED STUB. Future: poll illustrative quote lifecycle (requested → quoted → expired). Sample mirrors quote.requested webhook data.
Response sample (501 stub)
{
"id": "quote_stub_01HZXDEMO",
"status": "requested",
"type": "quote.status",
"updated_at": "2026-09-27T18:05:00.000Z",
"data": {
"line": "auto",
"zip": "75201",
"timeline": "30d",
"parity_context": "better_cheaper",
"quality_band": "strong",
"sla_hours_remaining": 3.5
}
}Referral attributed (stub)
https://parity.demo/api/v1/partners/referrals/attributed
UNIMPLEMENTED STUB. Future: partners post or receive referral.attributed when a landing / waitlist signup compounds. Wired to growthEngine attribution drafts in-demo.
Request sample
{
"code": "PARITY-DFW",
"landing": "/growth",
"channel": "affiliate",
"utm_source": "partner",
"utm_medium": "affiliate",
"utm_campaign": "partner_embed"
}Response sample (501 stub)
{
"id": "evt_ref_stub_01HZXDEMO",
"type": "referral.attributed",
"status": "logged_stub",
"created_at": "2026-09-27T18:10:00.000Z",
"data": {
"code": "PARITY-DFW",
"channel": "affiliate",
"landing": "/growth",
"attributed_to": "waitlist.signup",
"metro": "Dallas–Fort Worth"
}
}Webhook events → growth attribution
These catalog events wire into growthEngine / referral compounders when stub-delivered from /partners/webhooks.
waitlist.signup
Waitlist signup
referral.attributed
Referral attributed
quote.requested
Quote requested
intent.opted_in
Intent opted in
partner.interest
Partner interest
coverage.gap_reported
Coverage gap reported
OpenAPI-style stub (0.2.0-stub)
{
"openapi": "3.0.3",
"info": {
"title": "Parity Partner API (stub)",
"version": "0.2.0-stub",
"description": "Demo partner API only — auth keys, rate limits, and payloads are illustrative stubs. No live HTTP partner backend, signing, or metering in this build. See /partners/api and /api/v1/openapi.json."
},
"servers": [
{
"url": "https://parity.demo/api/v1/partners",
"description": "Illustrative partner host"
}
],
"components": {
"securitySchemes": {
"PartnerApiKey": {
"type": "apiKey",
"in": "header",
"name": "X-Parity-Partner-Key",
"description": "Stub API key — paste into docs examples only. This demo never validates keys server-side; localStorage billing plan “partner” is the soft-paywall hint."
}
}
},
"security": [
{
"PartnerApiKey": []
}
],
"x-parity-rate-limits": {
"requestsPerMinute": 60,
"burst": 10,
"dailySoftCap": 5000,
"headers": {
"remaining": "X-RateLimit-Remaining",
"reset": "X-RateLimit-Reset",
"limit": "X-RateLimit-Limit"
},
"blurb": "Illustrative partner rate limits — not enforced in the browser demo. Future live API will return 429 with these headers."
},
"paths": {
"/intents": {
"post": {
"operationId": "createIntent",
"summary": "Create shaped intent (stub)",
"description": "UNIMPLEMENTED STUB. Future: partner submits anonymized, consenting intent (ZIP, line, timeline). Maps to intent.opted_in webhook.",
"x-parity-status": "unimplemented-stub",
"x-parity-webhook": "intent.opted_in",
"responses": {
"501": {
"description": "Not implemented — stub only",
"content": {
"application/json": {
"example": {
"id": "intent_stub_01HZXDEMO",
"status": "accepted_stub",
"type": "intent.create",
"webhook": "intent.opted_in",
"created_at": "2026-09-27T18:00:00.000Z",
"data": {
"line": "auto",
"zip": "75201",
"score": 84,
"affiliate_code": "AGENCY-DFW"
}
}
}
}
}
}
}
},
"/quotes/{quoteId}/status": {
"get": {
"operationId": "getQuoteStatus",
"summary": "Quote status (stub)",
"description": "UNIMPLEMENTED STUB. Future: poll illustrative quote lifecycle (requested → quoted → expired). Sample mirrors quote.requested webhook data.",
"x-parity-status": "unimplemented-stub",
"x-parity-webhook": "quote.requested",
"responses": {
"501": {
"description": "Not implemented — stub only",
"content": {
"application/json": {
"example": {
"id": "quote_stub_01HZXDEMO",
"status": "requested",
"type": "quote.status",
"updated_at": "2026-09-27T18:05:00.000Z",
"data": {
"line": "auto",
"zip": "75201",
"timeline": "30d",
"parity_context": "better_cheaper",
"quality_band": "strong",
"sla_hours_remaining": 3.5
}
}
}
}
}
}
}
},
"/referrals/attributed": {
"post": {
"operationId": "emitReferralAttributed",
"summary": "Referral attributed (stub)",
"description": "UNIMPLEMENTED STUB. Future: partners post or receive referral.attributed when a landing / waitlist signup compounds. Wired to growthEngine attribution drafts in-demo.",
"x-parity-status": "unimplemented-stub",
"x-parity-webhook": "referral.attributed",
"responses": {
"501": {
"description": "Not implemented — stub only",
"content": {
"application/json": {
"example": {
"id": "evt_ref_stub_01HZXDEMO",
"type": "referral.attributed",
"status": "logged_stub",
"created_at": "2026-09-27T18:10:00.000Z",
"data": {
"code": "PARITY-DFW",
"channel": "affiliate",
"landing": "/growth",
"attributed_to": "waitlist.signup",
"metro": "Dallas–Fort Worth"
}
}
}
}
}
}
}
}
}
}