Api Documentation

Chats

A chat is a group conversation with multiple users. For privacy reasons, user authentication is always required for this endpoint.
Json
XML
POST https://api.bundeling.com/V2/chats

Parameters

Body

NameDescriptionTypeNillableRequired
nameThe name of the chat.stringfalsetrue
labelsThe labels linked to the chat.array(string)falsefalse
external_referenceReference for linking to external systems.stringfalsefalse

Example request

Headers

Content-Type:application/json
Api-Key:RAegSX8yZfEbqSPM

Body

{
    "name": "Chat name",
    "labels": [
        1,
        4,
        10
    ],
    "external_reference": "123908"
}

Example response

{
    "uuid": "eeb763c41c054dcc8f6d9362f24ee9b2",
    "name": "Chat",
    "labels": [
        "d7743aaf53224e279853c7d0c1dbfb3a",
        "d7743aaf53224e279853c7d0c1dbfb3a"
    ],
    "combined_labels": {
        "uuid": "d7743aaf53224e279853c7d0c1dbfb3a",
        "labels": [
            "d7743aaf53224e279853c7d0c1dbfb3a",
            "d7743aaf53224e279853c7d0c1dbfb3a"
        ]
    },
    "external_reference": "123908",
    "creationdate": "2024-01-20T00:00:00+0100",
    "lastupdate": "2024-01-20T00:00:00+0100"
}