rooms

Create a room

post/rooms

Request

  • Base URL
    https://api.daily.co/v1
  • Auth
    HTTP bearer

Request body

namestring
privacystring

Example request

{
  "properties": {
    "recordings_bucket": {
      "storage_provider": "aws",
      "bucket_name": "my-daily-recording",
      "bucket_region": "ap-south-1",
      "namespace": "axaxnpcrorw5",
      "assume_role_arn": "arn:aws:iam::555555555555:role/DailyS3AccessRole"
    },
    "auto_transcription_settings": {
      "language": "de"
    },
    "transcription_bucket": {
      "storage_provider": "aws",
      "bucket_name": "my-daily-recording",
      "bucket_region": "ap-south-1",
      "namespace": "axaxnpcrorw5",
      "assume_role_arn": "arn:aws:iam::555555555555:role/DailyS3AccessRole"
    },
    "recordings_template": "{room_name}/{mtg_session_id}/{epoch_time}.mp4",
    "transcription_template": "{room_name}/{mtg_session_id}/{epoch_time}.vtt",
    "dialout_config": {
      "dialout_geo": "ap-south-1"
    },
    "streaming_endpoints": [
      {
        "name": "rtmp_ivs",
        "type": "hls",
        "hls_config['storage']['path']": "my-bucket-name/my-folder-name"
      }
    ],
    "sip": {
      "video_settings": {
        "layout": {
          "preset": "sip-portrait",
          "variant": "inset",
          "mainParticipant": "patient-42",
          "insetParticipant": "doctor-7"
        }
      }
    }
  }
}

Response

200

idstring
namestring
api_createdboolean
privacystring
urlstring
created_atstring

Example response

{
  "id": "d61cd7b2-a273-42b4-89bd-be763fd562c1",
  "name": "w2pp2cf4kltgFACPKXmX",
  "api_created": true,
  "privacy": "public",
  "url": "https://api-demo.daily.co/w2pp2cf4kltgFACPKXmX",
  "created_at": "2019-01-26T09:01:22.000Z",
  "config": {
    "id": "d61cd7b2-a273-42b4-89bd-be763fd562c1",
    "name": "w2pp2cf4kltgFACPKXmX",
    "privacy": "public",
    "url": "https://api-demo.daily.co/w2pp2cf4kltgFACPKXmX",
    "created_at": "2019-01-26T09:01:22.000Z",
    "config": {
      "recordings_bucket": {
        "storage_provider": "aws",
        "bucket_name": "my-daily-recording",
        "bucket_region": "ap-south-1",
        "namespace": "axaxnpcrorw5",
        "assume_role_arn": "arn:aws:iam::555555555555:role/DailyS3AccessRole"
      },
      "auto_transcription_settings": {
        "language": "de"
      },
      "transcription_bucket": {
        "storage_provider": "aws",
        "bucket_name": "my-daily-recording",
        "bucket_region": "ap-south-1",
        "namespace": "axaxnpcrorw5",
        "assume_role_arn": "arn:aws:iam::555555555555:role/DailyS3AccessRole"
      },
      "recordings_template": "{room_name}/{mtg_session_id}/{epoch_time}.mp4",
      "transcription_template": "{room_name}/{mtg_session_id}/{epoch_time}.vtt",
      "dialout_config": {
        "dialout_geo": "ap-south-1"
      },
      "streaming_endpoints": [
        {
          "name": "rtmp_ivs",
          "type": "hls",
          "hls_config['storage']['path']": "my-bucket-name/my-folder-name"
        }
      ]
    }
  }
}

Changes

    • breaking

      the response property // became nullable for the status

    • breaking

      the response property // became nullable for the status

    • breaking

      the response property // became nullable for the status

    • breaking

      the response property // became nullable for the status

    • warning

      removed the request property //

    • warning

      removed the request property //

    • info

      added the new optional request property //

    • info

      added the new optional request property //

    • info

      the request property / became nullable

    • info

      the request property // became nullable

    • info

      the request property / became nullable

    • info

      the request property / became nullable

    • info

      the request property / became nullable

    • info

      the request property / became nullable

    • info

      the request property default value signalwire was added

    • info

      the request property default value NULL was removed

    • info

      the request property default value {domain_name}/{room_name}/{epoch_time}. was removed

    • info

      the request property default value The closest available region to the SFU region used by the meeting. was removed

    • info

      the request property default value {domain_name}/{room_name}/{epoch_time}.vtt. was removed

    • info

      added the new signalwire enum value to the request property //

    • info

      the response's property default value NULL was removed for the status

    • info

      the response's property default value {domain_name}/{room_name}/{epoch_time}. was removed for the status

    • info

      the response's property default value The closest available region to the SFU region used by the meeting. was removed for the status

    • info

      the response's property default value {domain_name}/{room_name}/{epoch_time}.vtt. was removed for the status

    • info

      added the new optional request property //