{"openapi":"3.1.0","info":{"title":"P3 API","version":"1.0.0","description":"The P3 API: area indexes and risk, P3 Value, passport checks, protection quotes and binding, and webhooks.\n\n**Authentication.** Send your key as a bearer token: `Authorization: Bearer p3_live_…`. Keys starting `p3_test_` use the sandbox: synthetic homes and passports, instant fake payments, nothing real is bound. Enterprise clients may use OAuth 2.0 client credentials instead.\n\n**Errors** share one shape: `{ \"error\": { \"code\", \"message\", \"details\", \"request_id\" } }`.\n\n**Money** is `{ \"amount_minor\", \"currency\" }` in minor units. Rates are basis points (`*_bp`).\n\n**Idempotency.** POST requests take an `Idempotency-Key` header (required to bind); repeating it within 24 hours replays the first answer.\n\n**Pagination** is by cursor: `limit` (1–100) and `cursor` from `next_cursor`.\n\n**Caching.** Reads return an `ETag`; send it back as `If-None-Match` to get `304 Not Modified`.\n\n**Limits** per plan (per key per minute; per organisation per month, live keys only). Past either, the API answers 429 with `Retry-After`.\n\n| Plan | Per minute | Per month | Scopes |\n| --- | --- | --- | --- |\n| open | 60 | 10,000 | index:read, passports:verify |\n| pro | 600 | 500,000 | index:read, valuations:read, passports:verify, protection:quote, webhooks:manage |\n| enterprise | 3,000 | agreed per contract | index:read, valuations:read, passports:verify, protection:quote, protection:bind, webhooks:manage |\n\nP3 protection is provided with licensed insurers; every quote and policy names the insurer. P3 never promises a return.","contact":{"name":"P3 developer support","email":"developers@p3.example"}},"servers":[{"url":"https://api.pthree.vip/v1","description":"P3 API"}],"tags":[{"name":"Market data","description":"Areas, the P3 Price and Rent Indexes, and risk."},{"name":"Valuations","description":"P3 Value, P3's automated valuation."},{"name":"Passports","description":"Digital Property Passport checks."},{"name":"Protection","description":"Quotes, binding and policies."},{"name":"Webhook endpoints","description":"Addresses that receive signed events (the events are listed under Webhooks)."},{"name":"Authentication","description":"OAuth 2.0 client credentials (Enterprise)."},{"name":"Meta","description":"This document."}],"paths":{"/areas":{"get":{"operationId":"listAreas","summary":"List areas","description":"Every area P3 covers, with the latest P3 Price and Rent Index, the last 12 months' change and the risk band.\n\nScope: `index:read`.","tags":["Market data"],"security":[{"bearerAuth":[]},{"oauth2":["index:read"]}],"parameters":[{"in":"query","name":"limit","schema":{"example":"25","type":"string"},"description":"Items per page, 1 to 100 (default 25)."},{"in":"query","name":"cursor","schema":{"type":"string"},"description":"The `next_cursor` of the previous page."},{"in":"query","name":"city","schema":{"type":"string","maxLength":80,"pattern":"^[a-z0-9]+(?:-[a-z0-9]+)*$"},"description":"Only areas in this city, e.g. dubai."}],"responses":{"200":{"description":"A page of areas.","headers":{"RateLimit-Limit":{"required":true,"description":"Requests allowed per minute for this key.","schema":{"type":"string","description":"Requests allowed per minute for this key."}},"RateLimit-Remaining":{"required":true,"description":"Requests left in this minute.","schema":{"type":"string","description":"Requests left in this minute."}},"RateLimit-Reset":{"required":true,"description":"Seconds until the minute resets.","schema":{"type":"string","description":"Seconds until the minute resets."}},"Request-Id":{"required":true,"description":"Quote it to P3 support.","schema":{"type":"string","description":"Quote it to P3 support."}},"ETag":{"required":true,"description":"Send as If-None-Match to get 304 when unchanged.","schema":{"type":"string","description":"Send as If-None-Match to get 304 when unchanged."}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/AreaList"}}}},"304":{"description":"Not modified since the ETag you sent."},"400":{"description":"Error: invalid_request.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"401":{"description":"Error: unauthenticated, invalid_credentials.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"403":{"description":"Error: insufficient_scope.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"429":{"description":"Error: rate_limited, quota_exceeded.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"500":{"description":"Error: internal_error.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}}}},"/index/price":{"get":{"operationId":"getPriceIndex","summary":"P3 Price Index for an area","description":"Published monthly levels of an area's P3 Price Index (base month = 100), oldest first, with the 90% range.\n\nScope: `index:read`.","tags":["Market data"],"security":[{"bearerAuth":[]},{"oauth2":["index:read"]}],"parameters":[{"in":"query","name":"limit","schema":{"example":"25","type":"string"},"description":"Items per page, 1 to 100 (default 25)."},{"in":"query","name":"cursor","schema":{"type":"string"},"description":"The `next_cursor` of the previous page."},{"in":"query","name":"area","schema":{"type":"string","maxLength":80,"pattern":"^[a-z0-9]+(?:-[a-z0-9]+)*$","example":"dubai-marina"},"description":"The area's slug (GET /v1/areas).","required":true},{"in":"query","name":"from","schema":{"type":"string","pattern":"^\\d{4}-(0[1-9]|1[0-2])$","example":"2026-08"},"description":"First month, inclusive."},{"in":"query","name":"to","schema":{"type":"string","pattern":"^\\d{4}-(0[1-9]|1[0-2])$","example":"2026-08"},"description":"Last month, inclusive."}],"responses":{"200":{"description":"Index levels.","headers":{"RateLimit-Limit":{"required":true,"description":"Requests allowed per minute for this key.","schema":{"type":"string","description":"Requests allowed per minute for this key."}},"RateLimit-Remaining":{"required":true,"description":"Requests left in this minute.","schema":{"type":"string","description":"Requests left in this minute."}},"RateLimit-Reset":{"required":true,"description":"Seconds until the minute resets.","schema":{"type":"string","description":"Seconds until the minute resets."}},"Request-Id":{"required":true,"description":"Quote it to P3 support.","schema":{"type":"string","description":"Quote it to P3 support."}},"ETag":{"required":true,"description":"Send as If-None-Match to get 304 when unchanged.","schema":{"type":"string","description":"Send as If-None-Match to get 304 when unchanged."}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/IndexSeries"}}}},"304":{"description":"Not modified since the ETag you sent."},"400":{"description":"Error: invalid_request.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"401":{"description":"Error: unauthenticated, invalid_credentials.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"403":{"description":"Error: insufficient_scope.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"404":{"description":"Error: not_found.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"429":{"description":"Error: rate_limited, quota_exceeded.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"500":{"description":"Error: internal_error.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}}}},"/index/rent":{"get":{"operationId":"getRentIndex","summary":"P3 Rent Index for an area","description":"Published monthly levels of an area's P3 Rent Index, oldest first.\n\nScope: `index:read`.","tags":["Market data"],"security":[{"bearerAuth":[]},{"oauth2":["index:read"]}],"parameters":[{"in":"query","name":"limit","schema":{"example":"25","type":"string"},"description":"Items per page, 1 to 100 (default 25)."},{"in":"query","name":"cursor","schema":{"type":"string"},"description":"The `next_cursor` of the previous page."},{"in":"query","name":"area","schema":{"type":"string","maxLength":80,"pattern":"^[a-z0-9]+(?:-[a-z0-9]+)*$","example":"dubai-marina"},"description":"The area's slug (GET /v1/areas).","required":true},{"in":"query","name":"from","schema":{"type":"string","pattern":"^\\d{4}-(0[1-9]|1[0-2])$","example":"2026-08"},"description":"First month, inclusive."},{"in":"query","name":"to","schema":{"type":"string","pattern":"^\\d{4}-(0[1-9]|1[0-2])$","example":"2026-08"},"description":"Last month, inclusive."}],"responses":{"200":{"description":"Index levels.","headers":{"RateLimit-Limit":{"required":true,"description":"Requests allowed per minute for this key.","schema":{"type":"string","description":"Requests allowed per minute for this key."}},"RateLimit-Remaining":{"required":true,"description":"Requests left in this minute.","schema":{"type":"string","description":"Requests left in this minute."}},"RateLimit-Reset":{"required":true,"description":"Seconds until the minute resets.","schema":{"type":"string","description":"Seconds until the minute resets."}},"Request-Id":{"required":true,"description":"Quote it to P3 support.","schema":{"type":"string","description":"Quote it to P3 support."}},"ETag":{"required":true,"description":"Send as If-None-Match to get 304 when unchanged.","schema":{"type":"string","description":"Send as If-None-Match to get 304 when unchanged."}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/IndexSeries"}}}},"304":{"description":"Not modified since the ETag you sent."},"400":{"description":"Error: invalid_request.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"401":{"description":"Error: unauthenticated, invalid_credentials.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"403":{"description":"Error: insufficient_scope.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"404":{"description":"Error: not_found.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"429":{"description":"Error: rate_limited, quota_exceeded.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"500":{"description":"Error: internal_error.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}}}},"/risk/{area}":{"get":{"operationId":"getAreaRisk","summary":"An area's risk score","description":"The latest published risk score (0–100), its band and the six drivers behind it.\n\nScope: `index:read`.","tags":["Market data"],"security":[{"bearerAuth":[]},{"oauth2":["index:read"]}],"parameters":[{"in":"path","name":"area","schema":{"type":"string","maxLength":80,"pattern":"^[a-z0-9]+(?:-[a-z0-9]+)*$","example":"dubai-marina"},"description":"The area's slug.","required":true}],"responses":{"200":{"description":"The latest risk score.","headers":{"RateLimit-Limit":{"required":true,"description":"Requests allowed per minute for this key.","schema":{"type":"string","description":"Requests allowed per minute for this key."}},"RateLimit-Remaining":{"required":true,"description":"Requests left in this minute.","schema":{"type":"string","description":"Requests left in this minute."}},"RateLimit-Reset":{"required":true,"description":"Seconds until the minute resets.","schema":{"type":"string","description":"Seconds until the minute resets."}},"Request-Id":{"required":true,"description":"Quote it to P3 support.","schema":{"type":"string","description":"Quote it to P3 support."}},"ETag":{"required":true,"description":"Send as If-None-Match to get 304 when unchanged.","schema":{"type":"string","description":"Send as If-None-Match to get 304 when unchanged."}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/RiskScore"}}}},"304":{"description":"Not modified since the ETag you sent."},"401":{"description":"Error: unauthenticated, invalid_credentials.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"403":{"description":"Error: insufficient_scope.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"404":{"description":"Error: not_found.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"429":{"description":"Error: rate_limited, quota_exceeded.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"500":{"description":"Error: internal_error.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}}}},"/valuations/{property_id}":{"get":{"operationId":"getValuation","summary":"P3 Value of a home","description":"The latest P3 Value of a home your organisation owns, or whose owner shared it with your organisation (consent). Other homes return consent_required.\n\nScope: `valuations:read`.","tags":["Valuations"],"security":[{"bearerAuth":[]},{"oauth2":["valuations:read"]}],"parameters":[{"in":"path","name":"property_id","schema":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$","example":"01900000-0000-7000-8000-000000000201"},"description":"A home your organisation owns, or that its owner shared with you.","required":true}],"responses":{"200":{"description":"The latest P3 Value.","headers":{"RateLimit-Limit":{"required":true,"description":"Requests allowed per minute for this key.","schema":{"type":"string","description":"Requests allowed per minute for this key."}},"RateLimit-Remaining":{"required":true,"description":"Requests left in this minute.","schema":{"type":"string","description":"Requests left in this minute."}},"RateLimit-Reset":{"required":true,"description":"Seconds until the minute resets.","schema":{"type":"string","description":"Seconds until the minute resets."}},"Request-Id":{"required":true,"description":"Quote it to P3 support.","schema":{"type":"string","description":"Quote it to P3 support."}},"ETag":{"required":true,"description":"Send as If-None-Match to get 304 when unchanged.","schema":{"type":"string","description":"Send as If-None-Match to get 304 when unchanged."}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Valuation"}}}},"304":{"description":"Not modified since the ETag you sent."},"401":{"description":"Error: unauthenticated, invalid_credentials.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"403":{"description":"Error: consent_required, plan_required.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"404":{"description":"Error: not_found.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"429":{"description":"Error: rate_limited, quota_exceeded.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"500":{"description":"Error: internal_error.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}}}},"/valuations":{"post":{"operationId":"estimateValuation","summary":"Estimate a value for a described home","description":"P3 Value for a home that is not in P3 yet, from its area, type, size and details. Nothing is stored.\n\nScope: `valuations:read`.","tags":["Valuations"],"security":[{"bearerAuth":[]},{"oauth2":["valuations:read"]}],"parameters":[{"in":"header","name":"Idempotency-Key","schema":{"type":"string"},"description":"A unique key (up to 255 characters) for this request. Repeating it within 24 hours returns the first answer instead of acting twice."}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ValuationEstimateRequest"}}}},"responses":{"200":{"description":"The estimate.","headers":{"RateLimit-Limit":{"required":true,"description":"Requests allowed per minute for this key.","schema":{"type":"string","description":"Requests allowed per minute for this key."}},"RateLimit-Remaining":{"required":true,"description":"Requests left in this minute.","schema":{"type":"string","description":"Requests left in this minute."}},"RateLimit-Reset":{"required":true,"description":"Seconds until the minute resets.","schema":{"type":"string","description":"Seconds until the minute resets."}},"Request-Id":{"required":true,"description":"Quote it to P3 support.","schema":{"type":"string","description":"Quote it to P3 support."}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ValuationEstimate"}}}},"400":{"description":"Error: invalid_request.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"401":{"description":"Error: unauthenticated, invalid_credentials.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"403":{"description":"Error: plan_required.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"404":{"description":"Error: not_found.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"409":{"description":"Error: idempotency_conflict.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"422":{"description":"Error: validation_failed.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"429":{"description":"Error: rate_limited, quota_exceeded.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"500":{"description":"Error: internal_error.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}}}},"/passports/{code}/verify":{"get":{"operationId":"verifyPassport","summary":"Verify a Digital Property Passport","description":"The public-safe summary anyone sees when they scan the passport's QR code: whether it is real and current, its level, and what the owner allows.\n\nScope: `passports:verify`.","tags":["Passports"],"security":[{"bearerAuth":[]},{"oauth2":["passports:verify"]}],"parameters":[{"in":"path","name":"code","schema":{"type":"string","example":"P3DEM0MAR1NA"},"description":"The 12-character passport code.","required":true}],"responses":{"200":{"description":"The check.","headers":{"RateLimit-Limit":{"required":true,"description":"Requests allowed per minute for this key.","schema":{"type":"string","description":"Requests allowed per minute for this key."}},"RateLimit-Remaining":{"required":true,"description":"Requests left in this minute.","schema":{"type":"string","description":"Requests left in this minute."}},"RateLimit-Reset":{"required":true,"description":"Seconds until the minute resets.","schema":{"type":"string","description":"Seconds until the minute resets."}},"Request-Id":{"required":true,"description":"Quote it to P3 support.","schema":{"type":"string","description":"Quote it to P3 support."}},"ETag":{"required":true,"description":"Send as If-None-Match to get 304 when unchanged.","schema":{"type":"string","description":"Send as If-None-Match to get 304 when unchanged."}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/PassportVerification"}}}},"304":{"description":"Not modified since the ETag you sent."},"400":{"description":"Error: invalid_request.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"401":{"description":"Error: unauthenticated, invalid_credentials.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"403":{"description":"Error: insufficient_scope.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"429":{"description":"Error: rate_limited, quota_exceeded.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"500":{"description":"Error: internal_error.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}}}},"/protection/quotes":{"post":{"operationId":"createQuote","summary":"Ask for a protection quote","description":"P3 Shield or Shield Plus for a home you may see (the owner pays in P3 through checkout_url), Developer Shield for a sold unit, or Bank Shield for a mortgage at closing (the borrower's policy, with your bank as loss payee).\n\nScope: `protection:quote`.","tags":["Protection"],"security":[{"bearerAuth":[]},{"oauth2":["protection:quote"]}],"parameters":[{"in":"header","name":"Idempotency-Key","schema":{"type":"string"},"description":"A unique key (up to 255 characters) for this request. Repeating it within 24 hours returns the first answer instead of acting twice."}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/QuoteRequest"}}}},"responses":{"201":{"description":"The quote.","headers":{"RateLimit-Limit":{"required":true,"description":"Requests allowed per minute for this key.","schema":{"type":"string","description":"Requests allowed per minute for this key."}},"RateLimit-Remaining":{"required":true,"description":"Requests left in this minute.","schema":{"type":"string","description":"Requests left in this minute."}},"RateLimit-Reset":{"required":true,"description":"Seconds until the minute resets.","schema":{"type":"string","description":"Seconds until the minute resets."}},"Request-Id":{"required":true,"description":"Quote it to P3 support.","schema":{"type":"string","description":"Quote it to P3 support."}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Quote"}}}},"400":{"description":"Error: invalid_request.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"401":{"description":"Error: unauthenticated, invalid_credentials.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"403":{"description":"Error: consent_required, plan_required.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"404":{"description":"Error: not_found.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"409":{"description":"Error: idempotency_conflict, idempotency_in_progress.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"422":{"description":"Error: validation_failed, not_quotable.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"429":{"description":"Error: rate_limited, quota_exceeded.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"500":{"description":"Error: internal_error.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}}}},"/protection/quotes/{id}":{"get":{"operationId":"getQuote","summary":"Get a quote","description":"A quote your organisation asked for.\n\nScope: `protection:quote`.","tags":["Protection"],"security":[{"bearerAuth":[]},{"oauth2":["protection:quote"]}],"parameters":[{"in":"path","name":"id","schema":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$","example":"01900000-0000-7000-8000-000000000201"},"description":"The object's id.","required":true}],"responses":{"200":{"description":"The quote.","headers":{"RateLimit-Limit":{"required":true,"description":"Requests allowed per minute for this key.","schema":{"type":"string","description":"Requests allowed per minute for this key."}},"RateLimit-Remaining":{"required":true,"description":"Requests left in this minute.","schema":{"type":"string","description":"Requests left in this minute."}},"RateLimit-Reset":{"required":true,"description":"Seconds until the minute resets.","schema":{"type":"string","description":"Seconds until the minute resets."}},"Request-Id":{"required":true,"description":"Quote it to P3 support.","schema":{"type":"string","description":"Quote it to P3 support."}},"ETag":{"required":true,"description":"Send as If-None-Match to get 304 when unchanged.","schema":{"type":"string","description":"Send as If-None-Match to get 304 when unchanged."}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Quote"}}}},"304":{"description":"Not modified since the ETag you sent."},"401":{"description":"Error: unauthenticated, invalid_credentials.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"403":{"description":"Error: insufficient_scope.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"404":{"description":"Error: not_found.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"429":{"description":"Error: rate_limited, quota_exceeded.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"500":{"description":"Error: internal_error.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}}}},"/protection/policies":{"post":{"operationId":"bindPolicy","summary":"Bind a policy","description":"Binds a Developer Shield or Bank Shield quote under your programme's invoice terms (Enterprise plan, approved partners). A quote the policyholder pays answers payment_required with its checkout_url; once paid, this returns the policy.\n\nScope: `protection:bind`.","tags":["Protection"],"security":[{"bearerAuth":[]},{"oauth2":["protection:bind"]}],"parameters":[{"in":"header","name":"Idempotency-Key","schema":{"type":"string"},"description":"A unique key (up to 255 characters) for this request. Repeating it within 24 hours returns the first answer instead of acting twice.","required":true}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/BindRequest"}}}},"responses":{"201":{"description":"The bound policy.","headers":{"RateLimit-Limit":{"required":true,"description":"Requests allowed per minute for this key.","schema":{"type":"string","description":"Requests allowed per minute for this key."}},"RateLimit-Remaining":{"required":true,"description":"Requests left in this minute.","schema":{"type":"string","description":"Requests left in this minute."}},"RateLimit-Reset":{"required":true,"description":"Seconds until the minute resets.","schema":{"type":"string","description":"Seconds until the minute resets."}},"Request-Id":{"required":true,"description":"Quote it to P3 support.","schema":{"type":"string","description":"Quote it to P3 support."}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Policy"}}}},"400":{"description":"Error: idempotency_key_required.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"401":{"description":"Error: unauthenticated, invalid_credentials.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"402":{"description":"Error: payment_required, payment_failed.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"403":{"description":"Error: binding_not_allowed, plan_required.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"404":{"description":"Error: not_found.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"409":{"description":"Error: quote_not_open, idempotency_conflict, idempotency_in_progress.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"422":{"description":"Error: validation_failed.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"429":{"description":"Error: rate_limited, quota_exceeded.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"500":{"description":"Error: internal_error.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}}}},"/policies/{id}":{"get":{"operationId":"getPolicy","summary":"Get a policy","description":"A policy your organisation bound, is loss payee on, or holds through a home it owns. Always names the licensed insurer.\n\nScope: `protection:quote` or `protection:bind`.","tags":["Protection"],"security":[{"bearerAuth":[]},{"oauth2":["protection:quote","protection:bind"]}],"parameters":[{"in":"path","name":"id","schema":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$","example":"01900000-0000-7000-8000-000000000201"},"description":"The object's id.","required":true}],"responses":{"200":{"description":"The policy.","headers":{"RateLimit-Limit":{"required":true,"description":"Requests allowed per minute for this key.","schema":{"type":"string","description":"Requests allowed per minute for this key."}},"RateLimit-Remaining":{"required":true,"description":"Requests left in this minute.","schema":{"type":"string","description":"Requests left in this minute."}},"RateLimit-Reset":{"required":true,"description":"Seconds until the minute resets.","schema":{"type":"string","description":"Seconds until the minute resets."}},"Request-Id":{"required":true,"description":"Quote it to P3 support.","schema":{"type":"string","description":"Quote it to P3 support."}},"ETag":{"required":true,"description":"Send as If-None-Match to get 304 when unchanged.","schema":{"type":"string","description":"Send as If-None-Match to get 304 when unchanged."}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Policy"}}}},"304":{"description":"Not modified since the ETag you sent."},"401":{"description":"Error: unauthenticated, invalid_credentials.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"403":{"description":"Error: insufficient_scope.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"404":{"description":"Error: not_found.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"429":{"description":"Error: rate_limited, quota_exceeded.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"500":{"description":"Error: internal_error.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}}}},"/webhooks":{"post":{"operationId":"createWebhook","summary":"Add a webhook endpoint","description":"Subscribes a public HTTPS address to events. The signing secret is returned once. Test keys add sandbox endpoints.\n\nScope: `webhooks:manage`.","tags":["Webhook endpoints"],"security":[{"bearerAuth":[]},{"oauth2":["webhooks:manage"]}],"parameters":[{"in":"header","name":"Idempotency-Key","schema":{"type":"string"},"description":"A unique key (up to 255 characters) for this request. Repeating it within 24 hours returns the first answer instead of acting twice."}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/WebhookEndpointCreate"}}}},"responses":{"201":{"description":"The endpoint, with its secret (shown once).","headers":{"RateLimit-Limit":{"required":true,"description":"Requests allowed per minute for this key.","schema":{"type":"string","description":"Requests allowed per minute for this key."}},"RateLimit-Remaining":{"required":true,"description":"Requests left in this minute.","schema":{"type":"string","description":"Requests left in this minute."}},"RateLimit-Reset":{"required":true,"description":"Seconds until the minute resets.","schema":{"type":"string","description":"Seconds until the minute resets."}},"Request-Id":{"required":true,"description":"Quote it to P3 support.","schema":{"type":"string","description":"Quote it to P3 support."}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/WebhookEndpointCreated"}}}},"401":{"description":"Error: unauthenticated, invalid_credentials.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"403":{"description":"Error: plan_required.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"409":{"description":"Error: idempotency_conflict.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"422":{"description":"Error: validation_failed.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"429":{"description":"Error: rate_limited, quota_exceeded.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"500":{"description":"Error: internal_error.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}}},"get":{"operationId":"listWebhooks","summary":"List webhook endpoints","description":"Your organisation's endpoints in this key's environment.\n\nScope: `webhooks:manage`.","tags":["Webhook endpoints"],"security":[{"bearerAuth":[]},{"oauth2":["webhooks:manage"]}],"parameters":[{"in":"query","name":"limit","schema":{"example":"25","type":"string"},"description":"Items per page, 1 to 100 (default 25)."},{"in":"query","name":"cursor","schema":{"type":"string"},"description":"The `next_cursor` of the previous page."}],"responses":{"200":{"description":"A page of endpoints.","headers":{"RateLimit-Limit":{"required":true,"description":"Requests allowed per minute for this key.","schema":{"type":"string","description":"Requests allowed per minute for this key."}},"RateLimit-Remaining":{"required":true,"description":"Requests left in this minute.","schema":{"type":"string","description":"Requests left in this minute."}},"RateLimit-Reset":{"required":true,"description":"Seconds until the minute resets.","schema":{"type":"string","description":"Seconds until the minute resets."}},"Request-Id":{"required":true,"description":"Quote it to P3 support.","schema":{"type":"string","description":"Quote it to P3 support."}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/WebhookEndpointList"}}}},"400":{"description":"Error: invalid_request.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"401":{"description":"Error: unauthenticated, invalid_credentials.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"403":{"description":"Error: plan_required.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"429":{"description":"Error: rate_limited, quota_exceeded.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"500":{"description":"Error: internal_error.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}}}},"/webhooks/{id}":{"delete":{"operationId":"deleteWebhook","summary":"Delete a webhook endpoint","description":"Stops deliveries to the endpoint.\n\nScope: `webhooks:manage`.","tags":["Webhook endpoints"],"security":[{"bearerAuth":[]},{"oauth2":["webhooks:manage"]}],"parameters":[{"in":"path","name":"id","schema":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$","example":"01900000-0000-7000-8000-000000000201"},"description":"The object's id.","required":true}],"responses":{"200":{"description":"Deleted.","headers":{"RateLimit-Limit":{"required":true,"description":"Requests allowed per minute for this key.","schema":{"type":"string","description":"Requests allowed per minute for this key."}},"RateLimit-Remaining":{"required":true,"description":"Requests left in this minute.","schema":{"type":"string","description":"Requests left in this minute."}},"RateLimit-Reset":{"required":true,"description":"Seconds until the minute resets.","schema":{"type":"string","description":"Seconds until the minute resets."}},"Request-Id":{"required":true,"description":"Quote it to P3 support.","schema":{"type":"string","description":"Quote it to P3 support."}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Deleted"}}}},"401":{"description":"Error: unauthenticated, invalid_credentials.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"403":{"description":"Error: plan_required.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"404":{"description":"Error: not_found.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"429":{"description":"Error: rate_limited, quota_exceeded.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"500":{"description":"Error: internal_error.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}}}},"/openapi.json":{"get":{"operationId":"getOpenApi","summary":"This document","description":"The OpenAPI 3.1 description of the API.","tags":["Meta"],"security":[],"responses":{"200":{"description":"The OpenAPI 3.1 document.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/OpenApiDocument"}}}}}}},"/oauth/token":{"post":{"operationId":"createToken","summary":"Get an OAuth access token","description":"OAuth 2.0 client credentials (Enterprise). Exchange a client id and secret for a one-hour bearer token.","tags":["Authentication"],"security":[],"requestBody":{"content":{"application/x-www-form-urlencoded":{"schema":{"$ref":"#/components/schemas/TokenRequest"}},"application/json":{"schema":{"$ref":"#/components/schemas/TokenRequest"}}}},"responses":{"200":{"description":"An access token.","headers":{"RateLimit-Limit":{"required":true,"description":"Requests allowed per minute for this key.","schema":{"type":"string","description":"Requests allowed per minute for this key."}},"RateLimit-Remaining":{"required":true,"description":"Requests left in this minute.","schema":{"type":"string","description":"Requests left in this minute."}},"RateLimit-Reset":{"required":true,"description":"Seconds until the minute resets.","schema":{"type":"string","description":"Seconds until the minute resets."}},"Request-Id":{"required":true,"description":"Quote it to P3 support.","schema":{"type":"string","description":"Quote it to P3 support."}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/TokenResponse"}}}},"400":{"description":"Error: invalid_request, unsupported_grant_type, invalid_scope.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"401":{"description":"Error: invalid_client.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"403":{"description":"Error: plan_required.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"429":{"description":"Error: rate_limited.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}}}}},"webhooks":{"index.published":{"post":{"operationId":"webhook_index_published","summary":"index.published","description":"A month of the P3 Price or Rent Index was published for an area. Signed with the `P3-Signature` header: `t=<unix seconds>,v1=<hex HMAC-SHA256 of \"<t>.<body>\">`.","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/IndexPublishedEvent"}}}},"responses":{"200":{"description":"Any 2xx acknowledges the delivery."}}}},"valuation.completed":{"post":{"operationId":"webhook_valuation_completed","summary":"valuation.completed","description":"P3 Value was worked out again for a home you may see. Signed with the `P3-Signature` header: `t=<unix seconds>,v1=<hex HMAC-SHA256 of \"<t>.<body>\">`.","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ValuationCompletedEvent"}}}},"responses":{"200":{"description":"Any 2xx acknowledges the delivery."}}}},"policy.bound":{"post":{"operationId":"webhook_policy_bound","summary":"policy.bound","description":"A policy your organisation is party to became active. Signed with the `P3-Signature` header: `t=<unix seconds>,v1=<hex HMAC-SHA256 of \"<t>.<body>\">`.","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/PolicyBoundEvent"}}}},"responses":{"200":{"description":"Any 2xx acknowledges the delivery."}}}},"policy.renewal_due":{"post":{"operationId":"webhook_policy_renewal_due","summary":"policy.renewal_due","description":"A policy your organisation is party to is coming up for renewal. Signed with the `P3-Signature` header: `t=<unix seconds>,v1=<hex HMAC-SHA256 of \"<t>.<body>\">`.","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/PolicyRenewalDueEvent"}}}},"responses":{"200":{"description":"Any 2xx acknowledges the delivery."}}}},"claim.decided":{"post":{"operationId":"webhook_claim_decided","summary":"claim.decided","description":"A claim on one of your policies was approved or rejected. Signed with the `P3-Signature` header: `t=<unix seconds>,v1=<hex HMAC-SHA256 of \"<t>.<body>\">`.","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ClaimDecidedEvent"}}}},"responses":{"200":{"description":"Any 2xx acknowledges the delivery."}}}},"claim.paid":{"post":{"operationId":"webhook_claim_paid","summary":"claim.paid","description":"A claim on one of your policies was paid. Signed with the `P3-Signature` header: `t=<unix seconds>,v1=<hex HMAC-SHA256 of \"<t>.<body>\">`.","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ClaimPaidEvent"}}}},"responses":{"200":{"description":"Any 2xx acknowledges the delivery."}}}},"passport.level_changed":{"post":{"operationId":"webhook_passport_level_changed","summary":"passport.level_changed","description":"The level of a passport you may see changed. Signed with the `P3-Signature` header: `t=<unix seconds>,v1=<hex HMAC-SHA256 of \"<t>.<body>\">`.","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/PassportLevelChangedEvent"}}}},"responses":{"200":{"description":"Any 2xx acknowledges the delivery."}}}}},"components":{"schemas":{"ValuationEstimateRequest":{"type":"object","properties":{"area":{"type":"string","maxLength":80,"pattern":"^[a-z0-9]+(?:-[a-z0-9]+)*$","example":"dubai-marina"},"building":{"type":"string","minLength":1,"maxLength":200},"unit_no":{"type":"string","minLength":1,"maxLength":40},"type":{"$ref":"#/components/schemas/PropertyType"},"beds":{"type":"integer","minimum":0,"maximum":20},"size_sqm":{"type":"number","exclusiveMinimum":0,"maximum":100000,"example":92},"floor":{"type":"integer","minimum":-5,"maximum":200},"view":{"type":"string","enum":["sea","marina","golf","park","city","skyline","community","pool","garden","none"]},"year_built":{"type":"integer","minimum":1900,"maximum":2100}},"required":["area","type","size_sqm"]},"PropertyType":{"type":"string","enum":["apartment","villa","townhouse","penthouse"]},"QuoteRequest":{"oneOf":[{"type":"object","properties":{"product":{"type":"string","const":"shield"},"property_id":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$","example":"01900000-0000-7000-8000-000000000201"},"term_years":{"type":"integer","minimum":1,"maximum":10},"protected_value_minor":{"description":"Defaults to the home's P3 Value.","type":"integer","exclusiveMinimum":0,"maximum":9007199254740991}},"required":["product","property_id","term_years"]},{"type":"object","properties":{"product":{"type":"string","const":"shield_plus"},"property_id":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$","example":"01900000-0000-7000-8000-000000000201"},"term_years":{"type":"integer","minimum":1,"maximum":10},"protected_value_minor":{"description":"Defaults to the home's P3 Value.","type":"integer","exclusiveMinimum":0,"maximum":9007199254740991}},"required":["product","property_id","term_years"]},{"type":"object","properties":{"product":{"type":"string","const":"developer_shield"},"project_id":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$","example":"01900000-0000-7000-8000-000000000201"},"unit_no":{"type":"string","minLength":1,"maxLength":40},"payer":{"type":"string","enum":["developer","buyer"]}},"required":["product","project_id","unit_no","payer"]},{"type":"object","properties":{"product":{"type":"string","const":"bank_shield"},"loan_reference":{"type":"string","minLength":1,"maxLength":60},"loan":{"$ref":"#/components/schemas/LoanInput"},"payer":{"type":"string","enum":["bank","borrower"]}},"required":["product","payer"]}],"type":"object"},"LoanInput":{"type":"object","properties":{"reference":{"type":"string","minLength":1,"maxLength":60,"example":"GHB-2026-0101"},"borrower_name":{"type":"string","minLength":1,"maxLength":200},"passport_code":{"description":"The borrower's passport, when they shared it with your bank.","type":"string","pattern":"^[0-9A-HJKMNP-TV-Z]{12}$"},"area":{"type":"string","maxLength":80,"pattern":"^[a-z0-9]+(?:-[a-z0-9]+)*$"},"building":{"type":"string","minLength":1,"maxLength":200},"unit_no":{"type":"string","minLength":1,"maxLength":40},"type":{"$ref":"#/components/schemas/PropertyType"},"beds":{"type":"integer","minimum":0,"maximum":20},"size_sqm":{"type":"number","exclusiveMinimum":0,"maximum":100000},"outstanding_minor":{"type":"integer","exclusiveMinimum":0,"maximum":9007199254740991},"currency":{"$ref":"#/components/schemas/Currency"},"originated_on":{"type":"string","format":"date","pattern":"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))$","example":"2026-10-15"},"matures_on":{"type":"string","format":"date","pattern":"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))$","example":"2026-10-15"}},"required":["reference","outstanding_minor","currency","originated_on"],"description":"A mortgage at closing; added to your collateral book."},"Currency":{"type":"string","enum":["AED","USD","SAR","GBP","SGD","PKR"]},"BindRequest":{"type":"object","properties":{"quote_id":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$","example":"01900000-0000-7000-8000-000000000201"},"payment_method":{"description":"Sandbox only: pay a retail quote instantly, or see a decline.","type":"string","enum":["pm_sandbox_success","pm_sandbox_declined"]}},"required":["quote_id"]},"WebhookEndpointCreate":{"type":"object","properties":{"url":{"type":"string","maxLength":2000,"format":"uri","description":"A public HTTPS address.","example":"https://example.com/p3/webhooks"},"events":{"minItems":1,"maxItems":7,"type":"array","items":{"$ref":"#/components/schemas/WebhookEventType"}},"description":{"type":"string","maxLength":200}},"required":["url","events"]},"WebhookEventType":{"type":"string","enum":["index.published","valuation.completed","policy.bound","policy.renewal_due","claim.decided","claim.paid","passport.level_changed"]},"TokenRequest":{"type":"object","properties":{"grant_type":{"type":"string","const":"client_credentials"},"client_id":{"type":"string"},"client_secret":{"type":"string"},"scope":{"description":"Space-separated; defaults to all the client's scopes.","type":"string"}},"required":["grant_type","client_id","client_secret"]},"IndexPublishedEvent":{"type":"object","properties":{"id":{"type":"string","example":"evt_01900000000070008000000000000201"},"object":{"type":"string","const":"event"},"type":{"type":"string","const":"index.published"},"environment":{"$ref":"#/components/schemas/Environment"},"created_at":{"type":"string","format":"date-time","pattern":"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z|([+-](?:[01]\\d|2[0-3]):[0-5]\\d)))$","example":"2026-10-15T09:30:00Z"},"data":{"type":"object","properties":{"area":{"anyOf":[{"type":"string","maxLength":80,"pattern":"^[a-z0-9]+(?:-[a-z0-9]+)*$"},{"type":"null"}]},"kind":{"type":"string","enum":["price","rent"]},"period":{"type":"string","pattern":"^\\d{4}-(0[1-9]|1[0-2])$","example":"2026-08"},"value":{"type":"number"}},"required":["area","kind","period","value"]}},"required":["id","object","type","environment","created_at","data"]},"Environment":{"type":"string","enum":["live","test"],"description":"live for p3_live_ keys; test for the sandbox."},"ValuationCompletedEvent":{"type":"object","properties":{"id":{"type":"string","example":"evt_01900000000070008000000000000201"},"object":{"type":"string","const":"event"},"type":{"type":"string","const":"valuation.completed"},"environment":{"$ref":"#/components/schemas/Environment"},"created_at":{"type":"string","format":"date-time","pattern":"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z|([+-](?:[01]\\d|2[0-3]):[0-5]\\d)))$","example":"2026-10-15T09:30:00Z"},"data":{"type":"object","properties":{"property_id":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$","example":"01900000-0000-7000-8000-000000000201"},"valuation_id":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$","example":"01900000-0000-7000-8000-000000000201"},"method":{"type":"string","enum":["avm","valuer"]},"value":{"anyOf":[{"$ref":"#/components/schemas/Money"},{"type":"null"}]},"confidence":{"anyOf":[{"$ref":"#/components/schemas/Confidence"},{"type":"null"}]}},"required":["property_id","valuation_id","method","value","confidence"]}},"required":["id","object","type","environment","created_at","data"]},"Money":{"type":"object","properties":{"amount_minor":{"type":"integer","minimum":-9007199254740991,"maximum":9007199254740991,"description":"Minor units (fils for AED).","example":245000000},"currency":{"$ref":"#/components/schemas/Currency"}},"required":["amount_minor","currency"],"description":"An amount in minor units with its currency."},"Confidence":{"type":"string","enum":["high","medium","low"]},"PolicyBoundEvent":{"type":"object","properties":{"id":{"type":"string","example":"evt_01900000000070008000000000000201"},"object":{"type":"string","const":"event"},"type":{"type":"string","const":"policy.bound"},"environment":{"$ref":"#/components/schemas/Environment"},"created_at":{"type":"string","format":"date-time","pattern":"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z|([+-](?:[01]\\d|2[0-3]):[0-5]\\d)))$","example":"2026-10-15T09:30:00Z"},"data":{"type":"object","properties":{"policy_id":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$","example":"01900000-0000-7000-8000-000000000201"},"policy_no":{"type":"string"},"property_id":{"anyOf":[{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$","example":"01900000-0000-7000-8000-000000000201"},{"type":"null"}]},"start_date":{"type":"string","format":"date","pattern":"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))$","example":"2026-10-15"},"end_date":{"type":"string","format":"date","pattern":"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))$","example":"2026-10-15"}},"required":["policy_id","policy_no","property_id","start_date","end_date"]}},"required":["id","object","type","environment","created_at","data"]},"PolicyRenewalDueEvent":{"type":"object","properties":{"id":{"type":"string","example":"evt_01900000000070008000000000000201"},"object":{"type":"string","const":"event"},"type":{"type":"string","const":"policy.renewal_due"},"environment":{"$ref":"#/components/schemas/Environment"},"created_at":{"type":"string","format":"date-time","pattern":"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z|([+-](?:[01]\\d|2[0-3]):[0-5]\\d)))$","example":"2026-10-15T09:30:00Z"},"data":{"type":"object","properties":{"policy_id":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$","example":"01900000-0000-7000-8000-000000000201"},"policy_no":{"type":["string","null"]},"end_date":{"type":"string","format":"date","pattern":"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))$","example":"2026-10-15"},"days_left":{"anyOf":[{"type":"integer","minimum":-9007199254740991,"maximum":9007199254740991},{"type":"null"}]}},"required":["policy_id","policy_no","end_date","days_left"]}},"required":["id","object","type","environment","created_at","data"]},"ClaimDecidedEvent":{"type":"object","properties":{"id":{"type":"string","example":"evt_01900000000070008000000000000201"},"object":{"type":"string","const":"event"},"type":{"type":"string","const":"claim.decided"},"environment":{"$ref":"#/components/schemas/Environment"},"created_at":{"type":"string","format":"date-time","pattern":"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z|([+-](?:[01]\\d|2[0-3]):[0-5]\\d)))$","example":"2026-10-15T09:30:00Z"},"data":{"type":"object","properties":{"claim_id":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$","example":"01900000-0000-7000-8000-000000000201"},"policy_id":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$","example":"01900000-0000-7000-8000-000000000201"},"decision":{"type":"string","enum":["approved","rejected"]},"payout":{"anyOf":[{"$ref":"#/components/schemas/Money"},{"type":"null"}]}},"required":["claim_id","policy_id","decision","payout"]}},"required":["id","object","type","environment","created_at","data"]},"ClaimPaidEvent":{"type":"object","properties":{"id":{"type":"string","example":"evt_01900000000070008000000000000201"},"object":{"type":"string","const":"event"},"type":{"type":"string","const":"claim.paid"},"environment":{"$ref":"#/components/schemas/Environment"},"created_at":{"type":"string","format":"date-time","pattern":"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z|([+-](?:[01]\\d|2[0-3]):[0-5]\\d)))$","example":"2026-10-15T09:30:00Z"},"data":{"type":"object","properties":{"claim_id":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$","example":"01900000-0000-7000-8000-000000000201"},"policy_id":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$","example":"01900000-0000-7000-8000-000000000201"},"amount":{"$ref":"#/components/schemas/Money"}},"required":["claim_id","policy_id","amount"]}},"required":["id","object","type","environment","created_at","data"]},"PassportLevelChangedEvent":{"type":"object","properties":{"id":{"type":"string","example":"evt_01900000000070008000000000000201"},"object":{"type":"string","const":"event"},"type":{"type":"string","const":"passport.level_changed"},"environment":{"$ref":"#/components/schemas/Environment"},"created_at":{"type":"string","format":"date-time","pattern":"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z|([+-](?:[01]\\d|2[0-3]):[0-5]\\d)))$","example":"2026-10-15T09:30:00Z"},"data":{"type":"object","properties":{"property_id":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$","example":"01900000-0000-7000-8000-000000000201"},"from":{"anyOf":[{"$ref":"#/components/schemas/PassportLevel"},{"type":"null"}]},"to":{"$ref":"#/components/schemas/PassportLevel"}},"required":["property_id","from","to"]}},"required":["id","object","type","environment","created_at","data"]},"PassportLevel":{"type":"string","enum":["bronze","silver","gold","platinum"]},"AreaList":{"type":"object","properties":{"object":{"type":"string","const":"list"},"data":{"type":"array","items":{"$ref":"#/components/schemas/Area"}},"has_more":{"type":"boolean"},"next_cursor":{"description":"Pass as `cursor` to get the next page; null on the last page.","type":["string","null"]}},"required":["object","data","has_more","next_cursor"],"additionalProperties":false},"Area":{"type":"object","properties":{"object":{"type":"string","const":"area"},"slug":{"type":"string","maxLength":80,"pattern":"^[a-z0-9]+(?:-[a-z0-9]+)*$","example":"dubai-marina"},"name":{"$ref":"#/components/schemas/LocalisedName"},"city":{"type":"object","properties":{"slug":{"type":"string","maxLength":80,"pattern":"^[a-z0-9]+(?:-[a-z0-9]+)*$"},"name":{"$ref":"#/components/schemas/LocalisedName"}},"required":["slug","name"],"additionalProperties":false},"location":{"anyOf":[{"type":"object","properties":{"lat":{"type":"number"},"lon":{"type":"number"}},"required":["lat","lon"],"additionalProperties":false},{"type":"null"}]},"price_index":{"anyOf":[{"$ref":"#/components/schemas/IndexLatest"},{"type":"null"}]},"rent_index":{"anyOf":[{"$ref":"#/components/schemas/IndexLatest"},{"type":"null"}]},"risk_band":{"anyOf":[{"$ref":"#/components/schemas/RiskBand"},{"type":"null"}]},"transactions_12m":{"anyOf":[{"type":"integer","minimum":-9007199254740991,"maximum":9007199254740991},{"type":"null"}]}},"required":["object","slug","name","city","location","price_index","rent_index","risk_band","transactions_12m"],"additionalProperties":false},"LocalisedName":{"type":"object","properties":{"en":{"type":"string"},"ar":{"type":["string","null"]}},"required":["en","ar"],"additionalProperties":false},"IndexLatest":{"type":"object","properties":{"period":{"type":"string","pattern":"^\\d{4}-(0[1-9]|1[0-2])$","example":"2026-08"},"value":{"type":"number"},"change_12m_bp":{"anyOf":[{"type":"integer","minimum":-9007199254740991,"maximum":9007199254740991},{"type":"null"}]}},"required":["period","value","change_12m_bp"],"additionalProperties":false},"RiskBand":{"type":"string","enum":["A","B","C","D"],"description":"A is the lowest risk, D the highest."},"Error":{"type":"object","properties":{"error":{"type":"object","properties":{"code":{"type":"string","enum":["invalid_request","idempotency_key_required","unsupported_grant_type","invalid_scope","unauthenticated","invalid_credentials","invalid_client","payment_required","payment_failed","insufficient_scope","plan_required","consent_required","binding_not_allowed","not_found","method_not_allowed","conflict","quote_not_open","idempotency_conflict","idempotency_in_progress","validation_failed","not_quotable","rate_limited","quota_exceeded","internal_error","service_unavailable"]},"message":{"type":"string"},"details":{"type":"array","items":{"type":"object","properties":{"field":{"type":"string"},"message":{"type":"string"}},"required":["message"],"additionalProperties":false}},"request_id":{"type":"string","example":"req_01HZX3Q7N2VQ4"}},"required":["code","message","request_id"],"additionalProperties":false}},"required":["error"],"additionalProperties":false},"IndexSeries":{"type":"object","properties":{"object":{"type":"string","const":"list"},"area":{"type":"string","maxLength":80,"pattern":"^[a-z0-9]+(?:-[a-z0-9]+)*$"},"kind":{"type":"string","enum":["price","rent"]},"data":{"type":"array","items":{"$ref":"#/components/schemas/IndexPoint"}},"has_more":{"type":"boolean"},"next_cursor":{"type":["string","null"]}},"required":["object","area","kind","data","has_more","next_cursor"],"additionalProperties":false},"IndexPoint":{"type":"object","properties":{"period":{"type":"string","pattern":"^\\d{4}-(0[1-9]|1[0-2])$","example":"2026-08"},"value":{"type":"number","description":"Index level; the base month is 100."},"low":{"description":"Lower end of the 90% range.","type":["number","null"]},"high":{"description":"Upper end of the 90% range.","type":["number","null"]},"observations":{"anyOf":[{"type":"integer","minimum":-9007199254740991,"maximum":9007199254740991},{"type":"null"}]}},"required":["period","value","low","high","observations"],"additionalProperties":false},"RiskScore":{"type":"object","properties":{"object":{"type":"string","const":"risk_score"},"area":{"type":"string","maxLength":80,"pattern":"^[a-z0-9]+(?:-[a-z0-9]+)*$"},"period":{"type":"string","pattern":"^\\d{4}-(0[1-9]|1[0-2])$","example":"2026-08"},"score":{"type":"integer","minimum":0,"maximum":100},"band":{"$ref":"#/components/schemas/RiskBand"},"drivers":{"type":"array","items":{"$ref":"#/components/schemas/RiskDriver"}}},"required":["object","area","period","score","band","drivers"],"additionalProperties":false},"RiskDriver":{"type":"object","properties":{"key":{"type":"string","example":"volatility"},"score":{"type":"integer","minimum":-9007199254740991,"maximum":9007199254740991},"weight_bp":{"type":"integer","minimum":-9007199254740991,"maximum":9007199254740991},"contribution":{"type":"number"}},"required":["key","score","weight_bp","contribution"],"additionalProperties":false},"Valuation":{"type":"object","properties":{"object":{"type":"string","const":"valuation"},"property_id":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$","example":"01900000-0000-7000-8000-000000000201"},"method":{"type":"string","enum":["avm","valuer"]},"value":{"anyOf":[{"$ref":"#/components/schemas/MoneyOutput"},{"type":"null"}]},"low":{"anyOf":[{"$ref":"#/components/schemas/MoneyOutput"},{"type":"null"}]},"high":{"anyOf":[{"$ref":"#/components/schemas/MoneyOutput"},{"type":"null"}]},"confidence":{"anyOf":[{"$ref":"#/components/schemas/Confidence"},{"type":"null"}]},"valued_at":{"type":"string","format":"date-time","pattern":"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z|([+-](?:[01]\\d|2[0-3]):[0-5]\\d)))$","example":"2026-10-15T09:30:00Z"},"model_version":{"type":["string","null"]}},"required":["object","property_id","method","value","low","high","confidence","valued_at","model_version"],"additionalProperties":false},"ValuationEstimate":{"type":"object","properties":{"object":{"type":"string","const":"valuation_estimate"},"status":{"type":"string","enum":["valued","range_only","insufficient"],"description":"range_only: fewer than three comparable sales, so only a range."},"area":{"type":"string","maxLength":80,"pattern":"^[a-z0-9]+(?:-[a-z0-9]+)*$"},"value":{"anyOf":[{"$ref":"#/components/schemas/MoneyOutput"},{"type":"null"}]},"low":{"anyOf":[{"$ref":"#/components/schemas/MoneyOutput"},{"type":"null"}]},"high":{"anyOf":[{"$ref":"#/components/schemas/MoneyOutput"},{"type":"null"}]},"confidence":{"anyOf":[{"$ref":"#/components/schemas/Confidence"},{"type":"null"}]},"comparables":{"type":"integer","minimum":-9007199254740991,"maximum":9007199254740991},"drivers":{"type":"array","items":{"$ref":"#/components/schemas/ValuationDriver"}},"model_version":{"type":"string"},"as_of":{"type":"string","format":"date","pattern":"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))$","example":"2026-10-15"}},"required":["object","status","area","value","low","high","confidence","comparables","drivers","model_version","as_of"],"additionalProperties":false},"ValuationDriver":{"type":"object","properties":{"factor":{"type":"string","example":"floor"},"effect_bp":{"anyOf":[{"type":"integer","minimum":-9007199254740991,"maximum":9007199254740991},{"type":"null"}]},"label":{"type":"string"}},"required":["factor","effect_bp","label"],"additionalProperties":false},"PassportVerification":{"type":"object","properties":{"object":{"type":"string","const":"passport_verification"},"code":{"type":"string"},"status":{"type":"string","enum":["valid","revoked","unknown"],"description":"unknown: no passport has this code, or its owner keeps it private."},"revoked_reason":{"type":["string","null"]},"level":{"anyOf":[{"$ref":"#/components/schemas/PassportLevel"},{"type":"null"}]},"completeness_pct":{"anyOf":[{"type":"integer","minimum":-9007199254740991,"maximum":9007199254740991},{"type":"null"}]},"property":{"anyOf":[{"type":"object","properties":{"type":{"type":"string"},"beds":{"anyOf":[{"type":"integer","minimum":-9007199254740991,"maximum":9007199254740991},{"type":"null"}]},"area":{"type":"object","properties":{"slug":{"type":"string","maxLength":80,"pattern":"^[a-z0-9]+(?:-[a-z0-9]+)*$"},"name":{"$ref":"#/components/schemas/LocalisedName"}},"required":["slug","name"],"additionalProperties":false},"city":{"type":"object","properties":{"slug":{"type":"string","maxLength":80,"pattern":"^[a-z0-9]+(?:-[a-z0-9]+)*$"},"name":{"$ref":"#/components/schemas/LocalisedName"}},"required":["slug","name"],"additionalProperties":false},"building":{"type":["string","null"]}},"required":["type","beds","area","city","building"],"additionalProperties":false},{"type":"null"}]},"owner_verified":{"type":["boolean","null"]},"verified_sections":{"type":"array","items":{"type":"string"}},"verified_documents":{"type":"integer","minimum":-9007199254740991,"maximum":9007199254740991},"protection":{"anyOf":[{"type":"object","properties":{"product":{"$ref":"#/components/schemas/LocalisedName"},"insurer":{"type":"string"},"end_date":{"type":"string","format":"date","pattern":"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))$","example":"2026-10-15"}},"required":["product","insurer","end_date"],"additionalProperties":false},{"type":"null"}],"description":"Active P3 protection, naming the licensed insurer."},"value_band":{"anyOf":[{"type":"object","properties":{"low":{"$ref":"#/components/schemas/MoneyOutput"},"high":{"$ref":"#/components/schemas/MoneyOutput"}},"required":["low","high"],"additionalProperties":false},{"type":"null"}]},"checked_at":{"type":"string","format":"date-time","pattern":"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z|([+-](?:[01]\\d|2[0-3]):[0-5]\\d)))$","example":"2026-10-15T09:30:00Z"}},"required":["object","code","status","revoked_reason","level","completeness_pct","property","owner_verified","verified_sections","verified_documents","protection","value_band","checked_at"],"additionalProperties":false},"Quote":{"type":"object","properties":{"object":{"type":"string","const":"quote"},"id":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$","example":"01900000-0000-7000-8000-000000000201"},"environment":{"$ref":"#/components/schemas/Environment"},"product":{"type":"string","enum":["shield","shield_plus","developer_shield","bank_shield"]},"status":{"type":"string","enum":["quoted","accepted","declined","expired","superseded"]},"decision":{"type":"string","enum":["offer","refer","decline"]},"reasons":{"type":"array","items":{"$ref":"#/components/schemas/QuoteReason"}},"property_id":{"anyOf":[{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$","example":"01900000-0000-7000-8000-000000000201"},{"type":"null"}]},"payer":{"type":"string","enum":["owner","developer","buyer","bank","borrower"]},"term_years":{"type":"integer","minimum":-9007199254740991,"maximum":9007199254740991},"protected_value":{"$ref":"#/components/schemas/MoneyOutput"},"floor":{"$ref":"#/components/schemas/MoneyOutput"},"max_payout":{"$ref":"#/components/schemas/MoneyOutput"},"fee_total":{"$ref":"#/components/schemas/MoneyOutput"},"fee_per_year":{"$ref":"#/components/schemas/MoneyOutput"},"rate_bp":{"type":"integer","minimum":-9007199254740991,"maximum":9007199254740991},"deductible_bp":{"type":"integer","minimum":-9007199254740991,"maximum":9007199254740991},"cap_bp":{"type":"integer","minimum":-9007199254740991,"maximum":9007199254740991},"insurer":{"anyOf":[{"$ref":"#/components/schemas/Insurer"},{"type":"null"}]},"expires_on":{"type":"string","format":"date","pattern":"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))$","example":"2026-10-15"},"checkout_url":{"anyOf":[{"type":"string","format":"uri"},{"type":"null"}],"description":"Where the policyholder pays, when they pay rather than your organisation."},"policy_id":{"anyOf":[{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$","example":"01900000-0000-7000-8000-000000000201"},{"type":"null"}]},"created_at":{"type":"string","format":"date-time","pattern":"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z|([+-](?:[01]\\d|2[0-3]):[0-5]\\d)))$","example":"2026-10-15T09:30:00Z"}},"required":["object","id","environment","product","status","decision","reasons","property_id","payer","term_years","protected_value","floor","max_payout","fee_total","fee_per_year","rate_bp","deductible_bp","cap_bp","insurer","expires_on","checkout_url","policy_id","created_at"],"additionalProperties":false},"QuoteReason":{"type":"object","properties":{"code":{"type":"string"},"message":{"type":"string"}},"required":["code","message"],"additionalProperties":false},"Insurer":{"type":"object","properties":{"name":{"type":"string","example":"Gulf Mutual Insurance PJSC"}},"required":["name"],"additionalProperties":false,"description":"The licensed insurer that carries the risk."},"Policy":{"type":"object","properties":{"object":{"type":"string","const":"policy"},"id":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$","example":"01900000-0000-7000-8000-000000000201"},"environment":{"$ref":"#/components/schemas/Environment"},"policy_no":{"type":"string","example":"P3-AE-2026-000123"},"product":{"type":"string","enum":["shield","shield_plus","developer_shield","bank_shield"]},"status":{"type":"string","enum":["pending_payment","active","lapsed","cancelled","expired","claimed"]},"insurer":{"$ref":"#/components/schemas/Insurer"},"property_id":{"anyOf":[{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$","example":"01900000-0000-7000-8000-000000000201"},{"type":"null"}]},"payer":{"type":"string","enum":["owner","developer","buyer","bank","borrower"]},"protected_value":{"$ref":"#/components/schemas/MoneyOutput"},"floor":{"$ref":"#/components/schemas/MoneyOutput"},"max_payout":{"$ref":"#/components/schemas/MoneyOutput"},"premium":{"$ref":"#/components/schemas/MoneyOutput"},"start_date":{"type":"string","format":"date","pattern":"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))$","example":"2026-10-15"},"end_date":{"type":"string","format":"date","pattern":"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))$","example":"2026-10-15"},"loss_payee":{"anyOf":[{"type":"object","properties":{"name":{"type":"string"}},"required":["name"],"additionalProperties":false},{"type":"null"}]},"index":{"anyOf":[{"type":"object","properties":{"code":{"type":["string","null"]},"base_period":{"type":"string","pattern":"^\\d{4}-(0[1-9]|1[0-2])$","example":"2026-08"},"base_value":{"type":"number"}},"required":["code","base_period","base_value"],"additionalProperties":false},{"type":"null"}]},"created_at":{"type":"string","format":"date-time","pattern":"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z|([+-](?:[01]\\d|2[0-3]):[0-5]\\d)))$","example":"2026-10-15T09:30:00Z"}},"required":["object","id","environment","policy_no","product","status","insurer","property_id","payer","protected_value","floor","max_payout","premium","start_date","end_date","loss_payee","index","created_at"],"additionalProperties":false},"WebhookEndpointCreated":{"type":"object","properties":{"object":{"type":"string","const":"webhook_endpoint"},"id":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$","example":"01900000-0000-7000-8000-000000000201"},"url":{"type":"string"},"events":{"type":"array","items":{"$ref":"#/components/schemas/WebhookEventType"}},"description":{"type":["string","null"]},"environment":{"$ref":"#/components/schemas/Environment"},"active":{"type":"boolean"},"disabled_at":{"anyOf":[{"type":"string","format":"date-time","pattern":"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z|([+-](?:[01]\\d|2[0-3]):[0-5]\\d)))$","example":"2026-10-15T09:30:00Z"},{"type":"null"}]},"created_at":{"type":"string","format":"date-time","pattern":"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z|([+-](?:[01]\\d|2[0-3]):[0-5]\\d)))$","example":"2026-10-15T09:30:00Z"},"secret":{"type":"string","description":"Signs every delivery. Shown once: store it now.","example":"whsec_…"}},"required":["object","id","url","events","description","environment","active","disabled_at","created_at","secret"],"additionalProperties":false},"WebhookEndpointList":{"type":"object","properties":{"object":{"type":"string","const":"list"},"data":{"type":"array","items":{"$ref":"#/components/schemas/WebhookEndpoint"}},"has_more":{"type":"boolean"},"next_cursor":{"description":"Pass as `cursor` to get the next page; null on the last page.","type":["string","null"]}},"required":["object","data","has_more","next_cursor"],"additionalProperties":false},"WebhookEndpoint":{"type":"object","properties":{"object":{"type":"string","const":"webhook_endpoint"},"id":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$","example":"01900000-0000-7000-8000-000000000201"},"url":{"type":"string"},"events":{"type":"array","items":{"$ref":"#/components/schemas/WebhookEventType"}},"description":{"type":["string","null"]},"environment":{"$ref":"#/components/schemas/Environment"},"active":{"type":"boolean"},"disabled_at":{"anyOf":[{"type":"string","format":"date-time","pattern":"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z|([+-](?:[01]\\d|2[0-3]):[0-5]\\d)))$","example":"2026-10-15T09:30:00Z"},{"type":"null"}]},"created_at":{"type":"string","format":"date-time","pattern":"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z|([+-](?:[01]\\d|2[0-3]):[0-5]\\d)))$","example":"2026-10-15T09:30:00Z"}},"required":["object","id","url","events","description","environment","active","disabled_at","created_at"],"additionalProperties":false},"Deleted":{"type":"object","properties":{"object":{"type":"string","const":"webhook_endpoint"},"id":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$","example":"01900000-0000-7000-8000-000000000201"},"deleted":{"type":"boolean","const":true}},"required":["object","id","deleted"],"additionalProperties":false},"OpenApiDocument":{"type":"object","propertyNames":{"type":"string"},"additionalProperties":{}},"TokenResponse":{"type":"object","properties":{"access_token":{"type":"string"},"token_type":{"type":"string","const":"Bearer"},"expires_in":{"type":"integer","minimum":-9007199254740991,"maximum":9007199254740991},"scope":{"type":"string"}},"required":["access_token","token_type","expires_in","scope"],"additionalProperties":false},"MoneyOutput":{"type":"object","properties":{"amount_minor":{"type":"integer","minimum":-9007199254740991,"maximum":9007199254740991,"description":"Minor units (fils for AED).","example":245000000},"currency":{"$ref":"#/components/schemas/Currency"}},"required":["amount_minor","currency"],"additionalProperties":false,"description":"An amount in minor units with its currency."}},"securitySchemes":{"bearerAuth":{"type":"http","scheme":"bearer","description":"An API key (p3_live_… or p3_test_…), or an OAuth access token."},"oauth2":{"type":"oauth2","description":"Client credentials for Enterprise clients.","flows":{"clientCredentials":{"tokenUrl":"https://api.pthree.vip/v1/oauth/token","scopes":{"index:read":"Read areas, the P3 Price and Rent Indexes and area risk scores.","valuations:read":"Read P3 Value for homes your organisation owns or that owners shared with it, and estimate a value for a described home.","passports:verify":"Check a Digital Property Passport by its code (the public-safe summary).","protection:quote":"Ask for protection quotes and read your quotes and policies.","protection:bind":"Bind protection under your programme's invoice terms (approved partners on the Enterprise plan).","webhooks:manage":"Create, list and delete webhook endpoints."}}}}}}}