Resources
Resources
SDKs, the OpenAPI spec and machine-readable docs for building on Onepostly.
Tools for building on the Onepostly API, from typed SDKs to the spec they are generated from and docs formats for AI tools.
SDKs
Official clients for Node.js and Python, generated from the OpenAPI spec.
OpenAPI
The machine-readable API contract, with every route and webhook event.
MCP Server
Manage posts from Claude, Cursor and other AI assistants.
SDKs
| Language | Package | Install |
|---|---|---|
| TypeScript and JavaScript | @onepostly/sdk | npm install @onepostly/sdk |
| Python | onepostly | pip install onepostly |
Both SDKs are generated from the OpenAPI spec, so a new API field reaches them with the next release. Every request example in these docs has a TypeScript, a Python and a cURL tab. See SDKs for configuration, errors and paging.
OpenAPI
The spec lives at https://api.onepostly.com/openapi.json. It is OpenAPI 3.1 and covers every public route, the error responses and every webhook event. Use it to generate a client in another language, to type your webhook handler, or to import the API into an API testing tool. See OpenAPI.
LLMs.txt
These docs are also published in formats that AI tools and coding agents read well.
| URL | Contains |
|---|---|
/llms.txt | An index of every docs page with its description, plus links to the OpenAPI spec and the full docs |
/llms-full.txt | Every docs page as Markdown in one file |
/docs/<page>.md | One page as Markdown, such as /docs/quickstart.md |
Details are in Docs for AI Tools.