API reference · Calls
Speak into a call
POST
https://goblins-call-api.onrender.com/v1/calls/:id/sayHas the agent say a line right now, outside its normal turn. Use it for something your system learns mid-call, such as a payment going through.
Works with a workspace API key or the agent’s own key.
Path parameters
idstringRequiredThe callId returned when the call was started.
Body
textstringRequired1–2,000 charsWhat the agent says, in its own voice.
allowInterruptionsbooleanOptionalfalse has the agent finish the line even if the caller starts talking.
Errors
400The body failed validation. details lists each field and what is wrong with it.
404No call in your workspace has that ID.
409The call has already ended.
Every request can also answer 401, 429 and 500: see Errors.
curl -X POST "https://goblins-call-api.onrender.com/v1/calls/8f1c2c1e-7b1a-4e0a-9c55-2f6f0d3b1a90/say" \
-H "Authorization: Bearer $CRACKLE_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"text": "Your payment just came through. Thank you!"
}'Response · 202 Accepted
{
"ok": true
}