OutFlo Public API / Guide

Add leads to a campaign

Add or update a LinkedIn lead in an active or paused campaign.

Overview

Use this endpoint for CRM, form, automation, and enrichment integrations. The LinkedIn URL identifies the lead; additional fields become profile data or template variables.

Authentication

Send the same x-api-key header with every request.

Manage API keys
Canonical contract

Request and response schemas

Every operation below follows the same contract order. All responses use the standard status, data, and error envelope.

POST/api/public/campaign/addleadtoactivecampaign/{campaignId}Add a lead to an active campaign

Headers

FieldTypeRequiredDescription
x-api-keystringYesWorkspace API key.
Content-TypestringYesMust be application/json.Example: application/json

Path parameters

FieldTypeRequiredDescription
campaignIdstring · UUIDYescampaignId path identifier.

Query parameters

No query parameters.

Request body · application/json

FieldTypeRequiredDescription
linkedinUrlstring · URLYesLead LinkedIn profile URL.
firstNamestringNoLead first name.
lastNamestringNoLead last name.
companystringNoLead company.
titlestringNoLead job title.
{customField}string | number | booleanNoAny additional top-level key becomes a template variable. Keys cannot contain spaces.Example: SaaS

Success response · 201

FieldTypeRequiredDescription
statusintegerYesHTTP status mirrored in the JSON body. Success: 201.
dataobject | array | nullYesAdd a lead to an active campaign result. The exact data fields depend on the selected resource.
errorstring | nullYesNull on success; a developer-readable message on failure.
Request body example
{
  "linkedinUrl": "https://www.linkedin.com/in/example/",
  "firstName": "<string>",
  "lastName": "<string>",
  "company": "<string>",
  "title": "<string>",
  "industry": "SaaS"
}
Standard success envelope · 201
{
  "status": 201,
  "data": "<endpoint-specific response data>",
  "error": null
}
Standard error envelope
{
  "status": 400,
  "data": null,
  "error": "Developer-readable error message"
}