Backoffice API
  1. SectionContents
Backoffice API
  • Back to home
  • Magazines
  • Issues
    • List Issues by Workspace id
      GET
    • Create Issue in Workspace
      POST
    • Issue by id
      GET
    • Update Issue by id
      PATCH
    • Delete Issue by id
      DELETE
    • Restore soft deleted Issue by id
      POST
  • Sections
    • All sections by Issue id
      GET
    • Create Section in Issue
      POST
    • Section by id
      GET
    • Update Section by id
      PATCH
    • Remove Section by id
      DELETE
  • Blocks
    • All blocks by Section id
      GET
    • Bulk update blocks by Section id
      PUT
    • Block by id
      GET
    • Update Block by id
      PATCH
  • Slots
    • All slots by Block id
      GET
    • Bulk update slots by Block id
      PUT
  • SectionContents
    • List SectionContents by Issue id
      GET
    • Search SectionContents by Issue id
      GET
    • Create SectionContent in Section
      POST
    • Remove SectionContent by id
      DELETE
  1. SectionContents

Create SectionContent in Section

POST
/sections/{id}/contents

Request

Authorization
API Key
Add parameter in header
x-api-key
Example:
x-api-key: ********************
or
API Key
Add parameter in query
x-api-key
Example:
x-api-key: ********************
or
Path Params

Body Params application/json

Examples

Responses

🟢200Success
application/json
Body

🟠400Invalid UUID
🟠400Bad Request
🟠401Unauthorized API KEY
🟠403Unauthorized roles
🟠404Entity not found
Request Request Example
Shell
JavaScript
Java
Swift
curl --location -g --request POST 'https://prod.your-api-server.com/api/magazines/v2/sections/{{magazine_section_id}}/contents' \
--header 'x-api-key: <api-key>' \
--header 'Content-Type: application/json' \
--data-raw '{
    "section_id": "f5e5c4dc-7d2e-40f1-a895-9bb2f8703fd8",
    "content_id": "713e4c61-5a69-43fb-a600-2e2699462e14"
}'
Response Response Example
200 - Example 1
{
    "data": {
        "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
        "section_id": "f5e5c4dc-7d2e-40f1-a895-9bb2f8703fd8",
        "content_id": "713e4c61-5a69-43fb-a600-2e2699462e14"
    }
}
Modified at 2025-06-19 16:43:30
Previous
Search SectionContents by Issue id
Next
Remove SectionContent by id
Built with