Skip to Content
MailroomMailroom home

Send an escalated conversation back to its agent with guidance

Needs approvals:decide, so agent keys cannot call it. Sets the thread to open with status_reason "From the owner …" and emits thread.handed_back.

POST
/threads/{id}/hand-back

Needs approvals:decide, so agent keys cannot call it. Sets the thread to open with status_reason "From the owner …" and emits thread.handed_back.

Authorization

bearerAuth
headerAuthorizationBearer <mr_live_ / mr_test_>

API key. Never log the secret.

Path Parameters

id*string

Request Body

application/json
  1. body
guidance*string
Lengthlength <= 2000

Response Body

The thread

Example Request
curl -X POST 'https://api.mailroomapi.com/v1/threads/string/hand-back' \  -H 'Content-Type: application/json' \  -d '{  "guidance": "string"}'
Example Response
Empty