Search the docs
GET
/api/docs/searchSearch 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
AuthorizationstringrequiredBearer <API key>. Create a key in the dashboard under API keys.
Query parameters
querystringrequiredWhat you want to know, in plain words, e.g. "schedule a post to instagram".
limitintegerNumber of sections, 1-20. Default 5.
Errors return { error: { code, message } }; every code is in Error codes.