Lead Add

POST https://api.closum.com/v2/lead/add/?api-key={{api_key}}

To send multiple tags, apply different keys inside tags[], ex: tags[1] tags[2] ... tags[...]

FieldRequiredNotes
nameno
emailEmail or Mobile Required
mobile_numberEmail or Mobile Required
consent_emailyesBoolean
consent_smsyesBoolean
contactlifecyclestage_idnoOptional. Valid 1-9
custom_datanoJson
tags[N]noN+1 for each tag
birth_datenoMust be a valid date in the format Y-m-d
custom_fieldsnoJson
update_enablednoFacilitate to update the existing contact in the same request (update_enabled = true)

Request Params

KeyDatatypeRequiredDescription
api-keystring

Request Body

{"name"=>"{name}", "email"=>"{email}", "mobile_number"=>"{mobile_number}", "consent_email"=>"{consent_email}", "consent_sms"=>"{consent_sms}", "contact_lifecycle_stage_id"=>"{contact_lifecycle_stage_id}", "custom_data"=>"{custom_data}", "tags"=>"{tags}", "birth_date"=>"{birth_date}", "custom_fields"=>{"var"=>"{value}"}, "update_enabled"=>"{update_enabled}"}