Skip to main content
POST
/
api
/
v1
/
config
/
external-connections
cURL
curl --request POST \
  --url https://{tenant}.chronosphere.io/api/v1/config/external-connections \
  --header 'API-Token: <api-key>' \
  --header 'Content-Type: application/json' \
  --data '{}'
{
  "external_connection": {
    "name": "<string>",
    "created_at": "2023-11-07T05:31:56Z",
    "ops_genie": {
      "api_key": "<string>",
      "api_url": "<string>",
      "http_config": {
        "basic_auth": {
          "password": "<string>",
          "username": "<string>"
        },
        "bearer_token": "<string>",
        "tls_config": {
          "insecure_skip_verify": true
        }
      }
    },
    "pagerduty": {
      "events": {
        "api_key": "<string>",
        "version": "PAGERDUTY_EVENTS_VERSION_V1"
      },
      "rest": {
        "api_key": "<string>"
      }
    },
    "slack": {
      "api_url": "<string>",
      "token": "<string>"
    },
    "slug": "<string>",
    "updated_at": "2023-11-07T05:31:56Z",
    "victor_ops": {
      "api_key": "<string>",
      "api_url": "<string>"
    },
    "webhook": {
      "http_config": {
        "basic_auth": {
          "password": "<string>",
          "username": "<string>"
        },
        "bearer_token": "<string>",
        "tls_config": {
          "insecure_skip_verify": true
        }
      },
      "url": "<string>"
    }
  }
}

Authorizations

API-Token
string
header
required

Chronosphere API token

Body

application/json
dry_run
boolean

If true, validates the specified configuration without creating the ExternalConnection. If the specified configuration is valid, the endpoint returns a partial response without the ExternalConnection. If the specified configuration is invalid, the endpoint returns an error.

external_connection
object

The ExternalConnection to create.

Response

A successful response containing the created ExternalConnection.

external_connection
object