Creates a new Lead entity. The
leadSourceID
and all fields are configured within the Rubiq Lead Management app.Endpoint ID: | 1100 | |||||
Method | POST | |||||
URL: | /user/{leadSourceID} | |||||
leadSourceID | A GUID identifying the type of Lead to create | |||||
Request body: | JSON data with properties corresponding to the fields in the specified Lead type
{ "keys": { "email": "mailbox@mailserver.com", "mobile": "123 456 789" }, "data": { "name": "John Doe", "address": "1 Harbour Tce., Townsville" }, "context": { "pageUrl": "https://domain.org/lead/generation" } } | |||||
| None | |||||
Status codes: | 201 | Lead created | ||||
400 | Request is valid but data validation failed
|