API reference
Conferences
How these fit together: the Conferences guide.
Create conference
post
Opens a live call as a conference (its room takes more parties); idempotent.
Opens an answered root call whose audio streams through the platform (callId) as a conference: the conference’s id is the call’s, its parties join and leave as conference.participant.joined and conference.participant.left, and conference.ended fires when the call ends. Opening a call that already is one answers that conference again; each opening is audited against the key. Refused with 409 CALL_NOT_ANSWERED before the contact answers, 409 CALL_NOT_CONTROLLABLE when the call’s audio does not stream through the platform, and 422 CONFERENCE_PARTICIPANT_UNSUPPORTED (reason: leg) for a leg; a test key has no conferences (422 TEST_MODE_UNSUPPORTED, whatever the id), and a test call is, to a live key, a call that does not exist (404 CONFERENCE_NOT_FOUND).
Access: an organization key with the calls:write scope.
Headers
Idempotency-KeystringMakes the request safe to retry: a repeat with the same key and the same body returns the stored success (with
Idempotent-Replayed: true) instead of running again; a 4xx stores nothing. A 5xx is stored and replayed to every retry with the same key (Idempotent-Replayed: true): the first attempt may have taken effect, so check before retrying with a new key — except the errors that provably changed nothing (503 MESSAGING_TRANSPORT,503 WHATSAPP_CONNECT_UNAVAILABLE; see https://trovacast.com/developers/idempotency), which store nothing, so a retry with the same key runs again. 1–255 visible ASCII characters; kept for 24 hours.
Request body
callIdstring (uuid)RequiredA live, answered call of this organization whose audio streams through the platform (any mode). Its room becomes the conference, and the conference’s id is the call’s.
Response 201PublicConference
Its fields are listed under Get conference.
Errors
400VALIDATION_FAILED — the request is malformed.401API_KEY_INVALID — missing, unknown, revoked or expired key.403API_KEY_SCOPE_MISSING or API_KEY_KIND_MISMATCH — the key may not call this endpoint.404CONFERENCE_NOT_FOUND — no such call.409CONFERENCE_ENDED, CALL_NOT_LIVE, CALL_NOT_ANSWERED, CALL_NOT_CONTROLLABLE (a phone-leg or SIM call: its audio does not stream through the platform), CALL_ON_ANOTHER_REPLICA (the server carrying the call could not be reached in time; retry with the same Idempotency-Key); or IDEMPOTENCY_KEY_IN_FLIGHT.422CONFERENCE_PARTICIPANT_UNSUPPORTED (reason: leg— open the root call), TEST_MODE_UNSUPPORTED; or IDEMPOTENCY_KEY_REUSED.429RATE_LIMITED — retry afterRetry-Afterseconds.500INTERNAL_ERROR — our fault. With an Idempotency-Key, every retry with that key replays this answer (Idempotent-Replayed: true).
curl -X POST 'https://api.trovacast.com/v1/conferences' \
-H "Authorization: Bearer $TROVACAST_API_KEY" \
-H "Idempotency-Key: $(uuidgen)" \
-H 'Content-Type: application/json' \
-d '{
"callId": "2073ce40-ff6b-4cff-919b-ff0f7dcd48ef"
}'{
"callId": "CALL_ID",
"createdAt": "2026-11-05T10:00:00.000Z",
"endedAt": "2026-11-05T10:00:00.000Z",
"id": "ID",
"object": "conference",
"participants": [
{
"agentMembershipId": "AGENT_MEMBERSHIP_ID",
"callId": "CALL_ID",
"held": true,
"id": "ID",
"joinedAt": "2026-11-05T10:00:00.000Z",
"kind": "caller",
"leftAt": "2026-11-05T10:00:00.000Z",
"muted": true,
"numberLast4": "NUMBER_LAST4",
"object": "conference_participant",
"status": "ringing"
}
],
"status": "active"
}Get conference
get
A conference and its parties (numbers masked to four digits).
The conference’s status (ended once its call has ended) and every party in its room — the caller, dialled numbers and agents — each with its kind, status, muted and held, when it joined and left, and its leg id, which the participant PATCH and DELETE take. A dialled number or the caller shows only its last four digits. A call never opened as a conference answers 404, and a test key reads no conferences.
Access: an organization key with the calls:read scope.
Path parameters
conferenceIdstringRequired
Response 200PublicConference
callIdstring (uuid)RequiredcreatedAtstring (date-time)RequiredendedAtstring (date-time) | nullRequiredidstring (uuid)RequiredThe conference call’s id: a conference is that call’s room.
objectstringRequiredOne of
conferenceparticipantsPublicConferenceParticipant[]RequiredEvery party, oldest first — including those who left. A supervisor listening in is never listed.
11 fields of
participantsagentMembershipIdstring (uuid) | nullRequiredcallIdstring (uuid) | nullRequiredA dialled number’s own call (a leg in the conference call’s graph); the conference call for the caller.
heldbooleanRequiredidstring (uuid)RequiredThe party’s leg id: what mute and remove take.
joinedAtstring (date-time) | nullRequiredkindstringRequiredcaller: the party the conference call reached;number: a number dialled in;agent: a desk agent who joined;ai: an AI agent on the call.One of
callernumberagentaileftAtstring (date-time) | nullRequiredmutedbooleanRequirednumberLast4string | nullRequiredThe last four digits of a dialled number or of the caller.
objectstringRequiredOne of
conference_participantstatusstringRequiredOne of
ringingjoinedleftfailed
statusstringRequiredendedonce the conference call has ended.One of
activeended
Errors
400VALIDATION_FAILED — the request is malformed.401API_KEY_INVALID — missing, unknown, revoked or expired key.403API_KEY_SCOPE_MISSING or API_KEY_KIND_MISMATCH — the key may not call this endpoint.404CONFERENCE_NOT_FOUND — no such conference in this organization (a call never opened as one is not a conference).429RATE_LIMITED — retry afterRetry-Afterseconds.500INTERNAL_ERROR — our fault; retry with backoff (with the same Idempotency-Key on a write).
curl 'https://api.trovacast.com/v1/conferences/CONFERENCE_ID' \
-H "Authorization: Bearer $TROVACAST_API_KEY"{
"callId": "CALL_ID",
"createdAt": "2026-11-05T10:00:00.000Z",
"endedAt": "2026-11-05T10:00:00.000Z",
"id": "ID",
"object": "conference",
"participants": [
{
"agentMembershipId": "AGENT_MEMBERSHIP_ID",
"callId": "CALL_ID",
"held": true,
"id": "ID",
"joinedAt": "2026-11-05T10:00:00.000Z",
"kind": "caller",
"leftAt": "2026-11-05T10:00:00.000Z",
"muted": true,
"numberLast4": "NUMBER_LAST4",
"object": "conference_participant",
"status": "ringing"
}
],
"status": "active"
}End conference
post
Ends the conference (hangs its call up, and every party with it); idempotent.
Hangs the conference call up as POST /v1/calls/{callId}/hangup does, which ends every leg with it, and answers the conference; conference.ended fires once the call has ended. A conference already ended is answered as it stands, so a repeat is safe. Refused as that hang-up is: 409 HANGUP_NOT_READY (retry after retryAfterSeconds), 409 HANGUP_UNSUPPORTED, and 503 HANGUP_FAILED when the carrier did not confirm (the call is still up; retry).
Access: an organization key with the calls:write scope.
Path parameters
conferenceIdstringRequired
Headers
Idempotency-KeystringMakes the request safe to retry: a repeat with the same key and the same body returns the stored success (with
Idempotent-Replayed: true) instead of running again; a 4xx stores nothing. A 5xx is stored and replayed to every retry with the same key (Idempotent-Replayed: true): the first attempt may have taken effect, so check before retrying with a new key — except the errors that provably changed nothing (503 MESSAGING_TRANSPORT,503 WHATSAPP_CONNECT_UNAVAILABLE; see https://trovacast.com/developers/idempotency), which store nothing, so a retry with the same key runs again. 1–255 visible ASCII characters; kept for 24 hours.
Response 200PublicConference
Its fields are listed under Get conference.
Errors
400VALIDATION_FAILED — the request is malformed.401API_KEY_INVALID — missing, unknown, revoked or expired key.403API_KEY_SCOPE_MISSING or API_KEY_KIND_MISMATCH — the key may not call this endpoint.404CONFERENCE_NOT_FOUND.409HANGUP_NOT_READY, HANGUP_UNSUPPORTED (as the call hang-up). IDEMPOTENCY_KEY_IN_FLIGHT — the first request with this Idempotency-Key is still running (retry afterRetry-After); or CONFLICT.422TEST_MODE_UNSUPPORTED — a TEST key, whatever the id: conferences are live-only (the call sandbox has no conference room). IDEMPOTENCY_KEY_REUSED — this Idempotency-Key was used for a different request.429RATE_LIMITED — retry afterRetry-Afterseconds.500INTERNAL_ERROR — our fault. With an Idempotency-Key, every retry with that key replays this answer (Idempotent-Replayed: true).503HANGUP_FAILED.
curl -X POST 'https://api.trovacast.com/v1/conferences/CONFERENCE_ID/end' \
-H "Authorization: Bearer $TROVACAST_API_KEY" \
-H "Idempotency-Key: $(uuidgen)"{
"callId": "CALL_ID",
"createdAt": "2026-11-05T10:00:00.000Z",
"endedAt": "2026-11-05T10:00:00.000Z",
"id": "ID",
"object": "conference",
"participants": [
{
"agentMembershipId": "AGENT_MEMBERSHIP_ID",
"callId": "CALL_ID",
"held": true,
"id": "ID",
"joinedAt": "2026-11-05T10:00:00.000Z",
"kind": "caller",
"leftAt": "2026-11-05T10:00:00.000Z",
"muted": true,
"numberLast4": "NUMBER_LAST4",
"object": "conference_participant",
"status": "ringing"
}
],
"status": "active"
}Add conference participant
post
Adds a party: dials a number into the conference, or offers it to an agent.
A to.number is dialled as a leg of the conference call through every rule an outbound dial passes — destination policy, billing (rated per started minute), dial admission and the call’s leg cap — and hung up if it is still ringing after ringTimeoutSec; its participantId is answered at once. A to.agentMembershipId is offered to that agent’s desk and joins when they accept (conference.participant.joined), so participantId is null. Refused with 402 BILLING_* when the wallet cannot pay for the leg, 409 CHILD_LEG_LIMIT when the call has as many live legs as it may, 409 CONFERENCE_ENDED, and 422 DESTINATION_BLOCKED or CHILD_DIAL_DESTINATION_NOT_ALLOWED for a number the organization may not dial. Audited against the key, a number by its last four digits only.
Access: an organization key with the calls:write scope.
Path parameters
conferenceIdstringRequired
Headers
Idempotency-KeystringMakes the request safe to retry: a repeat with the same key and the same body returns the stored success (with
Idempotent-Replayed: true) instead of running again; a 4xx stores nothing. A 5xx is stored and replayed to every retry with the same key (Idempotent-Replayed: true): the first attempt may have taken effect, so check before retrying with a new key — except the errors that provably changed nothing (503 MESSAGING_TRANSPORT,503 WHATSAPP_CONNECT_UNAVAILABLE; see https://trovacast.com/developers/idempotency), which store nothing, so a retry with the same key runs again. 1–255 visible ASCII characters; kept for 24 hours.
Request body
ringTimeoutSecintegerHow long the number (or the agent’s desk) rings before the party is given up.
5–120default 30
toPublicConferenceParticipantTargetRequiredExactly one of
number,agentMembershipIdorcallId.3 fields of
toagentMembershipIdstring (uuid)Offer the conference to an agent (an active seat of this organization): it rings their desk, and they join when they accept.
callIdstring (uuid)Not supported yet: a live call cannot be moved into another call’s room (
422 CONFERENCE_PARTICIPANT_UNSUPPORTED,reason: call). Dial its party’s number instead.numberstringDial a number into the conference (a leg of the conference call, rated per started minute like any call; every dial rule applies). Never echoed back beyond its last four digits.
Response 201PublicConferenceParticipantAdded
conferencePublicConferenceRequiredIts fields are listed under Get conference
kindstringRequiredOne of
numberagentobjectstringRequiredOne of
conference_participant_addedparticipantIdstring (uuid) | nullRequiredThe new party’s id for a dialled number (ringing now); null for an agent, who appears once they accept (
conference.participant.joined).
Errors
400VALIDATION_FAILED — the request is malformed.401API_KEY_INVALID — missing, unknown, revoked or expired key.402BILLING_* — a dialled party is a billed leg the wallet cannot pay for.403API_KEY_SCOPE_MISSING or API_KEY_KIND_MISMATCH — the key may not call this endpoint.404CONFERENCE_NOT_FOUND; CONFERENCE_PARTICIPANT_NOT_FOUND — no active seat with that id.409CHILD_LEG_LIMIT (the call has as many live legs as it may), CONFERENCE_ENDED, CALL_NOT_LIVE, CALL_NOT_ANSWERED, CALL_NOT_CONTROLLABLE (a phone-leg or SIM call: its audio does not stream through the platform), CALL_ON_ANOTHER_REPLICA (the server carrying the call could not be reached in time; retry with the same Idempotency-Key); or IDEMPOTENCY_KEY_IN_FLIGHT.422CONFERENCE_PARTICIPANT_UNSUPPORTED (reason: call— moving a live call in is not supported yet), DESTINATION_BLOCKED, CHILD_DIAL_DESTINATION_NOT_ALLOWED, a dial-admission refusal, TEST_MODE_UNSUPPORTED; or IDEMPOTENCY_KEY_REUSED.429RATE_LIMITED — retry afterRetry-Afterseconds.500INTERNAL_ERROR — our fault. With an Idempotency-Key, every retry with that key replays this answer (Idempotent-Replayed: true).503CHILD_LEG_UNSUPPORTED, MEDIA_CAPACITY, MEDIA_DRAINING, AGENT_OFFER_UNAVAILABLE.
curl -X POST 'https://api.trovacast.com/v1/conferences/CONFERENCE_ID/participants' \
-H "Authorization: Bearer $TROVACAST_API_KEY" \
-H "Idempotency-Key: $(uuidgen)" \
-H 'Content-Type: application/json' \
-d '{
"to": {
"number": "+919812345678"
}
}'{
"conference": {
"callId": "CALL_ID",
"createdAt": "2026-11-05T10:00:00.000Z",
"endedAt": "2026-11-05T10:00:00.000Z",
"id": "ID",
"object": "conference",
"participants": [
{
"agentMembershipId": "AGENT_MEMBERSHIP_ID",
"callId": "CALL_ID",
"held": true,
"id": "ID",
"joinedAt": "2026-11-05T10:00:00.000Z",
"kind": "caller",
"leftAt": "2026-11-05T10:00:00.000Z",
"muted": true,
"numberLast4": "NUMBER_LAST4",
"object": "conference_participant",
"status": "ringing"
}
],
"status": "active"
},
"kind": "number",
"object": "conference_participant_added",
"participantId": "PARTICIPANT_ID"
}Update conference participant
patch
Mutes or unmutes a party.
Sets muted on one party of a live conference — a muted party is not heard in the room — and answers the conference; audited against the key. Refused with 409 CONFERENCE_ENDED once the conference call has ended, and 409 CALL_ON_ANOTHER_REPLICA when the server holding the call could not be reached in time (retry with the same Idempotency-Key).
Access: an organization key with the calls:write scope.
Path parameters
conferenceIdstringRequiredparticipantIdstringRequired
Headers
Idempotency-KeystringMakes the request safe to retry: a repeat with the same key and the same body returns the stored success (with
Idempotent-Replayed: true) instead of running again; a 4xx stores nothing. A 5xx is stored and replayed to every retry with the same key (Idempotent-Replayed: true): the first attempt may have taken effect, so check before retrying with a new key — except the errors that provably changed nothing (503 MESSAGING_TRANSPORT,503 WHATSAPP_CONNECT_UNAVAILABLE; see https://trovacast.com/developers/idempotency), which store nothing, so a retry with the same key runs again. 1–255 visible ASCII characters; kept for 24 hours.
Request body
mutedbooleanRequiredMute (
true) or unmute (false) the party: the others stop (or start again) hearing them.
Response 200PublicConference
Its fields are listed under Get conference.
Errors
400VALIDATION_FAILED — the request is malformed.401API_KEY_INVALID — missing, unknown, revoked or expired key.403API_KEY_SCOPE_MISSING or API_KEY_KIND_MISMATCH — the key may not call this endpoint.404CONFERENCE_NOT_FOUND, CONFERENCE_PARTICIPANT_NOT_FOUND.409CONFERENCE_ENDED, CALL_NOT_LIVE, CALL_NOT_ANSWERED, CALL_NOT_CONTROLLABLE (a phone-leg or SIM call: its audio does not stream through the platform), CALL_ON_ANOTHER_REPLICA (the server carrying the call could not be reached in time; retry with the same Idempotency-Key); or IDEMPOTENCY_KEY_IN_FLIGHT.422TEST_MODE_UNSUPPORTED — a TEST key, whatever the id: conferences are live-only (the call sandbox has no conference room). IDEMPOTENCY_KEY_REUSED — this Idempotency-Key was used for a different request.429RATE_LIMITED — retry afterRetry-Afterseconds.500INTERNAL_ERROR — our fault. With an Idempotency-Key, every retry with that key replays this answer (Idempotent-Replayed: true).
curl -X PATCH 'https://api.trovacast.com/v1/conferences/CONFERENCE_ID/participants/PARTICIPANT_ID' \
-H "Authorization: Bearer $TROVACAST_API_KEY" \
-H "Idempotency-Key: $(uuidgen)" \
-H 'Content-Type: application/json' \
-d '{
"muted": true
}'{
"callId": "CALL_ID",
"createdAt": "2026-11-05T10:00:00.000Z",
"endedAt": "2026-11-05T10:00:00.000Z",
"id": "ID",
"object": "conference",
"participants": [
{
"agentMembershipId": "AGENT_MEMBERSHIP_ID",
"callId": "CALL_ID",
"held": true,
"id": "ID",
"joinedAt": "2026-11-05T10:00:00.000Z",
"kind": "caller",
"leftAt": "2026-11-05T10:00:00.000Z",
"muted": true,
"numberLast4": "NUMBER_LAST4",
"object": "conference_participant",
"status": "ringing"
}
],
"status": "active"
}Remove conference participant
delete
Takes a party off the conference (a dialled number is hung up, an agent released).
Removes one party from the room — a dialled number’s leg is hung up, an agent released — and answers the conference; conference.participant.left follows, and the removal is audited against the key. The caller cannot be removed (422 CONFERENCE_PARTICIPANT_UNSUPPORTED, reason: caller): end the conference to hang them up. 409 CONFERENCE_ENDED once the conference call has ended.
Access: an organization key with the calls:write scope.
Path parameters
conferenceIdstringRequiredparticipantIdstringRequired
Headers
Idempotency-KeystringMakes the request safe to retry: a repeat with the same key and the same body returns the stored success (with
Idempotent-Replayed: true) instead of running again; a 4xx stores nothing. A 5xx is stored and replayed to every retry with the same key (Idempotent-Replayed: true): the first attempt may have taken effect, so check before retrying with a new key — except the errors that provably changed nothing (503 MESSAGING_TRANSPORT,503 WHATSAPP_CONNECT_UNAVAILABLE; see https://trovacast.com/developers/idempotency), which store nothing, so a retry with the same key runs again. 1–255 visible ASCII characters; kept for 24 hours.
Response 200PublicConference
Its fields are listed under Get conference.
Errors
400VALIDATION_FAILED — the request is malformed.401API_KEY_INVALID — missing, unknown, revoked or expired key.403API_KEY_SCOPE_MISSING or API_KEY_KIND_MISMATCH — the key may not call this endpoint.404CONFERENCE_NOT_FOUND, CONFERENCE_PARTICIPANT_NOT_FOUND.409CONFERENCE_ENDED, CALL_NOT_LIVE, CALL_NOT_ANSWERED, CALL_NOT_CONTROLLABLE (a phone-leg or SIM call: its audio does not stream through the platform), CALL_ON_ANOTHER_REPLICA (the server carrying the call could not be reached in time; retry with the same Idempotency-Key); or IDEMPOTENCY_KEY_IN_FLIGHT.422CONFERENCE_PARTICIPANT_UNSUPPORTED (reason: caller— end the conference to hang the caller up); TEST_MODE_UNSUPPORTED — a TEST key, whatever the id: conferences are live-only (the call sandbox has no conference room). IDEMPOTENCY_KEY_REUSED — this Idempotency-Key was used for a different request.429RATE_LIMITED — retry afterRetry-Afterseconds.500INTERNAL_ERROR — our fault. With an Idempotency-Key, every retry with that key replays this answer (Idempotent-Replayed: true).
curl -X DELETE 'https://api.trovacast.com/v1/conferences/CONFERENCE_ID/participants/PARTICIPANT_ID' \
-H "Authorization: Bearer $TROVACAST_API_KEY" \
-H "Idempotency-Key: $(uuidgen)"{
"callId": "CALL_ID",
"createdAt": "2026-11-05T10:00:00.000Z",
"endedAt": "2026-11-05T10:00:00.000Z",
"id": "ID",
"object": "conference",
"participants": [
{
"agentMembershipId": "AGENT_MEMBERSHIP_ID",
"callId": "CALL_ID",
"held": true,
"id": "ID",
"joinedAt": "2026-11-05T10:00:00.000Z",
"kind": "caller",
"leftAt": "2026-11-05T10:00:00.000Z",
"muted": true,
"numberLast4": "NUMBER_LAST4",
"object": "conference_participant",
"status": "ringing"
}
],
"status": "active"
}