# Trust API Documentation

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

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

## Trust actions

- PUT `assign-testimonial-to-widget` Assign Testimonial To Widget
- POST `create-contact` Create Contact
- POST `create-testimonial` Create Testimonial
- DELETE `delete-contact` Delete Contact
- DELETE `delete-testimonial` Delete Testimonial
- GET `find-contact-by-email` Find Contact By Email
- GET `get-contact` Get Contact
- GET `get-testimonial` Get Testimonial
- GET `list-campaigns` List Campaigns
- GET `list-contacts` List Contacts
- GET `list-testimonials` List Testimonials
- GET `list-widgets` List Widgets
- GET `list-workspaces` List Workspaces
- PUT `remove-testimonial-from-widget` Remove Testimonial From Widget
- PUT `update-contact` Update Contact
- PUT `update-testimonial` Update Testimonial
- POST `upload-contact-image` Upload Contact Image
- POST `upload-media-image` Upload Media Image
- POST `upload-small-video` Upload Small Video
- POST `upload-video` Upload Video
