A connection links your Makini application to one customer system, such as a SAP instance, a Fleetio account or an UpKeep workspace. Each connection has its own credentials, sync schedule, tokens and credit cost, and its data is never mixed with another's.Creating a connection#
Makini Link
Your app sends the user to Makini Link. They pick a platform, enter credentials, and return to you with an authorization code. See Launching Makini Link.
Magic link
Create the connection in the dashboard and send your customer a link. No code needed. See Magic links.
Management API
POST /mgmt/connections creates one from your backend, with credentials or without them. See Managing connections. A connection created without credentials waits as Pending. Your user completes it later through a magic link, or through Makini Link with connection_id set to its id. Either way, it keeps the same id.Statuses#
The Status column in Connections shows where each connection stands.| Status | Meaning |
|---|
| Pending | Created, but no credentials yet. It uses no credits. |
| Billed | Credits are assigned, but the connection isn't connected yet. Finish connecting it. |
| Initializing | Connected. The first sync hasn't completed yet. |
| Synchronizing | A sync is running, with a live progress bar. It reads Preparing data in its final phase. |
| Active | Fully operational. Data is ready on the API. |
| Expired | The system rejected the stored credentials. Use Re-authorize in the row menu to enter new ones. |
| Sync error | The last sync failed. Use Trigger sync in the row menu to try again. |
| Deactivated | Switched off. It keeps its credentials and data, but serves no data and doesn't sync until you activate it. See Connection Credits. |
Re-authorize replaces a connection's credentials in place, so its id and data stay the same.Attach your own key/value pairs to a connection, such as your customer ID or region. Set them when you create the connection in the dashboard, in the Management API request, or on the Makini Link URL as metadata[key]=value.Makini returns them as userMetadata on the connection:{
"connection": {
"id": "5f0c…",
"name": "Acme Manufacturing",
"platform": "upkeep",
"userMetadata": { "customerId": "cus_4711", "region": "eu" },
"connectedAt": "2026-09-01T10:15:00Z",
"deactivatedAt": null
}
}
Watching a connection#
Dashboard: Connections shows each connection's status, last sync and credits.
Management API: GET /mgmt/connections/{id} returns the connection, including connectedAt, deactivatedAt and credentialsExpiredAt. It accepts a Management API token, or the connection's own token for its own record.
Webhooks: subscribe to connection.created, connection.updated, connection.deleted and sync.completed, and react as changes happen. See Events and payloads.
Modified at 2026-10-16 14:20:34