Skip to content

Commit e7e12e2

Browse files
chore: regenerate openapi.snapshot.json after adding /api/v1/leads
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
1 parent 4087512 commit e7e12e2

1 file changed

Lines changed: 70 additions & 0 deletions

File tree

openapi.snapshot.json

Lines changed: 70 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4466,6 +4466,76 @@
44664466
"summary": "Accept an invitation by token (no auth required — token IS the auth)"
44674467
}
44684468
},
4469+
"/api/v1/leads": {
4470+
"post": {
4471+
"description": "Public — no authentication required. Stores an enterprise interest record in enterprise_leads. When called with a valid bearer token, the lead is automatically linked to the caller's team so the instanode.dev team can correlate the inquiry with an existing account's usage. Agents should call this when the user needs capacity or features beyond the Pro tier: dedicated infrastructure, SAML/SSO, SOC 2 compliance, a custom SLA, or any requirement not met by a self-serve paid plan.",
4472+
"requestBody": {
4473+
"content": {
4474+
"application/json": {
4475+
"schema": {
4476+
"properties": {
4477+
"company": {
4478+
"description": "Organisation name (optional).",
4479+
"maxLength": 128,
4480+
"type": "string"
4481+
},
4482+
"email": {
4483+
"description": "Contact address (required). Must be RFC 5322-compliant.",
4484+
"format": "email",
4485+
"maxLength": 254,
4486+
"type": "string"
4487+
},
4488+
"name": {
4489+
"description": "Contact's full name (optional).",
4490+
"maxLength": 128,
4491+
"type": "string"
4492+
},
4493+
"use_case": {
4494+
"description": "Scale requirements driving the Enterprise inquiry (optional).",
4495+
"maxLength": 1024,
4496+
"type": "string"
4497+
}
4498+
},
4499+
"required": [
4500+
"email"
4501+
],
4502+
"type": "object"
4503+
}
4504+
}
4505+
},
4506+
"required": true
4507+
},
4508+
"responses": {
4509+
"201": {
4510+
"content": {
4511+
"application/json": {
4512+
"schema": {
4513+
"properties": {
4514+
"id": {
4515+
"description": "UUID of the created enterprise_leads row.",
4516+
"format": "uuid",
4517+
"type": "string"
4518+
},
4519+
"ok": {
4520+
"type": "boolean"
4521+
}
4522+
},
4523+
"type": "object"
4524+
}
4525+
}
4526+
},
4527+
"description": "Lead recorded"
4528+
},
4529+
"400": {
4530+
"description": "Validation failure — missing_email, invalid_email_format, invalid_name, invalid_company, or invalid_use_case"
4531+
},
4532+
"500": {
4533+
"description": "Database insert failed — internal_error"
4534+
}
4535+
},
4536+
"summary": "Submit an enterprise contact / interest form"
4537+
}
4538+
},
44694539
"/api/v1/resources": {
44704540
"get": {
44714541
"responses": {

0 commit comments

Comments
 (0)