Skip to main content
POST
Draft a post with AI

Authorizations

X-Api-Key
string
header
required

Your LinkedCamp API key.

Body

application/json
provider
enum<string>
required

Which connected AI provider to use. Providers are connected in the web app.

Available options:
OPENAI,
ANTHROPIC,
GEMINI,
GROK,
DEEPSEEK
prompt
string
required

What the post should be about, and in what voice.

Response

The result, as JSON. Writes answer { "ok": true, "message": ..., "data": ... }.

The response is of type object.