AladiaDocs
Api referenceRooms

Create a room

POST
/v2/rooms
AuthorizationBearer <token>

In: header

Request Body

application/json

TypeScript Definitions

Use the request body type in TypeScript.

Response Body

application/json

curl -X POST "https://example.com/v2/rooms" \  -H "Content-Type: application/json" \  -d '{    "type": "one-to-one",    "members": [      {        "id": "string",        "type": "profile",        "role": "chat-room-admin"      }    ],    "request": {}  }'
{}