POST
/
api
/
messaging
/
servers
Create server
curl --request POST \
  --url http://localhost:3000/api/messaging/servers \
  --header 'Content-Type: application/json' \
  --data '{
  "name": "<string>",
  "description": "<string>",
  "metadata": {}
}'
{
  "success": true,
  "data": {
    "server": {
      "id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
      "name": "<string>",
      "description": "<string>",
      "metadata": {},
      "createdAt": 123
    }
  }
}

Body

application/json

Response

201
application/json

Server created successfully

The response is of type object.