Lead Management
Update a lead management configuration
Updates the LeadManagement configuration with the given id. Caller must own the configuration. Each field is validated independently; defaultProcess (when supplied) must resolve to an existing Prompt ID.
Authorization
bearerAuth In: header
Path Parameters
Request Body
application/json
TypeScript Definitions
Use the request body type in TypeScript.
Response Body
application/json
application/json
application/json
application/json
application/json
curl -X PUT "https://example.com/api/lead-management/string" \ -H "Content-Type: application/json" \ -d '{ "isAutopilot": false, "costPerLead": 15, "status": "inactive" }'{ "success": true, "message": "Lead management configuration created", "data": { "_id": "665f1a0c0e0a4b001a2c9f40", "configurationName": "Facebook Lead Ad Funnel", "status": "active" }}