v1

latestOpenAPI 3.0.32026-08-067332206.6 KB
labels

Create a label

Creates a label in the matching Brandfolder.

post/brandfolders/{brandfolder_id}/labels

Request body

Example request

{
  "data": {
    "attributes": {
      "name": "onboarding",
      "parent_key": "abc123"
    }
  }
}

Response

The new label.

Example response

{
  "data": {
    "id": "oqgkkd-fr5iv4-443db",
    "attributes": {
      "name": "onboarding",
      "path": [
        "oqgkkd-fr5iv4-443db",
        "abc123"
      ],
      "depth": 2
    }
  }
}