Building a webhook integration? Read the webhook guide for signatures, retries, event schemas, and troubleshooting.
apiDeterministic

Resolve reply draft

PATCH /api/inbox/draft-queue/{draftId}

Approve or reject one pending Reply Agent draft by id. Approval marks it sendable for the existing sender pipeline.

Parameters

workspaceId
string
Optional with API key auth - inferred from the key.
draftIdrequired
string
No description.
approvalStatusrequired
string
No description.
approved | rejected
editedMessage
string
No description.
rejectionReason
string
No description.

Example

REST requestbash
curl -X PATCH "https://app.pipeline.help/api/inbox/draft-queue/00000000-0000-4000-8000-000000000000" \
-H "Authorization: Bearer $PIPELINE_API_KEY" \
-H "Content-Type: application/json" \
-d '{"approvalStatus":"approved"}'

Response

The operation is available, but its typed response schema has not been published yet.

HTTP errors

401
Missing or invalid API key.
403
Authenticated but not permitted for the workspace or resource.
404
The requested resource was not found.
Pipeline REST API reference | Pipeline