Daily REST API Documentation
For complete Daily REST API reference and additional details
Classes
DailyRoomSipParams
Configuration for SIP (Session Initiation Protocol) parameters.RecordingsBucketConfig
Configuration for storing Daily recordings in a custom S3 bucket.DailyRoomProperties
Properties that configure a Daily room’s behavior and features. The class also includes asip_endpoint property that returns the SIP endpoint URI if available.
enable_recording also supports cloud-audio-only, which records the call server-side and produces an audio-only MPEG-4 file with .m4a file extension and content type as audio/mp4. This recording setting behaves like cloud, except the layout options do not apply because there are no video tracks. Note: you can retrieve the resulting .m4a recordings via the Daily REST API, in the same way you fetch cloud recording assets.
DailyRoomParams
Parameters for creating a new Daily room.DailyRoomObject
Response object representing a Daily room.DailyMeetingTokenProperties
Properties for configuring a Daily meeting token.Whether user can share their screen
DailyMeetingTokenParams
Parameters for creating a Daily meeting token.DailySIPClientParams
Parameters for creating a SIP client: plain SIP credentials on your Daily domain that any SIP user agent, such as a SIP transport bot, can register with to receive and place calls. This is distinct fromDailyRoomSipParams, which configures a room’s SIP interconnect.
SIP username. Follows the room naming rules, with an optional
.<n> suffix
(for example "support.1"). At most 64 characters.Password, 12-64 characters with at least one letter and one digit.
Auto-generated when omitted.
Time to live in seconds (60-2592000). The client is deleted automatically when
it expires. Never expires when omitted.
DailySIPClientObject
A SIP client returned by the API.SIP password. Only present in create and rotate responses; it cannot be
retrieved later, only rotated.
DailySIPClientPage
A page of SIP clients returned bylist_sip_clients().
Initialize DailyRESTHelper
Create a new instance of the Daily REST helper.Create Room
Creates a new Daily room with specified parameters.Get Room From URL
Retrieves room information using a Daily room URL.Get Token
Generates a meeting token for a specific room.Whether to eject the user when the token expires. If unset, the value in
params is kept; if that is unset too, the field is left out so the room’s
eject_at_room_exp setting applies. Setting it to True or False overrides
the room’s ejection settings for this token.Additional token configuration.
room_name is always taken from room_url.
exp and is_owner set in params are kept; otherwise expiry_time and
owner are used. The object you pass is not modified.Delete Room By URL
Deletes a room using its URL.Delete Room By Name
Deletes a room using its name.Get Name From URL
Extracts the room name from a Daily room URL.Create SIP Client
Creates a SIP client on the Daily domain and returns aDailySIPClientObject that includes the password. The response is the only place the password is returned. Raises an exception when the domain’s SIP client limit is reached (403) or the username already exists (409).
List SIP Clients
Returns aDailySIPClientPage of the domain’s SIP clients.
Maximum clients per page (1-100). The Daily API default of 50 applies when
unset.
Get SIP Client
Returns theDailySIPClientObject for a username, without its password. Raises an exception when the client does not exist.
Delete SIP Client
Deletes a SIP client and returnsTrue. Deleting a client that does not exist also returns True.
Rotate SIP Client Password
Sets a new password and returns theDailySIPClientObject with it. The client’s URI and expiration are unchanged. Raises an exception when the client does not exist.
New password, 12-64 characters with at least one letter and one digit.
Auto-generated when omitted.