Calls without X-API-Key need no key. Calls with it need a paid plan — get a key.
Get an API key
Free tier, no form to fill in. Signing in shares your email address with us — we
store it to create your key and to recognise you if you sign in with another
provider. By signing up you are subscribing to the APIs.io and API Evangelist
newsletters — you can unsubscribe from any issue. See our
Privacy Policy and Terms.
openapi: 3.2.0
info:
title: Thebrettgroup Com Lead API
version: 1.0.0
description: 'Operations tagged Lead across 2 of this provider''s published API definitions: openapi.json, thebrettgroup-com-openapi.json. Each path carries the servers of the definition it was published in.'
servers:
- url: https://thebrettgroup.com
tags:
- name: Lead
paths:
/api/lead:
post:
operationId: submitRequest
summary: Send a home project, lending, build-to-rent or general request to TBG
description: Confirm details with the person and get explicit agreement to the consent text first.
x-openai-isConsequential: true
requestBody:
required: true
content:
application/json:
schema:
type: object
required:
- service_line
- name
- phone
- consent
properties:
service_line:
type: string
enum:
- remodeling
- new_home
- lending
- build_to_rent
- property_services
- other
project_type:
type: string
description: 'Remodeling: kitchen, bathroom, additions, basement, custom-homes, decks-exteriors, other. Lending: fix_and_flip, construction, bridge, other.'
scope:
type: string
zip:
type: string
pattern: ^[0-9]{5}$
timeline:
type: string
budget:
type: string
details:
type: string
maxLength: 2000
name:
type: string
phone:
type: string
description: 10-digit US number
email:
type: string
consent:
type: string
enum:
- 'yes'
description: 'Only "yes" if the person explicitly agreed to: "I agree that TBG may share my details with one licensed partner who may contact me by phone, text or email about this request. Consent is not a condition of any purchase. Message and data rates may apply."'
business_purpose:
type: string
enum:
- 'yes'
description: 'Required for lending: the property is a business or investment property the borrower will not live in.'
agent_platform:
type: string
description: Name of the AI assistant submitting (marks the request as agent-submitted).
responses:
'200':
description: Received
content:
application/json:
schema:
type: object
properties:
ok:
type: boolean
request_id:
type: string
status:
type: string
'422':
description: Validation errors
tags:
- Lead
servers:
- url: https://thebrettgroup.com
x-refined-from:
- openapi.json
- thebrettgroup-com-openapi.json