v1

latestOpenAPI 3.0.32026-08-0615026.5 KB
Workspaces

Get the list of variables (or columns) for a workspace.

This endpoint retrieves all available variables/columns for a specific workspace. It returns both default variables (first_name, email, company_name, company_domain) and any custom variables that have been created for the workspace.

When updating or inserting a lead, you can use the variables/columns from this endpoint to add the values to the specific variable/column for the lead.

get/api/external/v1/workspaces/get-variable-list

Query parameters

workspace_idinteger required
Example:16

Response

object[] required

Example response

[
  {
    "key": "first_name"
  },
  {
    "key": "email"
  },
  {
    "key": "company_name"
  },
  {
    "key": "company_domain"
  },
  {
    "key": "linkedin_profile_url"
  },
  {
    "key": "My Custom Variable1"
  },
  {
    "key": "custom_variable2"
  }
]