curl --location 'https://app.highperformr.ai/api/sources/bulk-upsert' \
--header 'x-api-key: <api-key>' \
--header 'Content-Type: application/json' \
--data '{
"sources": [
{
"sourceType": "linkedinInbound",
"sourceIdentifier": "https://www.linkedin.com/in/jamie-rivera-example"
},
{
"sourceType": "linkedinInbound",
"sourceIdentifier": "https://www.linkedin.com/company/acme-analytics"
}
]
}'{
"data": [
{
"id": "src_li_inbound_01",
"type": "sources",
"attributes": {
"sourceType": "linkedinInbound",
"sourceIdentifier": "https://www.linkedin.com/in/jamie-rivera-example",
"sourceMeta": {
"socialName": "Jamie Rivera",
"socialHandle": "jamie-rivera-example",
"platformName": "linkedin",
"interactionType": "inbound",
"profileImageUrl": "https://media.licdn.com/example.jpg"
}
}
},
{
"id": "src_li_inbound_02",
"type": "sources",
"attributes": {
"sourceType": "linkedinInbound",
"sourceIdentifier": "https://www.linkedin.com/company/acme-analytics",
"sourceMeta": {
"socialName": "Acme Analytics",
"socialHandle": "acme-analytics",
"platformName": "linkedinPage",
"interactionType": "inbound"
}
}
}
]
}