List All Conferences
Use this endpoint for the Conference method to read all of the conferences that are associated with your SignalWire account. This will be returned as a list of conferences.
Parameters
Parameter | Description |
---|---|
DateCreated Optional | Shows conferences that were created on the date provided. Format as YYYY-MM-DD in UTC. You can also append < or > to return a range of conferences. For example, use DateCreated< to return conferences created on or before midnight of the date, or DateCreated> to return conferences created on or after midnight of the date. |
DateUpdated Optional | Shows conferences that were updated on the date provided. Format as YYYY-MM-DD in UTC. You can also append < or > to return a range of conferences. For example, use DateCreated< to return conferences updated on or before midnight of the date, or DateCreated> to return conferences updated on or after midnight of the date. |
FriendlyName Optional | Shows conferences that exactly match the friendly name provided. |
Status Optional | The status of the conference. Possible values are init , in-progress , or completed . |
Request
- cURL
- Node.js
- C#
- Python
- Ruby
curl https://example.signalwire.com/api/laml/2010-04-01/Accounts/{AccountSid}/Conferences.json \
-X GET \
-u "YourProjectID:YourAuthToken"
const { RestClient } = require('@signalwire/compatibility-api')
const client = RestClient('YourProjectID', 'YourAuthToken', { signalwireSpaceUrl: 'example.signalwire.com' })
client.conferences.each(conferences => console.log(conferences.sid));
using System;
using System.Collections.Generic;
using Twilio;
using Twilio.Rest.Api.V2010.Account;
class Program
{
static void Main(string[] args)
{
TwilioClient.Init("YourProjectID", "YourAuthToken", new Dictionary<string, object> { ["signalwireSpaceUrl"] = "{SPACE}.signalwire.com" });
var conferences = ConferenceResource.Read();
foreach(var record in conferences)
{
Console.WriteLine(record.Sid);
}
}
}
from signalwire.rest import Client as signalwire_client
client = signalwire_client("YourProjectID", "YourAuthToken", signalwire_space_url = 'example.signalwire.com')
conferences = client.conferences.list()
for record in conferences:
print(record.sid)
require 'signalwire/sdk'
@client = Signalwire::REST::Client.new 'YourProjectID', 'YourAuthToken', signalwire_space_url: "example.signalwire.com"
conferences = @client.conferences.list
conferences.each do |record|
puts record.sid
end
Responses
200 OK
{
"conferences": [
{
"account_sid": "b3877c40-da60-4998-90ad-b792e98472af",
"api_version": "2010-04-01",
"date_created": "Mon, 24 Sept 2018 21:00:00 +0000",
"date_updated": "Tue, 25 Sept 2018 20:00:00 +0000",
"friendly_name": null,
"region": "us1",
"sid": "b3877c40-da60-4998-90ad-b792e98472ca",
"status": "in-progress",
"subresource_uris": {
"participants": "/api/laml/2010-04-01/Accounts/b3877c40-da60-4998-90ad-b792e98472af/Conferences/b3877c40-da60-4998-90ad-b792e98472ca/Participants.json",
"recordings": "/api/laml/2010-04-01/Accounts/b3877c40-da60-4998-90ad-b792e98472af/Conferences/b3877c40-da60-4998-90ad-b792e98472ca/Recordings.json"
},
"uri": "/api/laml/2010-04-01/Accounts/b3877c40-da60-4998-90ad-b792e98472af/Conferences/b3877c40-da60-4998-90ad-b792e98472ca.json"
}
],
"end": 0,
"first_page_uri": "/api/laml/2010-04-01/Accounts/b3877c40-da60-4998-90ad-b792e98472af/Conferences.json?PageSize=1&Page=0",
"next_page_uri": "/api/laml/2010-04-01/Accounts/b3877c40-da60-4998-90ad-b792e98472af/Conferences.json?PageSize=1&Page=1",
"page": 0,
"page_size": 1,
"previous_page_uri": "/api/laml/2010-04-01/Accounts/b3877c40-da60-4998-90ad-b792e98472af/Conferences.json?PageSize=1&Page=0",
"start": 0,
"uri": "/api/laml/2010-04-01/Accounts/b3877c40-da60-4998-90ad-b792e98472af/Conferences.json?PageSize=1",
"account_sid": "b3877c40-da60-4998-90ad-b792e98472af"
}