Chat

Create a group chat

Creates a group chat with selected users

post/chat/new

Request

  • Base URL: http://bonzo.site/api/v3
  • URL: http://bonzo.site/api/v3/chat/new
  • Auth: HTTP bearer

Response

Success

Example response

{
  "data": [
    {
      "name": "Chat room name",
      "topic": "Chat room topic",
      "description": "Chat room description",
      "created_at": "2022-01-01T01:00:00.000000Z",
      "updated_at": "2022-01-01T01:00:00.000000Z",
      "members": [
        {
          "avatar_url": "https://via.placeholder.com/128x128",
          "email": "johndoe@example.com",
          "phone": "1112223333",
          "name": "John Doe"
        }
      ],
      "owner": {
        "name": "John Doe",
        "email": "johndoe@example.com",
        "phone": "1112223333",
        "avatar_url": "https://via.placeholder.com/128x128"
      }
    }
  ]
}

Changes

No recorded changes to this operation across all 1 revision of this API.