The exact voicemail message one published version leaves
const url = 'https://api.vocapable.com/v1/agents/example/versions/1/voicemail-message';const options = {method: 'GET', headers: {Authorization: 'Bearer <token>'}};
try { const response = await fetch(url, options); const data = await response.json(); console.log(data);} catch (error) { console.error(error);}curl --request GET \ --url https://api.vocapable.com/v1/agents/example/versions/1/voicemail-message \ --header 'Authorization: Bearer <token>'Show the customer the text that will actually be spoken.
Served from the same composer the drop uses, on the same pinned snapshot the
drop reads, which is what makes this a proof rather than a mock-up: if this endpoint
and a live drop could disagree, the platform would not really be the one composing the
message. estimated_seconds is named an estimate because <Say> renders at Twilio’s
rate, not ours.
The compliance-profile extension text is deliberately omitted, exactly as at publish: it can only lengthen the opener, so the text here is the shortest lawful form of the message rather than a different one.
Authorizations
Section titled “Authorizations”Parameters
Section titled “Parameters”Path Parameters
Section titled “Path Parameters”Responses
Section titled “Responses”Successful Response
GET /v1/agents/{id}/versions/{v}/voicemail-message - what will actually be said.
A customer running a waivered cold-outreach program is legally responsible for the message; they must be able to read it, in full, before it is left on anyone’s machine. Serving it from the same composer and the same pinned snapshot the drop reads is what makes this the message rather than a preview of one.
composable is false - with refusal naming the floor control - where the version
would leave no message at all. That is a state worth reporting rather than a 409: the
question “what will be said” has the honest answer “nothing, and here is why”.
object
Examplegenerated
{ "agent_version_id": "example", "composable": true, "refusal": "example", "text": "example", "elements": [ "example" ], "language": "example", "callback_e164": "example", "content_sha256": "example", "estimated_seconds": 1}Validation Error
object
object
object
Examplegenerated
{ "detail": [ { "loc": [ "example" ], "msg": "example", "type": "example", "input": "example", "ctx": {} } ]}