API referenceLeads
Create
Request Body
application/json
TypeScript Definitions
Use the request body type in TypeScript.
name*string
Length
1 <= length <= 120email*string
company?string
Length
length <= 120message?string
Length
length <= 2000Response Body
application/json
curl -X POST "https://example.com/leads/create" \ -H "Content-Type: application/json" \ -d '{ "name": "string", "email": "string" }'null