The Conference resource allows you to query and manage the state of conferences on your Twilio account.
Conference rooms are not directly created from the Programmable Voice API.
In order to create a new conference, you must use TwiML's <Dial> verb with the <Conference> noun, or by creating a conference participant using the /Participants API. After a Conference instance has been created, you can access it by using the REST API.
For step-by-step instructions on how to write this TwiML and programmatically handle the conference, check out our guides on how to create conference calls using Twilio's supported helper libraries.
The SID of the Account that created this Conference resource.
^AC[0-9a-fA-F]{32}$
Min length: 34
Max length: 34
The date and time in UTC that this resource was created specified in RFC 2822 format.
The date and time in UTC that this resource was last updated, specified in RFC 2822 format.
A string that you assigned to describe this conference room. Maximum length is 128 characters.
A string that represents the Twilio Region where the conference audio was mixed. May be us1
, ie1
, de1
, sg1
, br1
, au1
, and jp1
. Basic conference audio will always be mixed in us1
. Global Conference audio will be mixed nearest to the majority of participants.
The unique, Twilio-provided string used to identify this Conference resource.
^CF[0-9a-fA-F]{32}$
Min length: 34
Max length: 34
The status of this conference. Can be: init
, in-progress
, or completed
.
init
in-progress
completed
A list of related resources identified by their URIs relative to https://api.twilio.com
.
The reason why a conference ended. When a conference is in progress, will be null
. When conference is completed, can be: conference-ended-via-api
, participant-with-end-conference-on-exit-left
, participant-with-end-conference-on-exit-kicked
, last-participant-kicked
, or last-participant-left
.
conference-ended-via-api
participant-with-end-conference-on-exit-left
participant-with-end-conference-on-exit-kicked
last-participant-kicked
last-participant-left
The call SID that caused the conference to end.
^CA[0-9a-fA-F]{32}$
Min length: 34
Max length: 34
You may have many conference instances that share the same friendly_name
. Only one of these distinct conferences may be in-progress at any given time. For instance, if you have two separate conferences with the friendly_name
of "my-conference"
you cannot add participants to one instance while the other is in progress.
GET https://api.twilio.com/2010-04-01/Accounts/{AccountSid}/Conferences/{Sid}.json
The recommended way to monitor the state of a Conference and its participants is to use the Conference statusCallback. This webhook callback will be fired when the state of the Conference or a participant changes.
At any time you can use the REST API to query the Conference and Participant resources, however continuously polling these resources is not recommended.
Please also note that when fetching conferences after the conference has ended, associated participant subresources will not be returned. For fetching conference participants after a conference has ended, please see the Voice Insights Conference Summary resource.
The SID of the Account that created the Conference resource(s) to fetch.
^AC[0-9a-fA-F]{32}$
Min length: 34
Max length: 34
The Twilio-provided string that uniquely identifies the Conference resource to fetch
^CF[0-9a-fA-F]{32}$
Min length: 34
Max length: 34
1// Download the helper library from https://www.twilio.com/docs/node/install2const twilio = require("twilio"); // Or, for ESM: import twilio from "twilio";34// Find your Account SID and Auth Token at twilio.com/console5// and set the environment variables. See http://twil.io/secure6const accountSid = process.env.TWILIO_ACCOUNT_SID;7const authToken = process.env.TWILIO_AUTH_TOKEN;8const client = twilio(accountSid, authToken);910async function fetchConference() {11const conference = await client12.conferences("CFaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa")13.fetch();1415console.log(conference.accountSid);16}1718fetchConference();
1{2"account_sid": "ACaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa",3"api_version": "2010-04-01",4"date_created": "Fri, 18 Feb 2011 19:26:50 +0000",5"date_updated": "Fri, 18 Feb 2011 19:27:33 +0000",6"friendly_name": "AHH YEAH",7"sid": "CFaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa",8"region": "us1",9"status": "completed",10"subresource_uris": {11"participants": "/2010-04-01/Accounts/ACaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/Conferences/CFaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/Participants.json",12"recordings": "/2010-04-01/Accounts/ACaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/Conferences/CFaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/Recordings.json"13},14"uri": "/2010-04-01/Accounts/ACaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/Conferences/CFaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa.json",15"reason_conference_ended": "last-participant-left",16"call_sid_ending_conference": "CAaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa"17}
GET https://api.twilio.com/2010-04-01/Accounts/{AccountSid}/Conferences.json
Read all the conferences within your account.
The list of conferences that we return includes paging information.
Only include conferences that were created on this date. Specify a date as YYYY-MM-DD
in UTC, for example: 2009-07-06
, to read only conferences that were created on this date. You can also specify an inequality, such as DateCreated<=YYYY-MM-DD
, to read conferences that were created on or before midnight of this date, and DateCreated>=YYYY-MM-DD
to read conferences that were created on or after midnight of this date.
Only include conferences that were created on this date. Specify a date as YYYY-MM-DD
in UTC, for example: 2009-07-06
, to read only conferences that were created on this date. You can also specify an inequality, such as DateCreated<=YYYY-MM-DD
, to read conferences that were created on or before midnight of this date, and DateCreated>=YYYY-MM-DD
to read conferences that were created on or after midnight of this date.
Only include conferences that were created on this date. Specify a date as YYYY-MM-DD
in UTC, for example: 2009-07-06
, to read only conferences that were created on this date. You can also specify an inequality, such as DateCreated<=YYYY-MM-DD
, to read conferences that were created on or before midnight of this date, and DateCreated>=YYYY-MM-DD
to read conferences that were created on or after midnight of this date.
Only include conferences that were last updated on this date. Specify a date as YYYY-MM-DD
in UTC, for example: 2009-07-06
, to read only conferences that were last updated on this date. You can also specify an inequality, such as DateUpdated<=YYYY-MM-DD
, to read conferences that were last updated on or before midnight of this date, and DateUpdated>=YYYY-MM-DD
to read conferences that were last updated on or after midnight of this date.
Only include conferences that were last updated on this date. Specify a date as YYYY-MM-DD
in UTC, for example: 2009-07-06
, to read only conferences that were last updated on this date. You can also specify an inequality, such as DateUpdated<=YYYY-MM-DD
, to read conferences that were last updated on or before midnight of this date, and DateUpdated>=YYYY-MM-DD
to read conferences that were last updated on or after midnight of this date.
Only include conferences that were last updated on this date. Specify a date as YYYY-MM-DD
in UTC, for example: 2009-07-06
, to read only conferences that were last updated on this date. You can also specify an inequality, such as DateUpdated<=YYYY-MM-DD
, to read conferences that were last updated on or before midnight of this date, and DateUpdated>=YYYY-MM-DD
to read conferences that were last updated on or after midnight of this date.
The status of the resources to read. Can be: init
, in-progress
, or completed
.
init
in-progress
completed
How many resources to return in each list page. The default is 50, and the maximum is 1000.
1
Maximum: 1000
The page token. This is provided by the API.
1// Download the helper library from https://www.twilio.com/docs/node/install2const twilio = require("twilio"); // Or, for ESM: import twilio from "twilio";34// Find your Account SID and Auth Token at twilio.com/console5// and set the environment variables. See http://twil.io/secure6const accountSid = process.env.TWILIO_ACCOUNT_SID;7const authToken = process.env.TWILIO_AUTH_TOKEN;8const client = twilio(accountSid, authToken);910async function listConference() {11const conferences = await client.conferences.list({ limit: 20 });1213conferences.forEach((c) => console.log(c.accountSid));14}1516listConference();
1{2"conferences": [3{4"status": "in-progress",5"region": "jp1",6"sid": "CFaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa",7"date_updated": "Fri, 03 Jul 2020 11:23:45 +0000",8"date_created": "Fri, 03 Jul 2020 11:23:45 +0000",9"subresource_uris": {10"participants": "/2010-04-01/Accounts/ACaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/Conferences/CFaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/Participants.json",11"recordings": "/2010-04-01/Accounts/ACaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/Conferences/CFaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/Recordings.json"12},13"friendly_name": "friendly_name",14"uri": "/2010-04-01/Accounts/ACaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/Conferences/CFaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa.json",15"api_version": "2010-04-01",16"account_sid": "ACaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa",17"reason_conference_ended": null,18"call_sid_ending_conference": null19},20{21"status": "in-progress",22"region": "de1",23"sid": "CFbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb",24"date_updated": "Thu, 02 Jul 2020 11:23:45 +0000",25"date_created": "Thu, 02 Jul 2020 11:23:45 +0000",26"subresource_uris": {27"participants": "/2010-04-01/Accounts/ACaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/Conferences/CFbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb/Participants.json",28"recordings": "/2010-04-01/Accounts/ACaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/Conferences/CFbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb/Recordings.json"29},30"friendly_name": "MyRoom",31"uri": "/2010-04-01/Accounts/ACaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/Conferences/CFbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb.json",32"api_version": "2010-04-01",33"account_sid": "ACaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa",34"reason_conference_ended": null,35"call_sid_ending_conference": null36},37{38"status": "completed",39"region": "br1",40"sid": "CFcccccccccccccccccccccccccccccccc",41"date_updated": "Wed, 01 Jul 2020 11:23:45 +0000",42"date_created": "Wed, 01 Jul 2020 11:23:45 +0000",43"subresource_uris": {44"participants": "/2010-04-01/Accounts/ACaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/Conferences/CFcccccccccccccccccccccccccccccccc/Participants.json",45"recordings": "/2010-04-01/Accounts/ACaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/Conferences/CFcccccccccccccccccccccccccccccccc/Recordings.json"46},47"friendly_name": "FRIEND",48"uri": "/2010-04-01/Accounts/ACaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/Conferences/CFcccccccccccccccccccccccccccccccc.json",49"api_version": "2010-04-01",50"account_sid": "ACaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa",51"reason_conference_ended": "participant-with-end-conference-on-exit-left",52"call_sid_ending_conference": "CAaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa"53}54],55"first_page_uri": "/2010-04-01/Accounts/ACaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/Conferences.json?PageSize=3&Page=0",56"next_page_uri": "/2010-04-01/Accounts/ACaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/Conferences.json?PageSize=3&Page=1&PageToken=PACFcccccccccccccccccccccccccccccccc",57"previous_page_uri": null,58"uri": "/2010-04-01/Accounts/ACaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/Conferences.json?PageSize=3&Page=0",59"page": 0,60"page_size": 3,61"start": 0,62"end": 263}
1// Download the helper library from https://www.twilio.com/docs/node/install2const twilio = require("twilio"); // Or, for ESM: import twilio from "twilio";34// Find your Account SID and Auth Token at twilio.com/console5// and set the environment variables. See http://twil.io/secure6const accountSid = process.env.TWILIO_ACCOUNT_SID;7const authToken = process.env.TWILIO_AUTH_TOKEN;8const client = twilio(accountSid, authToken);910async function listConference() {11const conferences = await client.conferences.list({12dateCreated: "2020-07-07",13limit: 20,14});1516conferences.forEach((c) => console.log(c.accountSid));17}1819listConference();
1{2"conferences": [3{4"status": "in-progress",5"region": "jp1",6"sid": "CFaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa",7"date_updated": "Tue, 07 Jul 2020 11:23:45 +0000",8"date_created": "Tue, 07 Jul 2020 11:23:45 +0000",9"subresource_uris": {10"participants": "/2010-04-01/Accounts/ACaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/Conferences/CFaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/Participants.json",11"recordings": "/2010-04-01/Accounts/ACaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/Conferences/CFaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/Recordings.json"12},13"friendly_name": "friendly_name",14"uri": "/2010-04-01/Accounts/ACaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/Conferences/CFaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa.json",15"api_version": "2010-04-01",16"account_sid": "ACaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa",17"reason_conference_ended": null,18"call_sid_ending_conference": null19},20{21"status": "in-progress",22"region": "de1",23"sid": "CFbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb",24"date_updated": "Tue, 07 Jul 2020 11:23:45 +0000",25"date_created": "Tue, 07 Jul 2020 11:23:45 +0000",26"subresource_uris": {27"participants": "/2010-04-01/Accounts/ACaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/Conferences/CFbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb/Participants.json",28"recordings": "/2010-04-01/Accounts/ACaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/Conferences/CFbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb/Recordings.json"29},30"friendly_name": "MyRoom",31"uri": "/2010-04-01/Accounts/ACaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/Conferences/CFbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb.json",32"api_version": "2010-04-01",33"account_sid": "ACaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa",34"reason_conference_ended": null,35"call_sid_ending_conference": null36},37{38"status": "completed",39"region": "br1",40"sid": "CFcccccccccccccccccccccccccccccccc",41"date_updated": "Tue, 07 Jul 2020 11:23:45 +0000",42"date_created": "Tue, 07 Jul 2020 11:23:45 +0000",43"subresource_uris": {44"participants": "/2010-04-01/Accounts/ACaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/Conferences/CFcccccccccccccccccccccccccccccccc/Participants.json",45"recordings": "/2010-04-01/Accounts/ACaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/Conferences/CFcccccccccccccccccccccccccccccccc/Recordings.json"46},47"friendly_name": "FRIEND",48"uri": "/2010-04-01/Accounts/ACaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/Conferences/CFcccccccccccccccccccccccccccccccc.json",49"api_version": "2010-04-01",50"account_sid": "ACaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa",51"reason_conference_ended": "participant-with-end-conference-on-exit-left",52"call_sid_ending_conference": "CAaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa"53}54],55"first_page_uri": "/2010-04-01/Accounts/ACaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/Conferences.json?DateCreated=2020-07-07&PageSize=3&Page=0",56"next_page_uri": "/2010-04-01/Accounts/ACaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/Conferences.json?DateCreated=2020-07-07&PageSize=3&Page=1&PageToken=PACFcccccccccccccccccccccccccccccccc",57"previous_page_uri": null,58"uri": "/2010-04-01/Accounts/ACaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/Conferences.json?DateCreated=2020-07-07&PageSize=3&Page=0",59"page": 0,60"page_size": 3,61"start": 0,62"end": 263}
1// Download the helper library from https://www.twilio.com/docs/node/install2const twilio = require("twilio"); // Or, for ESM: import twilio from "twilio";34// Find your Account SID and Auth Token at twilio.com/console5// and set the environment variables. See http://twil.io/secure6const accountSid = process.env.TWILIO_ACCOUNT_SID;7const authToken = process.env.TWILIO_AUTH_TOKEN;8const client = twilio(accountSid, authToken);910async function listConference() {11const conferences = await client.conferences.list({12dateCreatedAfter: "2021-01-01",13status: "in-progress",14limit: 20,15});1617conferences.forEach((c) => console.log(c.accountSid));18}1920listConference();
1{2"conferences": [3{4"status": "in-progress",5"region": "jp1",6"sid": "CFaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa",7"date_updated": "Fri, 01 Jan 2021 11:23:45 +0000",8"date_created": "Fri, 01 Jan 2021 11:23:45 +0000",9"subresource_uris": {10"participants": "/2010-04-01/Accounts/ACaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/Conferences/CFaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/Participants.json",11"recordings": "/2010-04-01/Accounts/ACaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/Conferences/CFaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/Recordings.json"12},13"friendly_name": "friendly_name",14"uri": "/2010-04-01/Accounts/ACaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/Conferences/CFaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa.json",15"api_version": "2010-04-01",16"account_sid": "ACaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa",17"reason_conference_ended": null,18"call_sid_ending_conference": null19},20{21"status": "in-progress",22"region": "de1",23"sid": "CFbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb",24"date_updated": "Fri, 01 Jan 2021 11:23:45 +0000",25"date_created": "Fri, 01 Jan 2021 11:23:45 +0000",26"subresource_uris": {27"participants": "/2010-04-01/Accounts/ACaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/Conferences/CFbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb/Participants.json",28"recordings": "/2010-04-01/Accounts/ACaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/Conferences/CFbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb/Recordings.json"29},30"friendly_name": "MyRoom",31"uri": "/2010-04-01/Accounts/ACaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/Conferences/CFbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb.json",32"api_version": "2010-04-01",33"account_sid": "ACaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa",34"reason_conference_ended": null,35"call_sid_ending_conference": null36},37{38"status": "in-progress",39"region": "br1",40"sid": "CFcccccccccccccccccccccccccccccccc",41"date_updated": "Fri, 01 Jan 2021 11:23:45 +0000",42"date_created": "Fri, 01 Jan 2021 11:23:45 +0000",43"subresource_uris": {44"participants": "/2010-04-01/Accounts/ACaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/Conferences/CFcccccccccccccccccccccccccccccccc/Participants.json",45"recordings": "/2010-04-01/Accounts/ACaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/Conferences/CFcccccccccccccccccccccccccccccccc/Recordings.json"46},47"friendly_name": "FRIEND",48"uri": "/2010-04-01/Accounts/ACaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/Conferences/CFcccccccccccccccccccccccccccccccc.json",49"api_version": "2010-04-01",50"account_sid": "ACaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa",51"reason_conference_ended": null,52"call_sid_ending_conference": null53}54],55"first_page_uri": "/2010-04-01/Accounts/ACaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/Conferences.json?Status=in-progress&DateCreated%3E=2021-01-01&PageSize=20&Page=0",56"next_page_uri": null,57"previous_page_uri": null,58"uri": "/2010-04-01/Accounts/ACaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/Conferences.json?Status=in-progress&DateCreated%3E=2021-01-01&PageSize=20&Page=0",59"page": 0,60"page_size": 20,61"start": 0,62"end": 263}
1// Download the helper library from https://www.twilio.com/docs/node/install2const twilio = require("twilio"); // Or, for ESM: import twilio from "twilio";34// Find your Account SID and Auth Token at twilio.com/console5// and set the environment variables. See http://twil.io/secure6const accountSid = process.env.TWILIO_ACCOUNT_SID;7const authToken = process.env.TWILIO_AUTH_TOKEN;8const client = twilio(accountSid, authToken);910async function listConference() {11const conferences = await client.conferences.list({12friendlyName: "MyRoom",13limit: 20,14});1516conferences.forEach((c) => console.log(c.accountSid));17}1819listConference();
1{2"conferences": [3{4"status": "in-progress",5"region": "jp1",6"sid": "CFaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa",7"date_updated": "Sun, 03 Jan 2021 11:23:45 +0000",8"date_created": "Sun, 03 Jan 2021 11:23:45 +0000",9"subresource_uris": {10"participants": "/2010-04-01/Accounts/ACaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/Conferences/CFaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/Participants.json",11"recordings": "/2010-04-01/Accounts/ACaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/Conferences/CFaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/Recordings.json"12},13"friendly_name": "MyRoom",14"uri": "/2010-04-01/Accounts/ACaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/Conferences/CFaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa.json",15"api_version": "2010-04-01",16"account_sid": "ACaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa",17"reason_conference_ended": null,18"call_sid_ending_conference": null19},20{21"status": "completed",22"region": "us1",23"sid": "CFbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb",24"date_updated": "Sat, 02 Jan 2021 11:23:45 +0000",25"date_created": "Sat, 02 Jan 2021 11:23:45 +0000",26"subresource_uris": {27"participants": "/2010-04-01/Accounts/ACaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/Conferences/CFbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb/Participants.json",28"recordings": "/2010-04-01/Accounts/ACaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/Conferences/CFbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb/Recordings.json"29},30"friendly_name": "MyRoom",31"uri": "/2010-04-01/Accounts/ACaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/Conferences/CFbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb.json",32"api_version": "2010-04-01",33"account_sid": "ACaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa",34"reason_conference_ended": "last-participant-left",35"call_sid_ending_conference": "CAbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb"36},37{38"status": "completed",39"region": "ie1",40"sid": "CFcccccccccccccccccccccccccccccccc",41"date_updated": "Fri, 01 Jan 2021 11:23:45 +0000",42"date_created": "Fri, 01 Jan 2021 11:23:45 +0000",43"subresource_uris": {44"participants": "/2010-04-01/Accounts/ACaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/Conferences/CFcccccccccccccccccccccccccccccccc/Participants.json",45"recordings": "/2010-04-01/Accounts/ACaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/Conferences/CFcccccccccccccccccccccccccccccccc/Recordings.json"46},47"friendly_name": "MyRoom",48"uri": "/2010-04-01/Accounts/ACaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/Conferences/CFcccccccccccccccccccccccccccccccc.json",49"api_version": "2010-04-01",50"account_sid": "ACaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa",51"reason_conference_ended": "last-participant-left",52"call_sid_ending_conference": "CAcccccccccccccccccccccccccccccccc"53}54],55"first_page_uri": "/2010-04-01/Accounts/ACaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/Conferences.json?FriendlyName=MyRoom&PageSize=20&Page=0",56"next_page_uri": null,57"previous_page_uri": null,58"uri": "/2010-04-01/Accounts/ACaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/Conferences.json?FriendlyName=MyRoom&PageSize=20&Page=0",59"page": 0,60"page_size": 20,61"start": 0,62"end": 263}
POST https://api.twilio.com/2010-04-01/Accounts/{AccountSid}/Conferences/{Sid}.json
You can use the update action to change the conference's properties as well as to end the conference.
The SID of the Account that created the Conference resource(s) to update.
^AC[0-9a-fA-F]{32}$
Min length: 34
Max length: 34
The Twilio-provided string that uniquely identifies the Conference resource to update
application/x-www-form-urlencoded
The new status of the resource. Can be: Can be: init
, in-progress
, or completed
. Specifying completed
will end the conference and hang up all participants
completed
The URL we should call to announce something into the conference. The URL may return an MP3 file, a WAV file, or a TwiML document that contains <Play>
, <Say>
, <Pause>
, or <Redirect>
verbs.
The HTTP method used to call announce_url
. Can be: GET
or POST
and the default is POST
GET
POST
1// Download the helper library from https://www.twilio.com/docs/node/install2const twilio = require("twilio"); // Or, for ESM: import twilio from "twilio";34// Find your Account SID and Auth Token at twilio.com/console5// and set the environment variables. See http://twil.io/secure6const accountSid = process.env.TWILIO_ACCOUNT_SID;7const authToken = process.env.TWILIO_AUTH_TOKEN;8const client = twilio(accountSid, authToken);910async function updateConference() {11const conference = await client12.conferences("Sid")13.update({ status: "completed" });1415console.log(conference.accountSid);16}1718updateConference();
1{2"account_sid": "ACaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa",3"api_version": "2010-04-01",4"date_created": "Mon, 22 Aug 2011 20:58:45 +0000",5"date_updated": "Mon, 22 Aug 2011 20:58:46 +0000",6"friendly_name": null,7"region": "us1",8"sid": "Sid",9"status": "completed",10"subresource_uris": {11"participants": "/2010-04-01/Accounts/ACaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/Conferences/CFaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/Participants.json",12"recordings": "/2010-04-01/Accounts/ACaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/Conferences/CFaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/Recordings.json"13},14"uri": "/2010-04-01/Accounts/ACaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/Conferences/CFaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa.json",15"reason_conference_ended": "conference-ended-via-api",16"call_sid_ending_conference": null17}
1// Download the helper library from https://www.twilio.com/docs/node/install2const twilio = require("twilio"); // Or, for ESM: import twilio from "twilio";34// Find your Account SID and Auth Token at twilio.com/console5// and set the environment variables. See http://twil.io/secure6const accountSid = process.env.TWILIO_ACCOUNT_SID;7const authToken = process.env.TWILIO_AUTH_TOKEN;8const client = twilio(accountSid, authToken);910async function updateConference() {11const conference = await client12.conferences("Sid")13.update({ announceUrl: "http://www.myapp.com/announce" });1415console.log(conference.accountSid);16}1718updateConference();
1{2"account_sid": "ACaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa",3"api_version": "2010-04-01",4"date_created": "Mon, 08 Feb 2021 20:58:45 +0000",5"date_updated": "Mon, 08 Feb 2021 20:58:46 +0000",6"friendly_name": "MyRoom",7"region": "us1",8"sid": "Sid",9"status": "in-progress",10"subresource_uris": {11"participants": "/2010-04-01/Accounts/ACaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/Conferences/CFaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/Participants.json",12"recordings": "/2010-04-01/Accounts/ACaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/Conferences/CFaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/Recordings.json"13},14"uri": "/2010-04-01/Accounts/ACaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/Conferences/CFaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa.json",15"reason_conference_ended": null,16"call_sid_ending_conference": null17}
Each Conference has a Participants subresource. Participants represent the set of people currently connected to a running conference.
You can request all participants from a given Conference by requesting the following:
GET https://api.twilio.com/2010-04-01/Accounts/{AccountSid}/Conferences/{ConferenceSid}/Participants.json
See the full Participant API reference documentation for Participant properties, parameters, and actions.
You can access the Recordings list subresource on any given Conference.
The following will return a list of all of the recordings generated for a given conference, identified by its ConferenceSid
. (Note that recordings associated with an individual call leg of the conference will not be returned.)
GET https://api.twilio.com/2010-04-01/Accounts/{AccountSid}/Conferences/{ConferenceSid}/Recordings.json
See the Recordings reference documentation for resource properties and response formats.
Starting on February 5, 2021 you will be able to retrieve resources via GET
to the /Conferences and /Participants endpoints for thirteen months after the resource is created. This represents a significant change as these logs are currently stored indefinitely by Twilio and retrievable via Console and API.
It's important to note that we are not deleting your logs, just changing where they will be available to you. We provide a Bulk Export utility in Console for Conferences and Participant resources, as well as an API. Bulk Export will generate S3 files containing one day of data per file and deliver the download link via webhook, email, or Console. Records older than thirteen months will only be able to be retrieved via Bulk Export.
If you perform log extraction via API on a rolling basis, it is important to verify that you are pulling the logs at a frequency that will remain unaffected by this change.
Explore Voice Insights with its Conference Insights Event Stream and Conference Insights REST API which allow you to see conference parameters, investigate participant event timelines, and understand detected quality issues.