GetCampaignsForLead

View as Markdown
## Gets Campaigns for a Lead Retrieves the list of campaigns where the specified lead is. **Remark:** The response will contain campaigns that match the provided lead information, such as email, LinkedIn ID, or profile URL. ### Body Parameters - **email** _(string, optional)_: The email address of the lead. - **linkedinId** _(string, optional)_: The LinkedIn ID of the lead. - **profileUrl** _(string, optional)_: The LinkedIn profile URL of the lead. - for example: [https://www.linkedin.com/in/john_doe/](https://www.linkedin.com/in/john_doe/) - **offset** _(integer)_: The number of records to skip (for pagination). - **limit** _(integer)_: The maximum number of records to return. ## Response: ##### **LeadStatus** - Pending - InSequence - Finished - Paused - Failed - Excluded - PendingOrExcludedToBeCalculated ##### **CampaignStatus** - DRAFT - IN_PROGRESS - PAUSED - FINISHED - CANCELED - FAILED - STARTING

Headers

X-API-KEYstringOptional

Request

This endpoint expects an object.
emailstringRequired
linkedinIdstringRequired
profileUrlstringRequired
offsetintegerRequired
limitintegerRequired

Response

OK
leadFullNamestring
totalCountinteger
itemslist of objects