OpenAPI spec
ActiveOpenAPI 3.1 document for the entire public API, byte-identical between postio.co.uk/openapi.json and the @postio/openapi npm package.
Install
Direct URL
https://postio.co.uk/openapi.json
npm
npm i @postio/openapi
30-second example
# Codegen with openapi-typescript
npx openapi-typescript ./node_modules/@postio/openapi/openapi.json \
-o src/postio-types.ts
# …or paste the URL into Postman, Insomnia, Bruno, Stoplight,
# Scalar, Redoc, etc. — any OpenAPI 3.1 consumer.