---
title: "Creates a new ConnectWise integration for the provider"
method: POST
path: "/api/v2/providers/{provider_id}/integrations/connectwise"
tags: ["Providers"]
---

# Creates a new ConnectWise integration for the provider

`POST /api/v2/providers/{provider_id}/integrations/connectwise`

## Request

- Base URL: `https://console.jumpcloud.com`
- URL: `https://console.jumpcloud.com/api/v2/providers/{provider_id}/integrations/connectwise`
- Auth: API key in header `x-api-key`
- TypeScript: <https://skmtc.dev/jumpcloud/apis/jumpcloud-console-api/docs/api/v2/providers/:provider_id/integrations/connectwise/post.ts> (a function with typed inputs; its response is checked against the schema)

Creates a new ConnectWise integration for the provider. You must be associated with the provider to use this route. A 422 Unprocessable Entity response means the server failed to validate with ConnectWise.

## Request body

- ConnectwiseIntegrationReq: Request for creating a ConnectWise integration
  - `url` string, required: The base url for connecting to ConnectWise.
  - `companyId` string, required: The ConnectWise company identifier.
  - `publicKey` string, required: The ConnectWise public key for authentication.
  - `privateKey` string, required: The ConnectWise private key for authentication

## Response `201`

Created

- object
  - `integrationId` string, required: The identifier of the created integration

## Other responses

- `400`: Bad Request
- `401`: Unauthenticated
- `403`: Unauthorized
- `404`: Not Found
- `409`: Conflict
- `422`: Unprocessable Entity. The server failed to validate credentials with ConnectWise.
- `500`: Internal Server Error

---

[API](https://skmtc.dev/jumpcloud/apis/jumpcloud-console-api.md) - [All operations](https://skmtc.dev/jumpcloud/apis/jumpcloud-console-api/llms.txt) - [OpenAPI document](https://skmtc.dev/jumpcloud/apis/jumpcloud-console-api/revisions/f396d9271b46?raw)
