Voice

Estimate what generating an email would cost

FREE. Reports the token cost and GENERATES NOTHING.

The only way to learn what POST /voice/campaigns/emails will cost before spending it, which is exactly why it must not be gated behind the spend permission. It is in READ_ONLY_POST_ROUTES for that reason - the /estimate billable marker catches it by name and gets it backwards.

post/voice/campaigns/email-estimate

Request

  • Base URL: https://be.graph8.com/api/v1
  • URL: https://be.graph8.com/api/v1/voice/campaigns/email-estimate
  • Auth: HTTP bearer

Headers

Authorizationstring nullable
X-Target-Org-Idstring nullable

Request body

object required

The same body POST /voice/campaigns/emails takes.

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.