# eGain API Documentation

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

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

## eGain actions

- POST `create-account` Create Account
- POST `create-asset` Create Asset
- POST `create-authentication` Create Authentication
- POST `create-channel` Create Channel
- POST `create-client-application` Create Client Application
- POST `create-orchestration` Create Orchestration
- POST `create-participant` Create Participant
- DELETE `delete-account` Delete Account
- DELETE `delete-asset` Delete Asset
- DELETE `delete-authentication` Delete Authentication
- DELETE `delete-channel` Delete Channel
- DELETE `delete-client-application` Delete Client Application
- DELETE `delete-orchestration` Delete Orchestration
- DELETE `delete-participant` Delete Participant
- GET `get-account` Get Account
- GET `get-asset` Get Asset
- GET `get-authentication` Get Authentication
- GET `get-channel` Get Channel
- GET `get-client-application` Get Client Application
- GET `get-conversation` Get Conversation
- GET `get-orchestration` Get Orchestration
- GET `get-participant` Get Participant
- GET `list-accounts` List Accounts
- GET `list-authentications` List Authentications
- GET `list-channels` List Channels
- GET `list-client-applications` List Client Applications
- GET `list-orchestrations` List Orchestrations
- GET `list-participants` List Participants
- POST `send-message` Send Message
- PUT `update-account` Update Account
- PUT `update-authentication` Update Authentication
- PUT `update-channel` Update Channel
- PUT `update-client-application` Update Client Application
- PUT `update-orchestration` Update Orchestration
- PUT `update-participant` Update Participant
