Content

Create a folder

Create a folder, at the end of the top level or at the place you give.

post/v1/content/folders

Request

  • Base URL
    https://api.banksync.io
  • Auth
    • API key in header X-API-Key
    • or HTTP bearer

Headers

Idempotency-Key, string

Makes a retry safe: the same key with the same request replays the first answer for 24 hours instead of running twice, and the same key with a different request is a 409 IDEMPOTENCY_KEY_REUSED. Refusals a retry can outlive — 408, 409, 423, 425, 429 and every 5xx — are never replayed, so retrying with the same key after the cause clears runs the request.

Request body

object required
name, string required

The folder’s name

icon, string nullable

An icon name; null clears it

color, string nullable

A colour name (teal, teal-500) or #rrggbb; null clears it

placement, object

Where it goes; the end of the top level by default

Response

The folder

object required
success, true required
data, object required

Changes

No recorded changes to this operation across all 6 revisions of this API.