---
title: "Reply to a chat's pending approval"
method: POST
path: "/v1/chats/{chatId}/permissions/{permissionId}"
tags: ["Chats"]
---

# Reply to a chat's pending approval

`POST /v1/chats/{chatId}/permissions/{permissionId}`

## Request

- Base URL: `https://docs.grepr.ai` (the document declares no server; this is the origin it was published from)
- URL: `https://docs.grepr.ai/v1/chats/{chatId}/permissions/{permissionId}`
- Auth: one of:
  - API key in header `GREPR-API-KEY`
  - OpenID Connect (`https://grepr-prod.us.auth0.com/.well-known/openid-configuration`)

Signals the chat's workflow with the user's decision on the write it is waiting on, resuming the turn. Returns 202 immediately. To stop being asked about such writes, grant their categories under /v1/chat-preferences/action-categories.

## Path parameters

- `chatId` string, required
- `permissionId` string, required

## Request body

- PermissionReplyRequest
  - `approvalNonce` string, required
  - `reply` string, required

## Response `202`

Decision accepted

## Other responses

- `401`: Unauthorized
- `404`: Chat not found
- `409`: Chat is no longer running

---

[API](https://skmtc.dev/grepr/apis/grepr-api.md) - [All operations](https://skmtc.dev/grepr/apis/grepr-api/llms.txt) - [OpenAPI document](https://skmtc.dev/grepr/apis/grepr-api/revisions/2a5ce03a0bf0?raw)
