This page contains only two endpoints used by the current integrations:
ListCampaigns and AddApiLead.
Base URL: https://outreach.salestrigger.io/api.
Required headers for every request:
X-AUTH-TYPE: API_TOKEN
X-AUTH-TOKEN: <YOUR_API_TOKEN>
Content-Type: application/json
Make — two ways to call these endpoints:
Method, full URL, required Headers, and JSON Body for POST)
Method: GET | POST
URL: https://outreach.salestrigger.io/api/...
Headers: X-AUTH-TYPE: API_TOKEN
X-AUTH-TOKEN: <YOUR_API_TOKEN>
Content-Type: application/json
Body: (for POST) see examples above
n8n — use the universal HTTP Request node:
GET/POST) and the full endpoint URL.X-AUTH-TYPE, X-AUTH-TOKEN, and Content-Type.POST, enable JSON body and paste the payload from the examples above.
Lists campaigns available for API usage. Add the query parameter below to return only API-enabled campaigns.
curl -G "https://outreach.salestrigger.io/api/beta/campaign/operations/list-campaigns" \
-H "X-AUTH-TYPE: API_TOKEN" \
-H "X-AUTH-TOKEN: <API_TOKEN>" \
-H "Content-Type: application/json" \
--data-urlencode "only_api_campaigns=true"
Sample response (trimmed):
[
{
"campaign_info": {
"id": "uuid",
"campaign_name": "My API Campaign"
},
"creation_warnings": []
}
]
Success: 200 OK (array).
Tips
only_api_campaigns=true — leads should be added only
to API campaigns to ensure the expected automated behavior.
campaign_info.id as {campaignId}
for the AddApiLead endpoint.
Add a LinkedIn lead to the selected API campaign. Along with the profile URL you
may pass up to 10 predefined messages mapped to custom_field_1..10.
curl -X POST "https://outreach.salestrigger.io/api/beta/campaign/{campaignId}/api-add-lead" \
-H "X-AUTH-TYPE: API_TOKEN" \
-H "X-AUTH-TOKEN: <API_TOKEN>" \
-H "Content-Type: application/json" \
-d '{
"source": { "connection_type": "API_N8N" },
"lead_object": {
"lead_href": "https://www.linkedin.com/in/<PUBLIC-ID>/",
"custom_field_1": "Hi!",
"custom_field_2": "Follow-up"
}
}'
Sample response:
null
Success: 201 Created with an empty response body.
Tips
https://www.linkedin.com/in/<PUBLIC-ID>/
(otherwise the API may return 422 Unprocessable Entity).