Skip to main content
PATCH
/
leads
/
{leadId}
/
variables
Update Values of Custom Variables of a Lead
curl --request PATCH \
  --url https://api.lemlist.com/api/leads/{leadId}/variables \
  --header 'Authorization: Basic <encoded-value>'
{
  "ok": true
}
Update custom variables values of a lead.
This is not about renaming your custom variables, but really about updating the values within, just like the Update Lead endpoint would do on default variables.

Authorizations

Authorization
string
header
required

Basic authentication header of the form Basic <encoded-value>, where <encoded-value> is the base64-encoded string username:password.

Path Parameters

leadId
string
required

The unique identifier of the lead

Query Parameters

customField1
string

Example custom variable

customField2
string

Example custom variable

customField3
string

Example custom variable

Response

Success

The response is of type object.