Last active
March 10, 2019 21:52
-
-
Save kwindla/83c646c34a545db9db17fc4255fbdbb1 to your computer and use it in GitHub Desktop.
create a new room (command line)
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# create a new video call room, with a random name, | |
# that expires 60 seconds from now | |
# | |
curl -H "Content-Type: application/json" \ | |
-H "Authorization: Bearer $YOUR_API_TOKEN" \ | |
-XPOST -d \ | |
'{"properties":{"exp":'`expr $(date +%s) + 60`'}}' \ | |
https://api.daily.co/v1/rooms/ |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment