Create a lead from a work email with Dreamer
Queues enrichment-backed creation. Dreamer resolves the person and their company, creating either if absent, then creates the lead and notifies the caller.
Body·
required
application/json
Queue enrichment-backed creation of a lead from a work email.
Carries the form's own fields alongside the email: Dreamer resolves the person and company, but lead source, product and owners are the user's choices, not inferences.
- Type: stringemailmax length:256required
Lead's work email
- Type: stringproduct
Id max length:50requiredProduct - required by the form
- Type: stringsdr
Owner max length:50requiredSDR owner - required, prefilled with the current user
- Type: integersourcerequired
Lead source - required by the form
- Type: stringae
Owner max length:50nullableAE owner
- Type: stringpartner
Id max length:50nullablePartner
- Type: stringFormat: date-timenullablesales
Exploration Meeting Date Sales exploration meeting date
Responses
- application/json
- application/json
Request Example for post/with_dreamer
curl https://crm.dreamhub.ai/api/v1/leads/with_dreamer \
--request POST \
--header 'Content-Type: application/json' \
--header 'Authorization: Bearer YOUR_SECRET_TOKEN' \
--data '{
"email": "",
"source": 1,
"productId": "",
"sdrOwner": "",
"aeOwner": "",
"partnerId": "",
"salesExplorationMeetingDate": ""
}'
{
"email": "string"
}
