sdkProvider-backed
Track influencer
pipeline.trackInfluencer
Verify an influencer through a connected LinkedIn account and persist tracking idempotently. Following is off by default.
Parameters
workspaceId
string
Optional with API key auth, inferred from the key.
linkedinAccountIdrequired
string
No description.
linkedinUrlrequired
string
No description.
shouldFollow
boolean
No description.
status
string
Use paused to save a review target without automatic polling. Omission preserves existing status or creates active tracking.
active | paused
Example
TypeScripttypescript
await pipeline.trackInfluencer({"linkedinAccountId": "00000000-0000-4000-8000-000000000000","linkedinUrl": "https://example.com"})
Response
Success response schemajson schema
{"type": "object","properties": {"profile": {"type": "object","properties": {"id": {"type": "string"},"workspace_id": {"type": "string"},"linkedin_account_id": {"type": "string"},"profile_type": {"type": "string"}},"required": ["id","workspace_id","linkedin_account_id","profile_type"]},"followStatus": {"type": "string","enum": ["not_requested","success","failed"]}},"required": ["profile","followStatus"]}
Exceptions
- PipelineError
- Thrown for validation, authentication, JSON-RPC, HTTP, and network failures. Inspect code and data when present.