{"openapi":"3.1.0","info":{"title":"Del Mar Insurance — Meta Muse connector","version":"1.0.0","summary":"Contact-only soft intake for Texas personal and specialty lines. No rates. No binding.","description":"API for Meta Muse. Requires X-Del-Mar-Key. Returns no premiums and never binds coverage. A licensed Texas broker (agency license 1544601) follows up. Do not send dates of birth, driver's license numbers, VINs, or street addresses.","contact":{"name":"Del Mar Insurance","email":"delmaragency@gmail.com","url":"https://www.delmaragency.com"},"license":{"name":"Proprietary — Del Mar Insurance Associates, LLC"}},"servers":[{"url":"https://www.delmaragency.com","description":"Production"}],"tags":[{"name":"muse","description":"Meta Muse connector endpoints"}],"paths":{"/api/muse/info":{"get":{"tags":["muse"],"operationId":"getAgencyInfo","summary":"Read-only agency information","description":"Products, hours, contact, license, and disclosures. Requires API key.","security":[{"ApiKeyAuth":[]}],"responses":{"200":{"description":"Agency info","content":{"application/json":{"schema":{"$ref":"#/components/schemas/AgencyInfoResponse"}}}},"401":{"$ref":"#/components/responses/Unauthorized"},"405":{"$ref":"#/components/responses/MethodNotAllowed"},"429":{"$ref":"#/components/responses/RateLimited"}}}},"/api/muse/quote":{"post":{"tags":["muse"],"operationId":"requestQuoteCallback","summary":"Contact-only quote callback","description":"Soft intake only. Success always returns premium:null and bound:false. Forbidden: DOB, driver's license numbers, VINs, street addresses (by field name or free-text pattern).","security":[{"ApiKeyAuth":[]}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/MuseQuoteRequest"},"examples":{"auto":{"summary":"Auto quote callback","value":{"fullName":"Jordan Example","phone":"361-555-0100","email":"jordan@example.com","preferredContact":"call","zip":"78411","coverageType":"auto","bestTime":"weekday afternoon","consumerNoticeAcknowledged":true,"authorizedByCustomer":true,"currentCarrier":"Example Mutual","notes":"Looking for liability and full coverage options."}}}}}},"responses":{"200":{"description":"Intake accepted (or honeypot discarded)","content":{"application/json":{"schema":{"$ref":"#/components/schemas/MuseQuoteSuccess"}}}},"400":{"$ref":"#/components/responses/BadRequest"},"401":{"$ref":"#/components/responses/Unauthorized"},"405":{"$ref":"#/components/responses/MethodNotAllowed"},"429":{"$ref":"#/components/responses/RateLimited"}}}}},"components":{"securitySchemes":{"ApiKeyAuth":{"type":"apiKey","in":"header","name":"X-Del-Mar-Key","description":"API key issued by Del Mar Insurance for Meta Muse."}},"schemas":{"MuseQuoteRequest":{"type":"object","additionalProperties":false,"required":["fullName","phone","email","preferredContact","zip","coverageType","bestTime","consumerNoticeAcknowledged","authorizedByCustomer"],"properties":{"fullName":{"type":"string","minLength":2,"maxLength":120},"phone":{"type":"string","description":"10+ digit US phone"},"email":{"type":"string","format":"email"},"preferredContact":{"type":"string","enum":["call","text","email"]},"zip":{"type":"string","pattern":"^\\d{5}$","description":"5-digit Texas ZIP"},"coverageType":{"type":"string","enum":["auto","home","renters","motorcycle","condo","boat","windstorm","landlord","mobile_home","business"]},"bestTime":{"type":"string","minLength":2,"maxLength":80},"consumerNoticeAcknowledged":{"type":"boolean","const":true,"description":"Customer acknowledged carrier consumer notice (driving/claims/credit histories)."},"authorizedByCustomer":{"type":"boolean","const":true,"description":"Customer authorized this Muse submit."},"currentCarrier":{"type":"string","maxLength":120},"notes":{"type":"string","maxLength":1000},"website":{"type":"string","description":"Honeypot — leave empty. Filled values are discarded."}}},"MuseQuoteSuccess":{"type":"object","required":["ok","premium","bound","message"],"properties":{"ok":{"type":"boolean","const":true},"premium":{"type":"null"},"bound":{"type":"boolean","const":false},"message":{"type":"string"},"referenceId":{"type":"string"}}},"AgencyInfoResponse":{"type":"object","properties":{"ok":{"type":"boolean"},"name":{"type":"string"},"legalName":{"type":"string"},"license":{"type":"string"},"serviceArea":{"type":"string"},"hours":{"type":"string"},"phone":{"type":"string"},"text":{"type":"string"},"email":{"type":"string"},"website":{"type":"string"},"quoteUrl":{"type":"string"},"products":{"type":"object"},"disclosures":{"type":"array","items":{"type":"string"}}}},"ErrorBody":{"type":"object","properties":{"error":{"type":"string"},"ok":{"type":"boolean"},"errors":{"type":"object","additionalProperties":{"type":"string"}}}}},"responses":{"BadRequest":{"description":"Validation failed or forbidden PII fields/patterns","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorBody"}}}},"Unauthorized":{"description":"Missing or invalid API key","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorBody"}}}},"MethodNotAllowed":{"description":"Wrong HTTP method","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorBody"}}}},"RateLimited":{"description":"Per-key or per-contact rate limit exceeded","headers":{"Retry-After":{"schema":{"type":"integer"},"description":"Seconds until retry may succeed"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorBody"}}}}}}}