{"openapi":"3.1.0","info":{"title":"DocDoor public API","version":"1.0.0","summary":"Rental and lease agreements on e-stamp paper, with optional notarization, delivered to your door. Bengaluru only for now.","description":"Read-only facts and price estimates about DocDoor, for search engines, AI assistants and partner websites. DocDoor currently serves Bengaluru only (PIN codes starting 560). Hyderabad, Mumbai and Chennai are coming soon. Nothing here places an order or charges anyone. Today an order starts when the customer emails support@cohereniq.com (the response tells you the exact steps); the Android app and an online checkout are not live yet. Do not collect payment or personal documents on behalf of the customer.","contact":{"name":"DocDoor support","email":"support@cohereniq.com","url":"https://docdoor.cohereniq.com"},"termsOfService":"https://api.docdoor.cohereniq.com/terms"},"servers":[{"url":"https://api.docdoor.cohereniq.com/api/v1/public"}],"paths":{"/service-area":{"get":{"operationId":"getServiceArea","summary":"Which city DocDoor serves, and which cities are coming soon","responses":{"200":{"description":"Service area","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ServiceArea"}}}}}}},"/serviceability/{pincode}":{"get":{"operationId":"checkPincode","summary":"Does DocDoor deliver to this PIN code?","parameters":[{"name":"pincode","in":"path","required":true,"schema":{"type":"string","pattern":"^[0-9]{6}$"},"example":"560001"}],"responses":{"200":{"description":"Serviceability","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Serviceability"}}}},"400":{"description":"Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}}}},"/catalog":{"get":{"operationId":"getCatalog","summary":"Services, prices, stamp paper values, GST and how to order","responses":{"200":{"description":"Catalog"}}}},"/quote":{"post":{"operationId":"getQuote","summary":"Price estimate for a service delivered to a PIN code","description":"An estimate only. Nothing is created or charged. Out-of-area PIN codes get a 422 with code OUT_OF_SERVICE_AREA.","requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/QuoteRequest"},"example":{"serviceSlug":"rental-agreement","pincode":"560001","notary":true,"stampValue":200}}}},"responses":{"200":{"description":"Estimate"},"404":{"description":"Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"422":{"description":"Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}}}},"/waitlist":{"post":{"operationId":"joinWaitlist","summary":"Ask to be told when DocDoor reaches a coming-soon city","description":"Stores the contact only to send that one message. Only for cities listed as coming soon. Send this only on behalf of a person who asked to be notified.","requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/WaitlistRequest"}}}},"responses":{"201":{"description":"Joined"},"400":{"description":"Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"422":{"description":"Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}}}}},"components":{"schemas":{"Error":{"type":"object","properties":{"success":{"const":false},"error":{"type":"string"},"code":{"type":"string","example":"OUT_OF_SERVICE_AREA"}}},"ServiceArea":{"type":"object","properties":{"serving":{"type":"object"},"comingSoon":{"type":"array","items":{"type":"string"}},"message":{"type":"string"}}},"Serviceability":{"type":"object","properties":{"pincode":{"type":"string"},"serviceable":{"type":"boolean"},"city":{"type":["string","null"]},"message":{"type":"string"}}},"QuoteRequest":{"type":"object","required":["serviceSlug","pincode"],"properties":{"serviceSlug":{"type":"string","description":"A slug from /catalog"},"pincode":{"type":"string"},"notary":{"type":"boolean"},"stampValue":{"type":"number","description":"Stamp paper value in rupees"}}},"WaitlistRequest":{"type":"object","required":["contact","city"],"properties":{"contact":{"type":"string","description":"Email address or 10-digit mobile number"},"city":{"type":"string","example":"Hyderabad"},"name":{"type":"string"}}}}}}