Create multiple groups

POST /v1/groups~bulkCreate

Create multiple groups

application/json

Body Required

  • name string Required

    The name of the group

  • description string

    The description of the group

  • emoji string

    The emoji of the group

Responses

  • 201 application/json

    Groups has been successfully created

    Hide response attributes Show response attributes object
    • created array[object] Required

      The groups that were created.

      Hide created attributes Show created attributes object
      • id string Required

        The id of the group.

      • name string Required

        The name of the group.

      • description string

        The description of the group

      • emoji string

        The emoji of the group

    • failed array[object] Required

      The groups that failed to be created.

      Hide failed attributes Show failed attributes object
      • name string Required

        The name of the group

      • description string

        The description of the group

      • emoji string

        The emoji of the group

  • 400

    Malformed payload

  • 413

    Payload is too large

POST /v1/groups~bulkCreate
curl \
 --request POST 'https://openapi.meltingspot.io/v1/groups~bulkCreate' \
 --header "Content-Type: application/json" \
 --data '[{"name":"string","description":"string","emoji":"string"}]'
Request examples
[
  {
    "name": "string",
    "description": "string",
    "emoji": "string"
  }
]
Response examples (201)
{
  "created": [
    {
      "id": "string",
      "name": "string",
      "description": "string",
      "emoji": "string"
    }
  ],
  "failed": [
    {
      "name": "string",
      "description": "string",
      "emoji": "string"
    }
  ]
}