API reference/Leads
Update lead
Updates a lead by its id and returns the updated record, including any change to its status.
Authorization
AuthorizationRequiredBearer <token>API key as Bearer token: Authorization: Bearer sk_live_.... Use sk_live_ prefixed keys for production data and sk_test_ prefixed keys for sandbox/test data.
In: header
X-API-Key<token>API key via header: X-API-Key: sk_live_.... Use sk_live_ prefixed keys for production data and sk_test_ prefixed keys for sandbox/test data.
In: header
Request Body
application/jsonRequiredfirstNamestringlastNamestringemailstringFormat:
"email"phonestringjobTitlestringcompanyNamestringMinimum length:
1websitestringindustrystringcompanySizestringValue in:
"small" | "medium" | "large" | "enterprise"stagestringDefault:
"new"Value in: "new" | "contacted" | "qualified" | "disqualified"disqualifiedReasonstringValue in:
"bad_fit" | "no_budget" | "unresponsive" | "competitor" | "duplicate" | "other"scoreintegerMinimum:
0Maximum: 100sourcestringValue in:
"website" | "referral" | "cold_call" | "linkedin" | "trade_show" | "marketing" | "partner" | "other"notesstringtagsarray<string>Path Parameters
idRequiredstringResource ID
Format:
"uuid"Updated lead