# Agility CMS API Documentation

This is the complete API documentation for connecting to the Agility CMS API using MindCloud's Universal API.

MindCloud offers one normalized API to access 3,400+ apps from a single place. It centralizes authentication and normalizes app APIs so they are easier and more consistent to use.

## Quickstart

1. A **MindCloud account** — sign in or create an account at [MindCloud](https://app.mindcloud.co).
2. A **MindCloud API Key** — create one in [API Keys](https://app.mindcloud.co/user/api-keys). Keep it on your server.
3. At least one **Agility CMS connection** — create or choose one in [Connections](https://app.mindcloud.co/credentials). Note its `connectionId`.

```text
POST https://connect.mindcloud.co/v2/universal/apps/agilityCMS/actions/{actionSlug}/run
```

## Agility CMS actions

- GET `get-content-item-fetch` Get Content Item (Fetch)
- GET `get-content-item-preview` Get Content Item (Preview)
- GET `get-content-item-v1-fetch` Get Content Item V1 (Fetch)
- GET `get-content-item-v1-preview` Get Content Item V1 (Preview)
- GET `get-content-models-fetch` Get Content Models (Fetch)
- GET `get-content-models-preview` Get Content Models (Preview)
- GET `get-gallery-fetch` Get Gallery (Fetch)
- GET `get-gallery-preview` Get Gallery (Preview)
- GET `get-page-by-id-fetch` Get Page By ID (Fetch)
- GET `get-page-by-id-preview` Get Page By ID (Preview)
- GET `get-page-by-id-v1-fetch` Get Page By ID V1 (Fetch)
- GET `get-page-by-id-v1-preview` Get Page By ID V1 (Preview)
- GET `get-page-by-path-fetch` Get Page By Path (Fetch)
- GET `get-page-by-path-preview` Get Page By Path (Preview)
- GET `get-sitemap-flat-fetch` Get Sitemap Flat (Fetch)
- GET `get-sitemap-flat-preview` Get Sitemap Flat (Preview)
- GET `get-sitemap-nested-fetch` Get Sitemap Nested (Fetch)
- GET `get-sitemap-nested-preview` Get Sitemap Nested (Preview)
- GET `get-url-redirections-fetch` Get URL Redirections (Fetch)
- GET `get-url-redirections-preview` Get URL Redirections (Preview)
- GET `list-categories-fetch` List Categories (Fetch)
- GET `list-categories-preview` List Categories (Preview)
- GET `list-content-items-fetch` List Content Items (Fetch)
- GET `list-content-items-preview` List Content Items (Preview)
- GET `list-content-items-v1-fetch` List Content Items V1 (Fetch)
- GET `list-content-items-v1-preview` List Content Items V1 (Preview)
- GET `list-posts-fetch` List Posts (Fetch)
- GET `list-posts-preview` List Posts (Preview)
- GET `sync-content-items-fetch` Sync Content Items (Fetch)
- GET `sync-content-items-preview` Sync Content Items (Preview)
- GET `sync-pages-fetch` Sync Pages (Fetch)
- GET `sync-pages-preview` Sync Pages (Preview)
