# API endpoints

> All 17 endpoints of the Wavegrain carousel API and posting API under /api/v1, each with its parameters, request body, responses and an example.

> Index of these docs: https://wavegrain.com/developers/llms.txt

The public API has 17 endpoints under `https://wavegrain.com/api/v1`. This list is generated from the same OpenAPI document as the [API reference](/developers/api-reference), so it always matches the server.

## Posting API

Guide: [Posting API](/developers/posting-api).

| Endpoint | What it does |
| --- | --- |
| `GET /api/v1/accounts` | [List brands, groups and connected accounts](/developers/api/list-accounts) |
| `GET /api/v1/posts` | [List posts](/developers/api/list-posts) |
| `POST /api/v1/posts` | [Create a post](/developers/api/create-post) |
| `GET /api/v1/posts/{id}` | [Get a post](/developers/api/get-post) |
| `DELETE /api/v1/posts/{id}` | [Cancel a post](/developers/api/cancel-post) |
| `POST /api/v1/media` | [Start an image or video upload](/developers/api/create-upload) |
| `GET /api/v1/media/{id}` | [Get an upload](/developers/api/get-upload) |
| `DELETE /api/v1/media/{id}` | [Delete a video](/developers/api/delete-video) |
| `POST /api/v1/media/{id}/complete` | [Finish and check a video upload](/developers/api/complete-video-upload) |
| `POST /api/v1/captions` | [Write captions](/developers/api/write-captions) |

## Carousel API

Guide: [Carousel API](/developers/carousel-api).

| Endpoint | What it does |
| --- | --- |
| `POST /api/v1/slideshows/estimate` | [Estimate a slideshow's price](/developers/api/estimate-slideshow) |
| `POST /api/v1/slideshows` | [Make a slideshow from a topic](/developers/api/create-slideshow) |
| `GET /api/v1/slideshows` | [List slideshows](/developers/api/list-slideshows) |
| `POST /api/v1/slideshows/copies` | [Make a slideshow in a post's look](/developers/api/copy-post) |
| `GET /api/v1/jobs/{id}` | [Follow a slideshow job](/developers/api/get-job) |
| `GET /api/v1/slideshows/{id}` | [Get a slideshow](/developers/api/get-slideshow) |
| `POST /api/v1/slideshows/{id}/export` | [Download a slideshow](/developers/api/export-slideshow) |

