Pages in API reference

Docs search

Search the docs

GET/api/docs/search

Search the Ampost docs (/docs, /docs/mcp and /llms-full.txt) for a question such as "schedule a post to instagram".

  • Returns the best matching sections, each with its title, a short excerpt and its URL.
  • Any valid key may call it, and it is not counted toward the plan's 30-day API requests.
Key scope
none (any key)
MCP tool
docs_search

Headers

  • Authorizationstringrequired

    Bearer <API key>. Create a key in the dashboard under API keys.

Query parameters

  • querystringrequired

    What you want to know, in plain words, e.g. "schedule a post to instagram".

  • limitinteger

    Number of sections, 1-20. Default 5.

Errors return { error: { code, message } }; every code is in Error codes.