Create Group Chat Session


This request creates a new group chat session and returns chat session information.

Resource

POST /chats/group

Parameters

None

Payload

Information about the group chat. Currently only contains the name of the group chat.

Context

Authorization

User

Errors

HTTP code Xelion code Description

404

10100

The phone line is not found.

Example

Request
POST https://xelion.nl/api/v1/master/chats/group
Payload
{
    "name" : "Group1"
}
Response
{
    "object": {
        "participants": [
            {
                "commonName": "Group1",
                "oid": "2062838",
                "objectType": "X1Object"
            }
        ],
        "sessionType": "group",
        "commonName": "Chat ",
        "oid": "2062859",
        "objectType": "XCCChatSession"
    },
    "links": [
        {
            "rel": "self",
            "href": "https://xelion.nl/api/v1/master/chats/2062859",
            "method": "GET"
        }
    ]
}