Create a person from an email address, enriched by Dreamer
Queue enrichment-backed creation of a person from an email address.
Returns 202: enrichment is a long RPC, so the person is created off a NATS message and the outcome arrives as a Dreamer notification.
A personal-domain address is accepted, not rejected: it yields a person with no company, since a mailbox provider is not one.
Body·
required
application/json
Request model for creating a person from an email address alone.
Personal domains are accepted — they produce a person with no company link.
- Type: stringemailmin length:1max length:256required
Email to enrich and create the person from. A personal domain is accepted and creates a person with no company.
Responses
- application/json
- application/json
Request Example for post/create_with_dreamer
curl https://crm.dreamhub.ai/api/v1/people/create_with_dreamer \
--request POST \
--header 'Content-Type: application/json' \
--header 'Authorization: Bearer YOUR_SECRET_TOKEN' \
--data '{
"email": "dana@acme.com"
}'
{
"email": "dana@acme.com"
}
