Parity
Wave 114 · Wave 205 meter · /partners/api

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

Wave 695 · Partners API ladder deepen · SAMPLE
5 rungs

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

  1. Rung 1
    auth
    Auth · SAMPLE

    SAMPLE auth ladder stub.

  2. Rung 2
    endpoints
    Endpoints · SAMPLE

    SAMPLE endpoints ladder stub.

  3. Rung 3
    rate-limits
    Rate Limits · SAMPLE

    SAMPLE rate-limits ladder stub.

  4. Rung 4
    webhooks
    Webhooks · SAMPLE

    SAMPLE webhooks ladder stub.

  5. Rung 5
    docs
    Docs · 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.

Wave 785 · Partners API hub ladder · SAMPLE
5 rungs

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

  1. Rung 1
    hub
    Hub · SAMPLE

    SAMPLE hub ladder stub.

  2. Rung 2
    auth
    Auth · SAMPLE

    SAMPLE auth ladder stub.

  3. Rung 3
    endpoints
    Endpoints · SAMPLE

    SAMPLE endpoints ladder stub.

  4. Rung 4
    webhooks
    Webhooks · SAMPLE

    SAMPLE webhooks ladder stub.

  5. Rung 5
    deeper
    Deeper · 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.

Wave 205

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.

RPM window0 / 60 req
Daily soft cap0 / 5000

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-Limit
  • X-RateLimit-Remaining
  • X-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

POST
unimplemented-stub
webhook · intent.opted_in

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"
  }
}
GET
unimplemented-stub
webhook · quote.requested

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
  }
}
POST
unimplemented-stub
webhook · referral.attributed

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"
                  }
                }
              }
            }
          }
        }
      }
    }
  }
}