---
title: "Retrieve Slack action by ID"
method: GET
path: "/api/2.0/actions/slacks/{objectId}"
tags: ["Action Management API"]
---

# Retrieve Slack action by ID

`GET /api/2.0/actions/slacks/{objectId}`

## Path parameters

- `objectId` integer, required

## Response `200`

Success

- AlertActionApi — Action API for messaging platform such as Teams and Slack
  - `createdDate` integer — Created date in milliseconds
  - `lastModDate` integer — Last modified date
  - `id` integer — Action ID
  - `userId` integer — Action owner's user ID
  - `actionType` string — Action type
  - `name` string, required — Action name
  - `channels` AlertChannel[]
    - `id` string, required — Channel ID
    - `name` string — Channel name
    - `privateChannel` boolean — Whether or not this channel is private
  - `message` string — Action message
  - `eachRowOfDataAsMessage` boolean — Whether or not to send a separate message for each row of the data
  - `botAccessToken` string — Service access token
  - `teamId` string — Service team ID
  - `teamName` string — Service team Name used for display purpose
  - `botClientId` integer — Service client ID
  - `channel` AlertChannel — Action API channel
    - `id` string, required — Channel ID
    - `name` string — Channel name
    - `privateChannel` boolean — Whether or not this channel is private

## Other responses

- `400` — Bad request
- `401` — User is not authenticated
- `500` — Error during processing

---

[API](https://skmtc.net/knowi/apis/user-management-api.md) · [All operations](https://skmtc.net/knowi/apis/user-management-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/knowi/user-management-api/revisions/6e6982573ba6/schema)
