latestOpenAPI 3.0.3AGPL-3.0 license2026-08-2211401.8 MB

32391e7c6322

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. Each type takes exactly one scope shape and the server rejects the others, so read the scope field before writing. 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

One shape per type; the "user" default is rejected for icp and playbook. user-profile, offering, operator-context → "user". icp → "user:icp:<slug>", slug being a short kebab-case name for that audience. playbook → "campaign:<id>", a real 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.