List content items
GET /api/v1/content
The key needs the scope content:read
Returns the content items of the workspace the key belongs to, one page at a time.
Items with a planned time come first, earliest first; items without one follow, newest first. The filters combine. Each item is the short form; get one item for its text, versions and approval.
Request
| Parameter | In | Needed | What it is |
|---|---|---|---|
status | query | no | Only items in this status: draft, review, approved, scheduled, publishing, published, failed, cancelled or delivery_uncertain. |
channel_id | query | no | Only items for this channel. |
campaign_id | query | no | Only items in this campaign. |
from | query | no | First day of the calendar window (YYYY-MM-DD), in the workspace time zone. Items without a planned time are left out when a window is given. |
to | query | no | Last day of the calendar window (YYYY-MM-DD), in the workspace time zone, that day included. Not before from. |
per_page | query | no | Items on a page, 1 to 50. The default is 25. |
page | query | no | The page to return, starting at 1. A page past the end is an empty list. |
curl https://heymysocial.com/api/v1/content \
-H "Authorization: Bearer $HMS_API_KEY"
Responses
200 A page of content items.
| Field | Type | What it is |
|---|---|---|
data | array of object | The items on this page. |
data[]. | string | Id of the content item (26 characters). |
data[]. | string or null | Title of the current version. |
data[]. | string | Where the item is in its life: draft, review (waiting for a person to approve), approved, scheduled, publishing, published, failed, cancelled or delivery_uncertain. |
data[]. | string | mock (the practice channel), facebook, instagram or linkedin. |
data[]. | string or null | Id of the channel the post is meant for, or null when none is chosen. |
data[]. | string or null | Id of the campaign the post belongs to, or null. |
data[]. | string or null | What the post is for: educate, prove, offer, engage or announce. |
data[]. | string | The kind of post: text, image, carousel, video, story or link. |
data[]. | string or null | awareness, consideration, conversion or retention. |
data[]. | string | Language of the text: en or da. |
data[]. | string or null (date-time) | The planned time in UTC, or null when no time is set. |
data[]. | string or null | The same moment as local time in the workspace time zone, written YYYY-MM-DDTHH:MM. |
data[]. | string | The time zone of the workspace (IANA name). |
data[]. | integer or null | Number of the current version, starting at 1. |
data[]. | integer | Goes up with every saved change. Send it back when you add a version, so you never overwrite an edit you have not seen. |
data[]. | string | The first 160 characters of the current text. |
data[]. | string | How the item was created: manual (a person in the app), rules (the drafting rules in the app), mcp (an assistant) or import (this API). |
data[]. | boolean | True for invented example data in a demo workspace. |
data[]. | string (uri) | The address of the item in the app, for a signed-in person. |
meta | object | Where this page is in the whole list. |
meta. | integer | Number of items that match the filters, on all pages. |
meta. | integer | The page this is. |
meta. | integer | Items on a page. |
meta. | string | The time zone the from and to days were read in. |
{
"data": [
{
"id": "01m88q4wyk57w1zfdfycbn4qf5",
"title": "Roof check",
"status": "review",
"platform": "mock",
"channel_id": "01m88q4wxrssa2ecg8rsrswg76",
"campaign_id": "01m88q4wxxt1xn4npmvqhz1nee",
"intent": "offer",
"format": "link",
"funnel_stage": "consideration",
"locale": "en",
"planned_at": "2026-12-01T08:00:00Z",
"planned_local": "2026-12-01T09:00",
"timezone": "Europe/Copenhagen",
"version": 2,
"lock_version": 2,
"excerpt": "Is your roof right for solar? A 20-minute visit answers it. The visit is free and you get the numbers in writing.",
"origin": "import",
"is_demo": false,
"url": "https://heymysocial.com/studio/01m88q4wyk57w1zfdfycbn4qf5"
}
],
"meta": {
"total": 1,
"page": 1,
"per_page": 25,
"timezone": "Europe/Copenhagen"
}
}
401 unauthenticated: the API key is missing, mistyped, revoked or expired.
The error shape and every code
403 access_denied: the key lacks the scope content:read.
The error shape and every code
422 validation_failed: a filter is not valid, for example an unknown status or a to day before the from day. details names the parameter.
The error shape and every code