Pinnacle
API ReferenceConferencesParticipants

Add Participant

Serverhttps://api.pinnacle.sh/
POST
/conferences/{id}/participants

Request body

Edit JSON, then apply it to your request.

JSON

Add someone: dial a new number (to + from) or pull in a call you already have (call_id).

A dialed participant is returned with status dialing and joins when they answer; you'll get participant.joined (or participant.failed if they don't answer). With announce, they hear it alone before joining.

Path Parameters

idstring
Example
"resource_01J8K3R7M9"

Header Parameters

Idempotency-KeystringOptional

Makes dialing safe to retry; the number is dialed at most once.

Length
length <= 255
Example
"4f56d61d-8f58-4a2f-b3f0-9c821cf19f3a"

Request Body

application/json

TypeScript Definitions

Use the request body type in TypeScript.

Either dial someone (to + from) or pull in an existing call (call_id). muted and whisper_to can't be combined.

Dial someone new. This creates a new outbound call, exactly like POST /calls.

tostring

E.164 number to dial.

Example
"+14155551234"
fromstring

One of your voice-enabled numbers.

Example
"+14155559876"
labelstringOptional

A name you choose for the participant, unique within the conference. Anywhere a participant is referenced you can use its label instead of its call_id. Can't start with call_ or leg_.

Match
^[A-Za-z0-9_-]{1,64}$
Example
"supervisor"
mutedbooleanOptional
Example
true
on_holdbooleanOptional
Example
true
whisper_toarray<string>Optional

Only these participants (call IDs or labels) can hear this one; it still hears everyone. null means everyone hears it (the default). Stored as call IDs, so relabeling someone doesn't change who hears a whisper.

Items
1 <= items
Each item
Example
"specialist"
end_conference_on_leavebooleanOptional
Example
true
2 variantsOptional

Played to a dialed participant when they answer, before they join. Nobody else hears it. If it can't be played, they join without it.

ring_timeout_secsintegerOptional
Range
5 <= value <= 120
Example
5
recordbooleanOptional

Same as record on POST /calls.

Example
true
objectOptional

String metadata carried on future call events. Maximum serialized size is 2 KB.

Properties
properties <= 50

Response Body

application/json

application/json

application/json

application/json

application/json

application/json

application/json

Pinnacle referenceAsk Pinnacle

Get a sourced answer from the published documentation.

ViewingPinnacle documentation

Conversations are saved for analysis.

Try asking