# NexoFlow Developer API and SDK

Source: https://nexoflow.ai/developers

Typed REST endpoints, the nexoflow-sdk package, webhook events, and headless CMS setup for Next.js, Astro, SvelteKit, and any JS frontend.

## Endpoints

- GET /content/posts- list published posts (paginated)
- GET /content/posts/:slug- get a single post by slug
- GET /content/posts/slugs- all slugs, for static generation

A machine-readable description is published at https://nexoflow.ai/openapi/nexoflow.json

## SDK

- nexoflow-sdk- typed methods, pagination, iterators, framework helpers, and errors, documented at https://nexoflow.ai/docs/sdk
- ISR and revalidation- pass a revalidate value and cache headers are set automatically for Next.js Incremental Static Regeneration
- Headless CMS setup- use NexoFlow as the content backend for Next.js, Astro, SvelteKit, or any JS frontend
- Quick-start guides for connecting channels, fetching content, and using the SDK in any framework