---
title: "Create a new connection."
method: POST
path: "/v1/connections"
tags: ["connectionManagement"]
---

# Create a new connection.

`POST /v1/connections`

Create a new connection in the organization.

## Request body

- ConnectionDefinition
  - `type` string, required — Type of connection. Valid values are `WebhookDefinition`, `ServiceNowDefinition`.
  - `name` string, required — Name of the connection.
  - `description` string — Description of the connection.

## Response `200`

The connection has been created.

- Connection
  - `type` string, required — Type of connection. Valid values are `WebhookConnection`, `ServiceNowConnection`.
  - `id` string, required — Unique identifier for the connection.
  - `name` string, required — Name of the connection.
  - `description` string, required — Description of the connection.
  - `createdAt` string, date-time, required — Creation timestamp in UTC in [RFC3339](https://tools.ietf.org/html/rfc3339) format.
  - `createdBy` string, required — Identifier of the user who created the resource.
  - `modifiedAt` string, date-time, required — Last modification timestamp in UTC.
  - `modifiedBy` string, required — Identifier of the user who last modified the resource.

## Other responses

- `default` — Operation failed with an error.

---

[API](https://skmtc.net/sumologic/apis/sumo-logic-api.md) · [All operations](https://skmtc.net/sumologic/apis/sumo-logic-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/sumologic/sumo-logic-api/revisions/e4e4c7554890/schema)
