curl --request POST \
--url https://api.botdog.io/v1/leads/add_to_campaign \
--header 'Content-Type: application/json' \
--header 'x-api-key: <api-key>' \
--data '
{
"campaignId": "123e4567-e89b-12d3-a456-426614174000",
"leads": [
{
"linkedinUrl": "https://www.linkedin.com/in/johndoe",
"name": "John Doe",
"title": "Software Engineer",
"company": "Acme Inc.",
"location": "San Francisco, CA",
"customAttributes": {
"customKey1": "customValue1",
"customKey2": "customValue2"
}
}
]
}
'