# Pledge API Documentation

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

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

## Pledge actions

- POST `create-donation` Create Donation
- POST `create-fundraiser` Create Fundraiser
- POST `create-impact-calculator` Create Impact Calculator
- POST `create-webhook-endpoint` Create Webhook Endpoint
- DELETE `delete-webhook-endpoint` Delete Webhook Endpoint
- GET `get-donation` Get Donation
- GET `get-fundraiser` Get Fundraiser
- GET `get-impact-calculator` Get Impact Calculator
- GET `get-organization` Get Organization
- GET `get-webhook-endpoint` Get Webhook Endpoint
- GET `list-donations` List Donations
- GET `list-impact-calculators` List Impact Calculators
- GET `list-organizations` List Organizations
- GET `list-webhook-endpoints` List Webhook Endpoints
- PUT `place-fundraiser` Place Fundraiser
- POST `request-organization` Request Organization
- PUT `update-fundraiser` Update Fundraiser
- PUT `update-impact-calculator` Update Impact Calculator
