Skip to main content
POST
/
api
/
directory
/
kinds.show
Show kind
curl --request POST \
  --url https://api.example.com/api/directory/kinds.show \
  --header 'Content-Type: application/json' \
  --data '
{
  "id": "872815618512410358"
}
'
{
  "id": "872815618512410358",
  "machine_name": "<string>",
  "attributes": [
    {
      "attribute": {
        "id": "<string>",
        "label": {
          "en": "Hello",
          "fr": "Bonjour",
          "de": "Guten Tag"
        },
        "type": "boolean",
        "choices": {
          "values": {},
          "strict": true,
          "input_type": "select"
        }
      },
      "confidential": true,
      "searchable": true,
      "sortable": true,
      "section_id": "<string>",
      "section_label": "<string>"
    }
  ],
  "sections": [
    {
      "id": "<string>",
      "label": "<string>",
      "confidential": true
    }
  ],
  "sorting_attribute_ids": [
    "<string>"
  ],
  "permissions": {
    "can_manage": true,
    "can_create": true,
    "can_import": true,
    "can_export": true
  }
}

Body

application/json
id
string<snowflake>
required
Example:

"872815618512410358"

Response

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

"872815618512410358"

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