Skip to main content
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.

Authorizationstringheaderrequired

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

idstringrequired

Conversation ID (short ID)

Required string length: 1 - 16
Pattern: ^[a-zA-Z0-9]+$
Example: 12345
messageTypeenum<string>query

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

Available options: reply, note
Example: reply
Featurebase-Versionenum<string>header

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

Available options: 2026-08-19.orbit, 2026-01-01.nova, 2025-12-12.clover
Example: 2026-08-19.orbit

Body

application/json
adminIdstringrequired

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

Example: 507f1f77bcf86cd799439011

Response

application/json

Success

dataobject[]required

The discarded drafts (status "discarded")

objectenum<string>required

Object type identifier

Available options: list
Example: list