latestOpenAPI 3.0.3AGPL-3.0 license2026-08-2011401.8 MB

a1e86af2406d

context

Create or update a context entry

Save context (ICP, Messaging Playbook, user profile). POST is accepted as an alias for PUT on this path. Each write REPLACES the full content — merge new info with the existing entry first. Pass real newline characters, not escaped \n strings. If LITERAL_NEWLINE_IN_CONTEXT error, retry the same turn with real newlines. Owner context (user-profile, offering) uses scope:"user". Playbook uses scope:"campaign:<id>". Save immediately when the user says save/remember; identity facts → type:"user-profile".

put/context

Request body

typestring required

Context type — closed set (server rejects anything else with 400 INVALID_CONTEXT_TYPE). Pick the canonical slot that matches the content; free-form "custom:*" slugs are rejected. Per-slot contracts: • "user-profile" — Who the operator is — name, role, company, background. Saved once globally; personalises every message. • "offering" — What the operator sells — products, services, agencies, anything they deliver to clients. Saved once globally. • "icp" — Who this chat targets — titles, industries, seniority, geography, company size. Guides discovery and qualification. • "playbook" — How outreach is WRITTEN for this chat — strategy, angle, value-prop, voice/tone, and the first DM. Follow-up sequences are not part of this chat; use the Claude connector for multi-step waits.

contentstring

Markdown content.

scopestring

Defaults to "user". Playbook uses scope:"campaign:<id>".

labelstring

Display label

postTicketIdstring

Internal ticket id from a prior tool result. Omit unless a result supplied it.

Response

Context saved

successtrue required
creditsUsedinteger required

Credits consumed by this call. 0 for free endpoints, cached results, duplicates, and for every query that does not touch LinkedIn.

retryAfterinteger required

Seconds to wait before another call of the same type. 0 means no wait is needed.