The Conferences list resource allows you to list the conferences within an account.
The Conference instance resource allows you to query and manage the state of individual
conferences. When a caller joins a conference via the TwiML <Dial> verb and <Conference>
noun, Twilio creates a Conference instance resource to represent the conference
room and a Participant instance resource to represent the caller
who joined.
This resource represents an individual conference instance. Each conference that starts and ends is considered a unique conference instance. There can be many conference instances that share the same FriendlyName, but only one can be in-progress at any given time.
A
| Property | Description |
|---|---|
| Sid | A 34 character string that uniquely identifies this resource. |
| FriendlyName | A user provided string that identifies this conference room |
| Status | An integer representing the state of the conference 0=init, 1=in-progress, 2=completed |
| DateCreated | The date that this resource was created, given in RFC 2822 format. |
| DateUpdated | The date that this resource was last updated, given in RFC 2822 format. |
| AccountSid | The 34 character id of the Account this Call is associated with. (Your account!) |
<TwilioResponse>
<Conference>
<Sid>CFd0a50bbe038c437e87f6c82db8f37f21</Sid>
<AccountSid>AC5ea872f6da5a21de157d80997a64bd33</AccountSid>
<FriendlyName>1234</FriendlyName>
<Status>2</Status>
<DateCreated>Thu, 03 Sep 2009 23:37:53 -0700</DateCreated>
<DateUpdated>Fri, 04 Sep 2009 00:35:02 -0700</DateUpdated>
</Conference>
</TwilioResponse>
Not supported
Not supported
Not supported
/2008-08-01/Accounts/{YourAccountSid}/Conferences
Returns a list of conferences made by your account. Each is represented by a <Conference> element, under a <Conferences> list element that includes paging information. The list is sorted by DateUpdated, with newest conferences first. Example:
<TwilioResponse>
<Conferences page="0" numpages="1" pagesize="50" total="1" start="0" end="0">
<Conference>
<Sid>CFd0a50bbe038c437e87f6c82db8f37f21</Sid>
<AccountSid>AC5ea872f6da5a21de157d80997a64bd33</AccountSid>
<FriendlyName>1234</FriendlyName>
<Status>2</Status>
<DateCreated>Thu, 03 Sep 2009 23:37:53 -0700</DateCreated>
<DateUpdated>Fri, 04 Sep 2009 00:35:02 -0700</DateUpdated>
</Conference>
</Conferences>
</TwilioResponse>
You may limit the list by providing certain query string parameters to the listing resource. Note, parameters are case-sensitive:
Examples:
/2008-08-01/Accounts/AC309475e5fede1b49e100272a8640f438/Conferences?Status=1&FriendlyName=MyRoom
Would show the in progress conference named "MyRoom"
/2008-08-01/Accounts/AC309475e5fede1b49e100272a8640f438/Conferences?Status=2&DateCreated=2009-07-06
Would only show completed conferences started on Jul 06th, 2009.
/2008-08-01/Accounts/AC309475e5fede1b49e100272a8640f438/Conferences?Status=1&DateCreated>=2009-07-06
Would only show in progress conferences started on or after midnight Jul 06th, 2009.
Not supported
Not supported
Not supported
The Participants list resource allows you to query and manipulate the participants connected to a conference.
This resource represents a single conference participant, identified by a CallSid.
/2008-08-01/Accounts/{YourAccountSid}/Conferences/{ConferenceSid}/Participants/{CallSid}
A Participant resource is represented by the following properties:
| Property | Description |
|---|---|
| CallSid | A 34 character string that uniquely identifies the call that is connected to this conference |
| ConferenceSid | A 34 character string that identifies the conference this participant is in |
| DateCreated | The date that this resource was created, given in RFC 2822 format. |
| DateUpdated | The date that this resource was last updated, given in RFC 2822 format. |
| AccountSid | The 34 character id of the Account this Call is associated with. (Your account!) |
| Muted | Is this participant currently muted. Either "true" or "false". |
| StartConferenceOnEnter | Was the startConferenceOnEnter attribute set on this participant. Either 1 (true) or 0 (false). |
| EndConferenceOnExit | Was the endConferenceOnExit attribute set on this participant. Either 1 (true) or 0 (false). |
Returns a representation of the Conference status of this participant:
<TwilioResponse>
<Participant>
<ConferenceSid>CF9f2ead1ae43cdabeab102fa30d938378</ConferenceSid>
<AccountSid>AC5ea872f6da5a21de157d80997a64bd33</AccountSid>
<CallSid>CA9ae8e040497c0598481c2031a154919e</CallSid>
<Muted>false</Muted>
<StartConferenceOnEnter>1</StartConferenceOnEnter>
<EndConferenceOnExit>0</EndConferenceOnExit>
<DateCreated>Wed, 31 Dec 1969 16:33:29 -0800</DateCreated>
<DateUpdated>Wed, 31 Dec 1969 16:33:29 -0800</DateUpdated>
</Participant>
</TwilioResponse>
Update the status of a participant. Updatable statuses are:
| Property | Description |
|---|---|
| Muted | Is this participant currently muted. Either true or false. Anything besides true or false (or 1 or 0) will be interpreted as false. |
For example, you can POST to mute or unmute a participant:
POST /2008-08-01/Accounts/AC5ea872f.../Conference/CF9f2ead1ae43cdabe.../Participants/CA9ae8e04049... HTTP/1.1 Muted=true
Returns the participant with its new, <Muted>true</Muted> status:
<TwilioResponse>
<Participant>
<ConferenceSid>CF9f2ead1ae43cdabeab102fa30d938378</ConferenceSid>
<AccountSid>AC5ea872f6da5a21de157d80997a64bd33</AccountSid>
<CallSid>CA9ae8e040497c0598481c2031a154919e</CallSid>
<Muted>true</Muted>
<StartConferenceOnEnter>1</StartConferenceOnEnter>
<EndConferenceOnExit>0</EndConferenceOnExit>
<DateCreated>Wed, 31 Dec 1969 16:33:29 -0800</DateCreated>
<DateUpdated>Wed, 31 Dec 1969 16:33:29 -0800</DateUpdated>
</Participant>
</TwilioResponse>
POST /2008-08-01/Accounts/AC5ea872f.../Conference/CF9f2ead1ae43cdabe.../Participants/CA9ae8e04049... HTTP/1.1 Muted=false
Returns the participant with its new, <Muted>false</Muted> status:
<TwilioResponse>
<Participant>
<ConferenceSid>CF9f2ead1ae43cdabeab102fa30d938378</ConferenceSid>
<AccountSid>AC5ea872f6da5a21de157d80997a64bd33</AccountSid>
<CallSid>CA9ae8e040497c0598481c2031a154919e</CallSid>
<Muted>false</Muted>
<StartConferenceOnEnter>1</StartConferenceOnEnter>
<EndConferenceOnExit>0</EndConferenceOnExit>
<DateCreated>Wed, 31 Dec 1969 16:33:29 -0800</DateCreated>
<DateUpdated>Wed, 31 Dec 1969 16:33:29 -0800</DateUpdated>
</Participant>
</TwilioResponse>
Not supported
Kick this participant from the conference. Returns HTTP 204 (No Content), with no body, if the participant was successful booted from the conference.
Example:
DELETE /2008-08-01/Accounts/AC309475e5fe.../Conference/CF0123456789ABCDEF0123456.../Participants/CA0123456789ABC... HTTP/1.1
/2008-08-01/Accounts/{YourAccountSid}/Conferences/{ConferenceSid}/Participants
Returns a list of Participants in a conference
<TwilioResponse>
<Participants page="0" numpages="1" pagesize="50" total="2" start="0" end="1">
<Participant>
<ConferenceSid>CF9f2ead1ae43cdabeab102fa30d938378</ConferenceSid>
<AccountSid>AC5ea872f6da5a21de157d80997a64bd33</AccountSid>
<CallSid>CA9ae8e040497c0598481c2031a154919e</CallSid>
<Muted>false</Muted>
<StartConferenceOnEnter>1</StartConferenceOnEnter>
<EndConferenceOnExit>0</EndConferenceOnExit>
<DateCreated>Wed, 31 Dec 1969 16:33:29 -0800</DateCreated>
<DateUpdated>Wed, 31 Dec 1969 16:33:29 -0800</DateUpdated>
</Participant>
<Participant>
<ConferenceSid>CF9f2ead1ae43cdabeab102fa30d938378</ConferenceSid>
<AccountSid>AC5ea872f6da5a21de157d80997a64bd33</AccountSid>
<CallSid>CA3c3c002e06c4cdaa5367e814ade05c76</CallSid>
<Muted>false</Muted>
<StartConferenceOnEnter>1</StartConferenceOnEnter>
<EndConferenceOnExit>0</EndConferenceOnExit>
<DateCreated>Wed, 31 Dec 1969 16:33:29 -0800</DateCreated>
<DateUpdated>Wed, 31 Dec 1969 16:33:29 -0800</DateUpdated>
</Participant>
</Participants>
</TwilioResponse>
You may limit the list by providing certain query string parameters to the listing resource. Note, parameters are case-sensitive:
Not supported
Not supported
Not supported