daily-co / daily-ruby

A Ruby gem for communicating with the Daily API
1 stars 0 forks source link

Create Room Api PIN Number #5

Closed taylorkrause closed 2 months ago

taylorkrause commented 3 months ago

Is it possible to include the ability to create a PIN Number for the rooms api create room request? https://docs.daily.co/guides/products/dial-in-dial-out/dialin-pin#create-provision-the-room-for-dial-in-with-a-pin-code

rajneeshksoni commented 3 months ago

yes, it is possible to create room along with assigning dialin to the room

curl --request POST \
  --url https://api.daily.co/v1/rooms/ \
  --header 'Authorization: Bearer $TOKEN' \
  --header 'Content-Type: application/json' \
  --data '{"name": "my-test-room" ,"properties":{"dialin": {"display_name": "Phone Caller", "wait_for_meeting_start": true}, {"exp":'expr $(date +%s) + 31449600'}}}'
taylorkrause commented 3 months ago

I mean can you add it the capability to the ruby library?

jamsea commented 2 months ago

Hi @taylorkrause I'll try adding this next week!

taylorkrause commented 2 months ago

Thanks!!! :D

On Thu, Aug 22, 2024 at 6:39 PM James Hush @.***> wrote:

Hi @taylorkrause https://github.com/taylorkrause I'll try adding this next week!

— Reply to this email directly, view it on GitHub https://github.com/daily-co/daily-ruby/issues/5#issuecomment-2306017091, or unsubscribe https://github.com/notifications/unsubscribe-auth/AHNUAHNXRYSPDNKAYU365BTZS2HEDAVCNFSM6AAAAABL24CRGKVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDGMBWGAYTOMBZGE . You are receiving this because you were mentioned.Message ID: @.***>