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
Name
Type
Description
api_key
string
The private API key of your website
room_name
string
Name of the chat room to be created
room_role
string
The room role identifier. This determines the access to the chat room based upon user role. For example, in Drupal user role id for anonymous user is 1, and for authenticated user it is 2. Use 0 if not sure
room_private
string
1 if the room is going to be private
room_moderate
string
1 if the room is going to be moderated
Curl Command
This the sample curl command required to make HTTP request:
Last updated