Create a custom property of the members of the spot: its slug is generated from its label

Add MCP server to your AI tool

Allow AI tools and LLMs to interact with the API documentation portal through MCP.

MCP server URL

https://help-api.meltingspot.io/mcp

Standard setup for AI tools providing an mcp.json file

mcp.json
{
  "API MCP server": {
    "url": "https://help-api.meltingspot.io/mcp"
  }
}

Close
POST /v1/customProperties

Create a custom property of the members of the spot: its slug is generated from its label, and those of the options of a select from their labels

application/json

Body Required

  • label string Required

    The label of the custom property, from which its slug is generated.

  • description string

    The description of the custom property.

  • type string Required

    The type of the values of the custom property.

    Values are Text, Boolean, Number, SingleSelect, MultipleSelect, or Date.

  • possibleValues array[object]

    The options of a SingleSelect or MultipleSelect custom property, 2 to 100. Ignored for the other types.

    Hide possibleValues attributes Show possibleValues attributes object
    • label string Required

      The label of the option.

    • order integer Required

      The position of the option, the smallest first.

Responses

  • 201 application/json

    Custom property created successfully

    Hide response attributes Show response attributes object
    • id string Required

      The id of the custom property

    • slug string Required

      The slug of the custom property, used to read and write its values

    • label string Required

      The label of the custom property

    • description string Required

      The description of the custom property

    • type string Required

      The type of the custom property

      Values are Text, Boolean, Number, SingleSelect, MultipleSelect, or Date.

    • possibleValues array[string] | null Required

      The slugs of the possible values of a select custom property, null for the other types

  • 400

    Malformed payload, select with less than two options

  • 401

    Unauthorized

  • 403

    Forbidden

POST /v1/customProperties
curl \
 --request POST 'https://openapi.meltingspot.io/v1/customProperties' \
 --header "Content-Type: application/json" \
 --data '{
  "label": "string",
  "description": "string",
  "type": "Text",
  "possibleValues": [
    {
      "label": "string",
      "order": 42
    }
  ]
}'
Request examples
{
  "label": "string",
  "description": "string",
  "type": "Text",
  "possibleValues": [
    {
      "label": "string",
      "order": 42
    }
  ]
}
Response examples (201)
{
  "id": "string",
  "slug": "string",
  "label": "string",
  "description": "string",
  "type": "Text",
  "possibleValues": [
    "string"
  ]
}