---
title: "Send Dingtalk"
method: POST
path: "/admin/ops/dingtalk-send"
tags: ["Admin"]
---

# Send Dingtalk

`POST /admin/ops/dingtalk-send`

## Request

- Base URL: `https://api.kolens.ai` (the document declares no server; this is the origin it was published from)
- URL: `https://api.kolens.ai/admin/ops/dingtalk-send`
- Auth: none declared

Send a DingTalk markdown message to the admin's configured webhook.

## Headers

- `x-admin-secret` string, nullable

## Request body

- DingTalkSendIn
  - `user_id` string, required: Supabase user id of the admin
  - `markdown_text` string, required
  - `title` string

## Response `200`

Successful Response

- DingTalkSendOut
  - `ok` boolean, required
  - `status` integer, nullable
  - `errcode` integer, nullable
  - `errmsg` string, nullable
  - `error` string, nullable
  - `via` string, nullable

## Other responses

- `422`: Validation Error

---

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