Skip to content
TriedDocs
Calls

Supervisor say

After a take-over without audio, add a typed line to the call as the agent.

POSThttps://api.tried.com.au/v2/calls/{call_id}/supervisor-say

Adds a line spoken by the supervisor to a call that was taken over. It is stored as an agent utterance in transcript_object and transcript_with_tool_calls. Use it with Take over call when it returns mode: "text". Beyond Retell

Request#

Path parameters#

Parameter Type Required Description
call_id string Yes A call that was taken over.

Body#

Field Type Required Description
content string Yes 1 to 2000 characters.

Example request#

curl -X POST "https://api.tried.com.au/v2/calls/call_8d1e0f2a3b4c5d6e7f8a9b0c/supervisor-say" \
  -H "Authorization: Bearer $TRIED_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
  "content": "Hi, this is Alex from the front desk. I can help with that."
}'
const res = await fetch("https://api.tried.com.au/v2/calls/call_8d1e0f2a3b4c5d6e7f8a9b0c/supervisor-say", {
  method: "POST",
  headers: {
    Authorization: `Bearer ${process.env.TRIED_API_KEY}`,
    "Content-Type": "application/json",
  },
  body: JSON.stringify({
    "content": "Hi, this is Alex from the front desk. I can help with that."
  }),
});
const data = await res.json();
import os, requests

res = requests.post(
    "https://api.tried.com.au/v2/calls/call_8d1e0f2a3b4c5d6e7f8a9b0c/supervisor-say",
    headers={"Authorization": f"Bearer {os.environ['TRIED_API_KEY']}"},
    json={
        "content": "Hi, this is Alex from the front desk. I can help with that.",
    },
)
data = res.json()

Response#

200 OK with the updated call object.

Errors#

Status When
400 Validation failed, or the call has not been taken over (Take over the call first).
401 Missing or invalid API key.
403 The key's IP allowlist or scopes reject the request. This route needs the calls scope.
404 No call with this ID in the workspace.
429 Rate limit exceeded. See Rate limits.

See Errors for the body format.