Jump to

  • Quickstarts
  • API reference
  • Webhook events
  • Error codes
  • SDKs

API reference

Conferences

How these fit together: the Conferences guide.

Create conference

post/v1/conferences

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-Keystring

    Makes 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)Required

    A 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

Request
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"
}'
Response 201 (json)
{
  "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/v1/conferences/{conferenceId}

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)Required

  • createdAtstring (date-time)Required

  • endedAtstring (date-time) | nullRequired

  • idstring (uuid)Required

    The conference call’s id: a conference is that call’s room.

  • objectstringRequired

    One ofconference

  • participantsPublicConferenceParticipant[]Required

    Every party, oldest first — including those who left. A supervisor listening in is never listed.

    11 fields of participants
    • agentMembershipIdstring (uuid) | nullRequired

    • callIdstring (uuid) | nullRequired

      A dialled number’s own call (a leg in the conference call’s graph); the conference call for the caller.

    • heldbooleanRequired

    • idstring (uuid)Required

      The party’s leg id: what mute and remove take.

    • joinedAtstring (date-time) | nullRequired

    • kindstringRequired

      caller: 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 ofcallernumberagentai

    • leftAtstring (date-time) | nullRequired

    • mutedbooleanRequired

    • numberLast4string | nullRequired

      The last four digits of a dialled number or of the caller.

    • objectstringRequired

      One ofconference_participant

    • statusstringRequired

      One ofringingjoinedleftfailed

  • statusstringRequired

    ended once the conference call has ended.

    One ofactiveended

Errors

Request
curl 'https://api.trovacast.com/v1/conferences/CONFERENCE_ID' \
  -H "Authorization: Bearer $TROVACAST_API_KEY"
Response 200 (json)
{
  "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/v1/conferences/{conferenceId}/end

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-Keystring

    Makes 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

Request
curl -X POST 'https://api.trovacast.com/v1/conferences/CONFERENCE_ID/end' \
  -H "Authorization: Bearer $TROVACAST_API_KEY" \
  -H "Idempotency-Key: $(uuidgen)"
Response 200 (json)
{
  "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/v1/conferences/{conferenceId}/participants

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-Keystring

    Makes 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

  • ringTimeoutSecinteger

    How long the number (or the agent’s desk) rings before the party is given up.

    5–120default 30

  • toPublicConferenceParticipantTargetRequired

    Exactly one of number, agentMembershipId or callId.

    3 fields of to
    • agentMembershipIdstring (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.

    • numberstring

      Dial 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

  • conferencePublicConferenceRequired

    Its fields are listed under Get conference

  • kindstringRequired

    One ofnumberagent

  • objectstringRequired

    One ofconference_participant_added

  • participantIdstring (uuid) | nullRequired

    The new party’s id for a dialled number (ringing now); null for an agent, who appears once they accept (conference.participant.joined).

Errors

Request
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"
  }
}'
Response 201 (json)
{
  "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/v1/conferences/{conferenceId}/participants/{participantId}

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

  • conferenceIdstringRequired

  • participantIdstringRequired

Headers

  • Idempotency-Keystring

    Makes 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

  • mutedbooleanRequired

    Mute (true) or unmute (false) the party: the others stop (or start again) hearing them.

Response 200PublicConference

Its fields are listed under Get conference.

Errors

Request
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
}'
Response 200 (json)
{
  "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/v1/conferences/{conferenceId}/participants/{participantId}

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

  • conferenceIdstringRequired

  • participantIdstringRequired

Headers

  • Idempotency-Keystring

    Makes 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

Request
curl -X DELETE 'https://api.trovacast.com/v1/conferences/CONFERENCE_ID/participants/PARTICIPANT_ID' \
  -H "Authorization: Bearer $TROVACAST_API_KEY" \
  -H "Idempotency-Key: $(uuidgen)"
Response 200 (json)
{
  "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"
}