# Oneflow API Documentation

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

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

## Oneflow actions

- POST `create-access-link` Create Access Link
- POST `create-contact` Create Contact
- POST `create-contract` Create Contract
- POST `create-participant` Create Participant
- POST `create-party` Create Party
- GET `get-contact` Get Contact
- GET `get-contract` Get Contract
- GET `get-contract-create-data` Get Contract Create Data
- GET `get-contract-file` Get Contract File
- GET `get-template` Get Template
- GET `get-template-type` Get Template Type
- GET `list-contacts` List Contacts
- GET `list-contract-data-fields` List Contract Data Fields
- GET `list-contract-files` List Contract Files
- GET `list-contracts` List Contracts
- GET `list-parties` List Parties
- GET `list-template-types` List Template Types
- GET `list-templates` List Templates
- GET `list-users` List Users
- GET `list-workspaces` List Workspaces
- PUT `publish-contract` Publish Contract
- PUT `update-contact` Update Contact
- PUT `update-contract` Update Contract
- PUT `update-contract-data-field-value` Update Contract Data Field Value
