---
title: "This endpoint is used to test a slack notification."
method: POST
path: "/api/v2/notifications/slack/test"
tags: ["Slack Notifications"]
---

# This endpoint is used to test a slack notification.

`POST /api/v2/notifications/slack/test`

## Request

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

This endpoint allows you to test a slack notification.

## Request body

- JumpcloudNotificationsSlackTestRequest: SlackTestRequest represents the request to test a slack notification.
  - `organizationObjectId` string, byte
  - `slackChannelId` string
  - `slackTeamId` string

## Response `200`

A successful response.

- JumpcloudNotificationsSlackTestResponse: SlackTestResponse represents the response for testing a slack notification.
  - `message` string
  - `success` boolean

---

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