AddTags

View as Markdown
## Add Tags to Lead Adds tags to the lead. Existing tags will not be changed. - **leadProfileUrl (optional)**: the linkedIn profile url of the lead, for example '[https://www.linkedin.com/in/john-doe/'](https://www.linkedin.com/in/john-doe/') - l**eadLinkedInId (string, optional)**: The LinkedIn ID of the lead. You can find this ID as "linkedin_id" in the response of many of our endpoints, for example in the '/api/public/lead/GetLead' endpoint. - **tags** _(string array)_: The tags to be added to the lead. - **createTagIfNotExisting** _(boolean)_: If `true`, creates tags that don't exist. if `false` and there is a tag that does not exist, "Bad Request" will be returned.

Headers

X-API-KEYstringOptional

API key header using this scheme. Example: “X-API-KEY: {API_KEY}

Request

This endpoint expects an object.
leadProfileUrlstringRequiredformat: "uri"
leadLinkedInIdstringRequired
tagslist of stringsRequired
createTagIfNotExistingbooleanRequired

Response

OK
newAssignedTagslist of strings