Voice

Draft a reply to an email

THIS COSTS CREDITS. Drafts a reply. NOTHING IS SENT.

Published as draft-reply, not reply. Two reasons, and they agree: it DRAFTS, so calling it reply would promise a send it does not perform; and /reply is an EXTERNAL_PATH_MARKER, so that spelling derived the external tier - overstating a route that reaches nobody, while /email-agent/compose beside it correctly derived billable. The name that describes the behaviour is also the one that tiers it correctly.

post/voice/email-agent/draft-reply

Request

  • Base URL: https://be.graph8.com/api/v1
  • URL: https://be.graph8.com/api/v1/voice/email-agent/draft-reply
  • Auth: HTTP bearer

Headers

Authorizationstring nullable
X-Target-Org-Idstring nullable

Request body

object required

The email being replied to, plus context.

Response

Successful Response

dataVoicePayload required

One voice object - a collection, an agent, a route, a chat.

Open-shaped: voice adds fields to these bodies on its own release cadence and a dropped-or-added key must not be a 500 in this service.

Changes

No recorded changes to this operation across all 2 revisions of this API.