Skip to main content
POST
/
api
/
directory
/
kinds.list
List kinds
curl --request POST \
  --url https://api.example.com/api/directory/kinds.list \
  --header 'Content-Type: application/json' \
  --data '{}'
[
  {
    "id": "872815618512410358",
    "machine_name": "<string>",
    "attributes": [
      {
        "attribute": {
          "id": "<string>",
          "label": {
            "en": "Hello",
            "fr": "Bonjour",
            "de": "Guten Tag"
          },
          "type": "boolean",
          "enum_values": {}
        },
        "confidential": true,
        "searchable": true,
        "sortable": true
      }
    ],
    "sorting_attribute_ids": [
      "<string>"
    ]
  }
]

Body

application/json

The body is of type object.

Response

200 - application/json
id
string<snowflake>
required
Example:

"872815618512410358"

machine_name
string
required
attributes
object[]
required
sorting_attribute_ids
string[]
required