Skip to main content

Get hook templates API

Get free hook templates for social media posts, filtered by style and network.

  • Endpoint: GET https://postboost.co/app/api/tools/hook-generator/library (operationId getHookTemplates)
  • Web tool: postboost.co/tools/hook-generator
  • Token: optional (limits)
  • MCP: tool get-hook-templates on https://postboost.co/mcp/tools

Request​

Query parameterTypeDefaultDescription
topicstringWhat the post is about. Fills the \{topic\} placeholder of every template; omit it to get the templates as they are.
categorystring: question, contrarian, list, story, mistake, how-to, curiosity, social-proofHook style. Omit it for every style.
networkstring: instagram, tiktok, linkedin, x, threads, facebookOnly templates that suit this network. Omit it for every network.
searchstringOnly templates whose text contains these words (case-insensitive).

Call it​

curl 'https://postboost.co/app/api/tools/hook-generator/library?topic=email%20marketing&category=question&network=linkedin'

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

Response​

{
"hooks": [
{
"text": "What would change if you treated email marketing as a weekly habit instead of a one-off project?",
"template": "What would change if you treated {topic} as a weekly habit instead of a one-off project?",
"category": "question",
"networks": [
"instagram",
"tiktok",
"linkedin",
"x",
"threads",
"facebook"
]
},
{
"text": "Which part of email marketing do you keep putting off, and why?",
"template": "Which part of {topic} do you keep putting off, and why?",
"category": "question",
"networks": [
"instagram",
"tiktok",
"linkedin",
"x",
"threads",
"facebook"
]
},
{
"text": "Is email marketing worth the time it takes? My honest answer after trying it.",
"template": "Is {topic} worth the time it takes? My honest answer after trying it.",
"category": "question",
"networks": [
"instagram",
"tiktok",
"linkedin",
"x",
"threads",
"facebook"
]
},
{
"text": "What do people get wrong about email marketing when they first start?",
"template": "What do people get wrong about {topic} when they first start?",
"category": "question",
"networks": [
"instagram",
"tiktok",
"linkedin",
"x",
"threads",
"facebook"
]
},
{
"text": "If you could keep only one rule for email marketing, which would it be?",
"template": "If you could keep only one rule for {topic}, which would it be?",
"category": "question",
"networks": [
"linkedin",
"x",
"threads",
"facebook"
]
},
{
"text": "Why does email marketing feel harder than it should?",
"template": "Why does {topic} feel harder than it should?",
"category": "question",
"networks": [
"instagram",
"tiktok",
"linkedin",
"x",
"threads",
"facebook"
]
},
{
"text": "How much time do you really spend on email marketing each week?",
"template": "How much time do you really spend on {topic} each week?",
"category": "question",
"networks": [
"linkedin",
"x",
"threads",
"facebook"
]
},
{
"text": "What would you tell a beginner about email marketing that nobody told you?",
"template": "What would you tell a beginner about {topic} that nobody told you?",
"category": "question",
"networks": [
"instagram",
"linkedin",
"x",
"threads",
"facebook"
]
},
{
"text": "Do you plan email marketing ahead or make it up as you go?",
"template": "Do you plan {topic} ahead or make it up as you go?",
"category": "question",
"networks": [
"instagram",
"tiktok",
"linkedin",
"x",
"threads",
"facebook"
]
},
{
"text": "What is the smallest step that would make email marketing easier tomorrow?",
"template": "What is the smallest step that would make {topic} easier tomorrow?",
"category": "question",
"networks": [
"linkedin",
"x",
"threads",
"facebook"
]
},
{
"text": "Quick poll: how do you handle email marketing?",
"template": "Quick poll: how do you handle {topic}?",
"category": "question",
"networks": [
"linkedin",
"x",
"threads",
"facebook"
]
}
],
"total": 11
}

With MCP​

Connect https://postboost.co/mcp/tools (setup) and ask, for example: Get free hook templates for social media posts, filtered by style and network with the PostBoost get-hook-templates tool.

Errors​

StatusWhen
401The Authorization header holds an invalid token. Leave it out to call as a guest.
413The JSON body is larger than 128 KB.
422A field is invalid; the body lists the errors per field.
429A limit is reached; see limits.