Skip to main content

LinkedIn headline generator API

Enter your role, your skills and who you help, pick a tone, and get five headline drafts of 220 characters or less, or start from the formula and templates below.

  • Endpoint: POST https://postboost.co/app/api/tools/linkedin-headline-generator (operationId generateLinkedInHeadline)
  • Web tool: postboost.co/tools/linkedin-headline-generator
  • Token: required. A new generation spends 1 AI credit of the workspace you name (or your active workspace); a repeated identical request is answered from the cache for free. A scoped API key needs the ai ability and pays with its own workspace
  • MCP: tool generate-linked-in-headline on https://postboost.co/mcp/tools (listed only with a token)

Request​

FieldTypeDefaultDescription
rolestringYour role or what you do.
skillsstringYour skills and the value you bring.
audiencestring""Who you help (optional).
tonestring: professional, bold, friendly"professional"
workspacestringUUID of the workspace whose AI credits pay for the call. Default: your active workspace (a scoped API key: its own workspace).

Call it​

curl -X POST https://postboost.co/app/api/tools/linkedin-headline-generator \
-H 'Authorization: Bearer YOUR_API_TOKEN' \
-H 'Content-Type: application/json' \
-d '{"role":"Customer success lead","skills":"B2B SaaS onboarding, churn analysis, customer training","audience":"SaaS founders"}'

This tool needs a token: send Authorization: Bearer YOUR_API_TOKEN as a default header (how, per SDK).

Response​

{
"headlines": [
"Customer Success Lead | Helping SaaS founders turn new sign-ups into long-term customers",
"Customer Success Lead for B2B SaaS | Onboarding, churn analysis and customer training",
"I help SaaS founders keep the customers they win | Customer Success Lead",
"Customer Success Lead | Onboarding that sticks, churn you can explain",
"B2B SaaS Customer Success | Onboarding, training and churn analysis for growing teams"
],
"credits_spent": 1,
"cached": false
}

With MCP​

Connect https://postboost.co/mcp/tools (setup) and ask, for example: Write five LinkedIn profile headlines with AI (needs a token, spends AI credits) with the PostBoost generate-linked-in-headline tool.

Errors​

StatusWhen
401No token, or an invalid one. The body has register_url to create a free account.
403workspace is not a workspace you belong to, or your account has no workspace, or a scoped API key lacks the ai ability or is bound to another workspace (code: insufficient_scope).
413The JSON body is larger than 128 KB.
422A field is invalid; the body lists the errors per field.
429The workspace has no AI credits left this billing cycle (code: ai_credits_exhausted, upgrade_url), or the per-minute limit is reached.
502The AI provider failed or timed out. No credit was spent.
503AI tools are switched off right now.