---
title: "updateIntegration"
method: PUT
path: "/core/api/v1/integration"
tags: ["integration-controller"]
---

# updateIntegration

`PUT /core/api/v1/integration`

## Request

- Base URL: `https://api.freshlearn.com`
- URL: `https://api.freshlearn.com/core/api/v1/integration`
- Auth: none declared

## Headers

- `Authorization` string
- `domain` string
- `api-key` string

## Request body

- IntegrationDTO
  - `domainId` integer
  - `hubspotAllFields` string
  - `hubspotRefreshToken` string
  - `hubspotapiKey` string
  - `hubspotuserId` string
  - `id` integer
  - `leadAccessKey` string
  - `leadSecretKey` string
  - `mailchimpEndPoint` string
  - `mailchimpListId` string
  - `mailchimpToken` string
  - `paypalClientId` string
  - `paypalSecretApiKey` string
  - `status` string
  - `stripeApiKey` string
  - `stripePublishableApiKey` string
  - `type` 'NON' | 'MAILCHIMP' | 'HUBSPOT' | 'LEADSQUARED' | 'GETRESPONSE' | 'ACTIVECAMPAIGN' | 'CONVERTKIT' | 'PIPEDRIVE' | 'MAILERLITE' | 'PAYPAL' | 'STRIPE' | 'OTHER'

## Response `200`

OK

## Other responses

- `201`: Created
- `401`: Unauthorized
- `403`: Forbidden
- `404`: Not Found

---

[API](https://skmtc.dev/freshlearn/apis/freshlearn-api.md) · [All operations](https://skmtc.dev/freshlearn/apis/freshlearn-api/llms.txt) · [OpenAPI document](https://skmtc.dev/freshlearn/apis/freshlearn-api/revisions/8a82ee14b586?raw)
