Create a new chat room

Learn how to create a new public or private chat room using iFlyChat REST API

Create a new chat room

POST https://api.iflychat.com/api/1.1/room/create

You can use iFlyChat API to programmatically create a new global or private chat room

Request Body

{
  "room_id": 5
}

Curl Command

This the sample curl command required to make HTTP request:

curl -H "Content-Type: application/json" -X POST https://api.iflychat.com/api/1.1/room/create -d "{\"api_key\":\"Wr4vpoJ_ET3lpBdX9E9TutUic4Dgb-gc7RGzuZvKqZgW5\", \"room_name\": \"test_room\", \"room_role\": \"1\"}"

Last updated