Skip to main content
POST
/
content
/
assets
/
{id}
/
sections
/
manage
Manage asset sections
curl --request POST \
  --url https://ai.wisepilot.app/api/v1/content/assets/{id}/sections/manage \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '
{
  "operations": [
    {
      "action": "add",
      "section_id": "<string>",
      "title": "<string>",
      "content": "<string>",
      "sort_order": 123
    }
  ]
}
'
{
  "success": true,
  "data": {
    "sections": [
      {
        "id": "<string>",
        "sectionType": "<string>",
        "title": "<string>",
        "content": "<string>",
        "sortOrder": 123
      }
    ]
  }
}

Authorizations

Authorization
string
header
required

API key prefixed with cr_ (e.g. cr_a1b2c3...)

Path Parameters

id
string
required

Asset content_id

Body

application/json
operations
object[]
required

Response

Sections updated

success
boolean
required
data
object