# Create integrations provider test

Open the stored credentials and actually reach the provider. Only twilio and zoom have a probe; every other provider answers the honest 'not checked — the settings are complete, whether they work is unknown' rather than a tick it has not earned. The answer says whether it was checked, whether it was reachable, and why not. A provider with no row is a not-found, because there is nothing to test. Admin only, and the plaintext credential never appears in the response or the log.

Access class: `workspace:admin`.

## Endpoint

`POST /v1/integrations/{provider}/test`

## Parameters

| Name | In | Type | Required |
| --- | --- | --- | --- |
| provider | path | string | Yes |

## Request body

Content type: `application/json`.

```json
{
  "body": {},
  "params": {
    ":provider": "string"
  },
  "query": {}
}
```

## Responses

### 201

the action's answer

Content type: `application/json`.

```json
{
  "data": {
    "checked": true,
    "message": "string",
    "provider": "string",
    "reachable": true
  }
}
```

### default

a refusal: `{"error": "<what a person needs to read>"}`. 401 no credential, 402 the plan does not include this, 403 the seat does not, 404 the thing does not exist or is not yours to see.

Content type: `application/json`.

```json
{
  "error": "string"
}
```
