All URIs are relative to https://api.daily.co/v1
Method | HTTP request | Description |
---|---|---|
pinless_call_update | POST /dialin/pinlessCallUpdate | /dialin/pinlessCallUpdate |
pinless_call_update(opts)
/dialin/pinlessCallUpdate
Direct a SIP or PSTN call on hold to a specified SIP URI associated to a Daily Room.
require 'time'
require 'daily-ruby'
# setup authorization
Daily.configure do |config|
# Configure API key authorization: sec0
config.api_key['sec0'] = 'YOUR API KEY'
# Uncomment the following line to set a prefix for the API key, e.g. 'Bearer' (defaults to nil)
# config.api_key_prefix['sec0'] = 'Bearer'
end
api_instance = Daily::DialinApi.new
opts = {
pinless_call_update_request: Daily::PinlessCallUpdateRequest.new # PinlessCallUpdateRequest |
}
begin
# /dialin/pinlessCallUpdate
api_instance.pinless_call_update(opts)
rescue Daily::ApiError => e
puts "Error when calling DialinApi->pinless_call_update: #{e}"
end
This returns an Array which contains the response data (nil
in this case), status code and headers.
<Array(nil, Integer, Hash)> pinless_call_update_with_http_info(opts)
begin
# /dialin/pinlessCallUpdate
data, status_code, headers = api_instance.pinless_call_update_with_http_info(opts)
p status_code # => 2xx
p headers # => { ... }
p data # => nil
rescue Daily::ApiError => e
puts "Error when calling DialinApi->pinless_call_update_with_http_info: #{e}"
end
Name | Type | Description | Notes |
---|---|---|---|
pinless_call_update_request | PinlessCallUpdateRequest | [optional] |
nil (empty response body)
- Content-Type: application/json
- Accept: application/json