Skip to content
Denne side findes på dansk. Læs på dansk
HeyMySocial

create_lead

Add a lead by hand

writes listed directly

Adds one lead the person tells you about (a phone call, a trade fair, a referral).

It goes through the same intake as every other lead: the person is recognized by email address, and a second lead for someone who already has a recent one is kept but marked duplicate_of_id and left out of counts. Give at least a name, an email or a phone number, exactly as the person stated them: never invent contact details. State contact_consent truthfully (granted only if the person said the lead agreed to be contacted). Pass request_key so a retry returns the same lead. The lead is assigned to the person you work for. Nothing is sent to the lead. Afterwards use update_lead for the next step and update_lead_status as things happen. To add many at once use import_leads.

Arguments

NameTypeNeededWhat it is
name string no The person's name.
email string no Email address.
phone string no Phone number.
company string no Company, if any.
arrived_via string no How the lead reached the business. Kept with the lead.One of: phone, email, meeting, event, referral, walk_in, social_message, other
contact_consent string no Whether the lead agreed to be contacted. Default not_asked.One of: granted, denied, not_asked
consent_source string no Where the consent was given, for example "phone call 2026-11-20". Only with contact_consent granted or denied.
note string no A note the client may also read (up to 2,000 characters). No private agency remarks here.
campaign_id string no One of the workspace's campaigns (list_campaigns) the lead says it came from.
content_id string no The post the lead says it came from (list_content). The lead is tied to that post through its tracked link, and to the post's campaign. Use it only when the person named the post.
external_id string no The lead's id in the person's own system. The same id never creates a second lead.
arrived_at string no When the lead arrived (ISO 8601). Default now. Not in the future.
request_key string no Any unique string for this request. The same key returns the first result instead of creating a second lead.

Like every workspace tool it also takes workspace: a workspace id or slug. Leave it out to use the workspace the person last worked in.

How it behaves

  • It changes something in the workspace, within what the signed-in person's role allows.
  • It is in the list every assistant sees when it connects.

How tools behave: confirmation, review links, errors and limits

create_status_link · get_crm_status · get_lead · import_leads · list_leads · manage_opportunities · record_refund · record_sale · revoke_status_link · update_lead · update_lead_status