---
title: "Test Credentials"
method: POST
path: "/api/psa/{team_key}/connections/test"
tags: ["psa"]
---

# Test Credentials

`POST /api/psa/{team_key}/connections/test`

## Request

- Base URL: `https://api.superit.ai` (the document declares no server; this is the origin it was published from)
- URL: `https://api.superit.ai/api/psa/{team_key}/connections/test`
- Auth: HTTP bearer

## Path parameters

- `team_key` string, required

## Request body

- ConnectionTestRequest
  - `psaType` 'halo' | 'connectwise' | 'accelo' | 'autotask', required
  - `apiUrl` string, uri, nullable
  - `clientId` string, nullable
  - `clientSecret` string, nullable
  - `tenantId` string, nullable
  - `codebase` string, nullable
  - `companyId` string, nullable
  - `publicKey` string, nullable
  - `privateKey` string, nullable
  - `deployment` string, nullable
  - `username` string, nullable
  - `secret` string, nullable
  - `impersonationResourceId` integer, nullable

## Response `200`

Successful Response

- ConnectionTestResult
  - `success` boolean, required
  - `message` string, required

## Other responses

- `400`: Invalid input
- `401`: Not authenticated
- `403`: Forbidden
- `404`: Not found
- `405`: Method not allowed
- `409`: Conflict
- `422`: Validation Error

---

[API](https://skmtc.dev/superit/apis/super-it-api.md) - [All operations](https://skmtc.dev/superit/apis/super-it-api/llms.txt) - [OpenAPI document](https://skmtc.dev/superit/apis/super-it-api/revisions/4944d556c2bb?raw)
