Create a forum

POST /v1/forums

Create a forum

application/json

Body Required

  • name string Required

    Name of the forum

  • description string

    Description of the forum

  • emoji string

    Emoji of the forum

  • privacy string

    Privacy of the forum

    Values are Private or Secret. Default value is Private.

Responses

  • 201 application/json

    The forum has been successfully created

    Hide response attributes Show response attributes object
    • id string Required

      The id of the forum.

    • name string Required

      The name of the forum.

    • emoji string

      The emoji of the forum

    • description string Required

      The description of the forum

    • createdAt integer Required

      Timestamp in ms of creation date

    • privacy string Required

      Privacy of the forum

      Values are Private or Secret.

  • 400

    Malformed payload

POST /v1/forums
curl \
 --request POST 'https://openapi.meltingspot.io/v1/forums' \
 --header "Content-Type: application/json" \
 --data '{"name":"string","description":"string","emoji":"string","privacy":"Private"}'
Request examples
{
  "name": "string",
  "description": "string",
  "emoji": "string",
  "privacy": "Private"
}
Response examples (201)
{
  "id": "string",
  "name": "string",
  "emoji": "string",
  "description": "string",
  "createdAt": 42,
  "privacy": "Private"
}