Wire Docs

Test an operator connection

Verifies the operator is registered and credentials decrypt; marks the connection active.

POST
/v1/operator_connections/{id}/test

Authorization

bearerAuth
AuthorizationBearer <token>

API key as a bearer token (Authorization: Bearer sk_live_...).

In: header

Path Parameters

id*string

Response Body

application/json

application/json

curl -X POST "https://example.com/v1/operator_connections/string/test"
{
  "object": "operator_connection_test",
  "operator": "string",
  "status": "ok",
  "capabilities": [
    "string"
  ]
}
{
  "error": {
    "type": "invalid_request_error",
    "code": "string",
    "message": "string",
    "param": "string",
    "request_id": "string",
    "doc_url": "string",
    "operator_decline_code": "string"
  }
}