Ir al contenido principal
Conversations

Discard an admin’s draft

Discards the draft that Put a draft in an admin's composer put into an admin's composer for a conversation. The composer goes back to what it held before the draft, in every browser. Text the admin typed into the draft in a browser stays there.

DELETE
/v2/conversations/{id}/draft

adminId names the admin, the same way as when the draft was put in. The Featurebase MCP server may leave it out: it always discards the drafts of the admin who connected it.

Path Parameters

  • id - The conversation ID (short ID)

Query Parameters

  • messageType - Optional. "reply" or "note" discards only that draft; both are discarded when omitted.

Request Body

FieldTypeRequiredDescription
adminIdstringYesThe admin whose draft is discarded. Must be a member of the organization.

Example Request

{
  "adminId": "507f1f77bcf86cd799439011"
}

Response

Returns the discarded drafts. Returns 404 when there is no pending draft to discard.

Version Availability

This endpoint is only available in API version 2026-01-01.nova and newer.

Authorizationstringheaderobligatorio

API key as Bearer token. Use: Authorization: Bearer sk_...

idstringobligatorio

Conversation ID (short ID)

Required string length: 1 - 16
Patrón: ^[a-zA-Z0-9]+$
Ejemplo: 12345
messageTypeenum<string>query

Discard only the reply draft or only the note draft. Both when omitted.

Opciones disponibles: reply, note
Ejemplo: reply
Featurebase-Versionenum<string>header

API version for this request. Defaults to your organization's configured API version if not specified.

Opciones disponibles: 2026-08-19.orbit, 2026-01-01.nova, 2025-12-12.clover
Ejemplo: 2026-08-19.orbit

Cuerpo

application/json
adminIdstringobligatorio

The admin whose draft is discarded. Must be a member of the organization.

Ejemplo: 507f1f77bcf86cd799439011

Respuesta

application/json

Success

dataobject[]obligatorio

The discarded drafts (status "discarded")

objectenum<string>obligatorio

Object type identifier

Opciones disponibles: list
Ejemplo: list