---
title: "Create approval message"
method: POST
path: "/v3/approval/{id}/create-message"
tags: ["[v3] Approval"]
---

# Create approval message

`POST /v3/approval/{id}/create-message`

Create approval message

## Path parameters

- `id` string, required

## Headers

- `Accept` string
- `Content-Type` string

## Request body

- object
  - `message` string — message
  - `event` 0 | 1 | 2 | 3 — 0 - Open 1 - Approved 2 - Pending 3 - Rejected

## Response `200`

OK

- object
  - `data` object
    - `id` integer
    - `approvalId` integer
    - `userId` integer
    - `message` string
    - `event` integer
    - `addTime` string

## Other responses

- `403` — The authenticated OAuth2 access token or PAT does not contain any scope accepted by the endpoint.
- `default` — Default

---

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