Median

POST /knowledge/folders

Updated Oct 1, 20261 minute read

Create a folder

A new shelf, at the bottom of wherever it goes. Folders nest three levels deep and no further.

Part of Knowledge.

Request body

application/json, required.

FieldTypeRequiredDescription
namestringYes
descriptionstringNo
parentIdstringNo

Responses

StatusDescription
200Created.
400The request is malformed, and the message names the field.
401The bearer token is missing, revoked, or expired.
403The token's person does not hold the role this needs.
429Too many requests. Wait the seconds in Retry-After. Limits depend on the plan. See rate limits.

200 body

FieldTypeRequiredDescription
idstringNo

Example request

curl -X POST https://api.median.sh/v1/knowledge/folders \
  -H "Authorization: Bearer $BEARER_AUTH"

Still need help?

    Esc