Skip to main content
A custom variable is EmailBisons way of attaching any extra information to a lead. Custom Variables need to be created before they can be attached to leads with a custom value for each lead.
Note: custom variables are unique per workspace

Creating Custom Variables

You can create a custom variable by submitting a POST request at the following endpoint.
The only field you can and must provide is name, which is a name for the custom variable.

Attaching Custom Variables to Leads

When you are creating or updating a lead - either with a POST or a PUT - you can pass the custom_variables field as an array of objects that contain a name key and a value key. The JSON will look like the following.
Note how the everything is wrapped in an array identifier [], and each custom variable is wrapped in an object identifier {}
An example of adding custom variables when updating leads: