---
title: "Set Text Booking Outcome"
method: PUT
path: "/api/v1/text-sessions/{text_session_id}/booking-outcome"
tags: ["booking-outcome"]
---

# Set Text Booking Outcome

`PUT /api/v1/text-sessions/{text_session_id}/booking-outcome`

Set booking outcome attribution on a text session.

## Path parameters

- `text_session_id` string, uuid, required

## Request body

- TextSessionBookingOutcomeUpdate — Request payload for PUT /text-sessions/{id}/booking-outcome.
  - `booking_made` boolean, required
  - `attributed_to_human_agent_id` string, uuid, nullable
  - `booking_value_cents` integer, nullable

## Response `200`

Successful Response

- TextSessionBookingOutcomeResponse — Response for PUT /text-sessions/{id}/booking-outcome.
  - `text_session_id` string, uuid, required
  - `booking_made` boolean, nullable, required
  - `booking_value_cents` integer, nullable, required
  - `outcome_agent_ref` string, nullable, required
  - `booking_outcome_set_by_user_id` string, uuid, nullable, required
  - `booking_outcome_set_at` string, date-time, nullable, required

## Other responses

- `404` — Text session or human agent not found
- `422` — Validation Error

## Changes

> 21 revisions in range; 1 not diffed.

- **2026-09-03** `d65b8fefae34` — 2 info
  - added the optional property `detail/items/ctx` to the response with the `422` status
  - added the optional property `detail/items/input` to the response with the `422` status

[Change history](https://skmtc.dev/getanana/apis/cleon-api/changes/api/v1/text-sessions/:text_session_id/booking-outcome/put.md)

---

[API](https://skmtc.dev/getanana/apis/cleon-api.md) · [All operations](https://skmtc.dev/getanana/apis/cleon-api/llms.txt) · [OpenAPI document](https://skmtc.dev/getanana/apis/cleon-api/revisions/59d90f796108?raw)
