Room

Create a room

Creates a new public or private room. The creator automatically joins as owner.

post/api/room

Request

  • Base URL: http://api.megabull.in
  • URL: http://api.megabull.in/api/room
  • Auth: API key in header api-key

Request body

namestring required
descriptionstring
visibility'PUBLIC' | 'PRIVATE' required
virtualMoneynumber double required
maxMembersinteger
expiryDatestring date required

Date the room closes, in yyyy-MM-dd. Closes at 4 PM IST on this date regardless of time of day. Must be today through 31 days out.

Example request

{
  "expiryDate": "2026-08-15"
}

Response

OK

Changes

No recorded changes to this operation across all 1 revision of this API.