Skip to main content
POST
/
content-pillars
Create a content pillar
curl --request POST \
  --url https://app.heyoo.ai/api/content-pillars \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '
{
  "title": "<string>",
  "description": "<string>",
  "color": "blue",
  "status": "published"
}
'
{
  "id": "<string>",
  "title": "<string>",
  "description": "<string>",
  "color": "red",
  "status": "published",
  "authorId": "<string>",
  "workspaceId": "<string>",
  "createdAt": "<string>",
  "updatedAt": "<string>"
}

Authorizations

Authorization
string
header
required

Default authentication mechanism

Body

application/json
title
string
required

The title of the content pillar to create.

Required string length: 1 - 100
description
string

An optional description of the content pillar.

Maximum string length: 1500
color
enum<string>
default:blue

The color of the content pillar.

Available options:
red,
yellow,
green,
blue,
purple,
brown
status
enum<string>
default:published

The status of the content pillar.

Available options:
published,
archived

Response

The created content pillar

id
string
required

The unique ID of the content pillar.

title
string
required

The title of the content pillar.

description
string | null
required

The description of the content pillar.

color
enum<string>
required

The color of the content pillar.

Available options:
red,
yellow,
green,
blue,
purple,
brown
status
enum<string>
required

The status of the content pillar.

Available options:
published,
archived
authorId
string
required

The ID of the user who created this pillar.

workspaceId
string
required

The ID of the workspace this pillar belongs to.

createdAt
string
required

When the content pillar was created.

updatedAt
string
required

When the content pillar was last updated.