# DivvyHQ API Documentation

This is the complete API documentation for connecting to the DivvyHQ 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 **DivvyHQ connection** — create or choose one in [Connections](https://app.mindcloud.co/credentials). Note its `connectionId`.

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

## DivvyHQ actions

- POST `create-campaign` Create Campaign
- POST `create-content-item` Create Content Item
- POST `create-production-task` Create Production Task
- POST `create-simple-calendar` Create Simple Calendar
- GET `get-base-calendar` Get Base Calendar
- GET `get-calendar-entry` Get Calendar Entry
- GET `get-campaign` Get Campaign
- GET `get-content-item` Get Content Item
- GET `get-my-profile` Get My Profile
- GET `get-parent-calendar` Get Parent Calendar
- GET `get-production-task` Get Production Task
- GET `get-role-in-calendar` Get Role In Calendar
- GET `get-simple-calendar` Get Simple Calendar
- GET `get-team-member` Get Team Member
- GET `list-allowed-content-types-in-calendars` List Allowed Content Types In Calendars
- GET `list-base-calendars` List Base Calendars
- GET `list-calendar-entries` List Calendar Entries
- GET `list-campaigns` List Campaigns
- GET `list-content-items` List Content Items
- GET `list-parent-calendars` List Parent Calendars
- GET `list-production-tasks` List Production Tasks
- GET `list-roles-in-calendars` List Roles In Calendars
- GET `list-team-members` List Team Members
- PUT `patch-allowed-content-type-in-calendar` Patch Allowed Content Type In Calendar
- PUT `patch-campaign` Patch Campaign
- PUT `patch-content-item` Patch Content Item
- PUT `patch-production-task` Patch Production Task
- PUT `patch-simple-calendar` Patch Simple Calendar
- GET `search-calendar-entries` Search Calendar Entries
- PUT `update-campaign` Update Campaign
- PUT `update-content-item` Update Content Item
- PUT `update-production-task` Update Production Task
- PUT `update-simple-calendar` Update Simple Calendar
