# GoFreight API Documentation

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

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

## GoFreight actions

- POST `create-make-payment` Create Make Payment
- GET `get-invoice` Get Invoice
- GET `get-payment` Get Payment
- GET `list-banks` List Banks
- GET `list-container-types` List Container Types
- GET `list-currency-codes` List Currency Codes
- GET `list-general-ledger-codes` List General Ledger Codes
- GET `list-invoices` List Invoices
- GET `list-offices` List Offices
- GET `list-payments` List Payments
- GET `list-shipment-master-bills` List Shipment Master Bills
- GET `list-trade-partners` List Trade Partners
