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.

  • Lead's work email

  • Product - required by the form

  • SDR owner - required, prefilled with the current user

  • Lead source - required by the form

  • AE owner

  • Partner

  • 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"
}