---
title: "mailchimpToken"
method: POST
path: "/core/api/v1/public/slack/{code}"
tags: ["messaging-app-public-controller"]
---

# mailchimpToken

`POST /core/api/v1/public/slack/{code}`

## Request

- Base URL: `https://api.freshlearn.com`
- URL: `https://api.freshlearn.com/core/api/v1/public/slack/{code}`
- Auth: none declared

## Path parameters

- `code` string, required

## Headers

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

## Request body

- MessagingAppsDTO
  - `accessPayload` object
  - `accessPoint` string
  - `accessToken` string
  - `accountId` string
  - `appName` 'SLACK' | 'TEAMS' | 'WHATSAPP' | 'ZOOM'
  - `clientId` string
  - `clientSecret` string
  - `createdBy` integer
  - `createdTime` integer
  - `domainId` integer
  - `id` integer
  - `status` boolean
  - `updatedBy` integer

## 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)
