---
title: "Test Saved Connection"
method: POST
path: "/connections/{connection_id}/test"
tags: ["connections"]
---

# Test Saved Connection

`POST /connections/{connection_id}/test`

## Request

- Base URL: `https://api.myaltimate.com` (the document declares no server; this is the origin it was published from)
- URL: `https://api.myaltimate.com/connections/{connection_id}/test`
- Auth: one of:
  - HTTP bearer
  - HTTP bearer
- TypeScript: <https://skmtc.dev/myaltimate/apis/myaltimate-api/docs/connections/:connection_id/test/post.ts> (a function with typed inputs; its response is checked against the schema)

Live-test a saved connection with its stored credentials.

Any connection the caller may use can be tested, including one shared with
them; anything else answers 404. An integration with no live check answers
``not_testable``. When the validation service can't give a verdict, the
answer is 503. The result is returned, not stored.

Each test signs in with the owner's credentials, so each caller can test a
connection a few times a minute, and the users it is shared with a few times
a minute together; more answers 429, sparing the owner's account
provider-side lockouts. Shared users can't use up the owner's tests. Only a
test that will sign in counts: one that is not testable, has a malformed
value or an internal address doesn't. The counts are kept per backend
process, like the repository's other request limits.

## Path parameters

- `connection_id` integer, required

## Response `200`

Successful Response

- ConnectionTestResult: Result of ``POST /connections/{id}/test``.
  - `connection_id` integer, required
  - `test_status` 'passed' | 'failed' | 'not_testable', required: Outcome of a live connection test; reported, never stored.
  - `test_message` string, nullable

## Other responses

- `404`: Connection not found
- `422`: Validation Error
- `429`: The connection was tested too often in the last minute
- `503`: The validation service gave no verdict

## Changes

- **2026-11-03** `868dfab8c7fe`: 1 info
  - endpoint added

[Operation history](https://skmtc.dev/myaltimate/apis/myaltimate-api/changes/connections/:connection_id/test/post.md)

---

[API](https://skmtc.dev/myaltimate/apis/myaltimate-api.md) - [All operations](https://skmtc.dev/myaltimate/apis/myaltimate-api/llms.txt) - [OpenAPI document](https://skmtc.dev/myaltimate/apis/myaltimate-api/revisions/01c038028180?raw)
