Content API
Every content call: what to send, what comes back, and copy-ready examples.
Content report
GET/contentScope: content:read
In the address and headers
fromquery, optional- text
toquery, optional- text
modelquery, optional- first, last, even, position, decay
channelquery, optional- youtube, instagram, tiktok, x, linkedin, facebook, email, dm, podcast, website, referral, direct, unknown, other
campaign_idquery, optional- id (UUID)
link_idquery, optional- id (UUID)
all_modelsquery, optional- true, false
curl "https://api.usetotems.com/v1/content?from=2026-11-01&to=2026-11-30&all_models=true" \
-H "Authorization: Bearer $TOTEMS_KEY"Answer, status 200 (sample data)
{
"data": [
{
"content_id": "6f1e0523-3b47-4c0e-9a55-1f2e3d4c5b6a",
"title": "My first sales call, start to finish",
"kind": "youtube_video",
"channel": "youtube",
"url": "https://customer.example/demo/2",
"thumbnail_url": null,
"published_at": "2026-09-09T20:00:00.000Z",
"views": 19132,
"clicks": 40,
"forms": 6,
"bookings": 1,
"sales": 7,
"cents": 490060,
"first_cents": 490060,
"last_cents": 285021,
"cents_per_1000": 25615,
"label": null,
"why": null,
"cents_by_model": {
"first": 490060,
"last": 285021,
"even": 377118,
"position": 375039,
"decay": 299474
}
}
],
"request_id": "req_..."
}Add custom content
POST/contentScope: links:write
In the address and headers
Idempotency-Keyheader, optional- text. up to 200 letters
Body
titleneeded- text
kindoptional- youtube_video, youtube_short, instagram_post, instagram_reel, instagram_story, tiktok_video, x_post, linkedin_post, email, podcast, page, other
channeloptional- youtube, instagram, tiktok, x, linkedin, facebook, email, dm, podcast, website, referral, direct, unknown, other
urloptional- text
published_atoptional- UTC time, or empty
curl -X POST "https://api.usetotems.com/v1/content" \
-H "Authorization: Bearer $TOTEMS_KEY" \
-H "Idempotency-Key: $(uuidgen)" \
-H "Content-Type: application/json" \
-d '{
"title": "How I plan my week",
"kind": "youtube_video",
"channel": "youtube",
"url": "https://www.youtube.com/watch?v=abc123"
}'Answer, status 201 (sample data)
{
"data": {
"id": "2a6e1d9c-7c15-4e2b-8d44-5b6a7c8d9e0f",
"title": "How I plan my week",
"kind": "youtube_video",
"channel": "youtube",
"url": "https://www.youtube.com/watch?v=abc123",
"thumbnail_url": null,
"published_at": null,
"metrics": {},
"metrics_at": null,
"connection_id": null,
"archived_at": null
},
"request_id": "req_..."
}One item
GET/content/{id}Scope: content:read
In the address and headers
idin the path, needed- id (UUID)
fromquery, optional- text
toquery, optional- text
modelquery, optional- first, last, even, position, decay
channelquery, optional- youtube, instagram, tiktok, x, linkedin, facebook, email, dm, podcast, website, referral, direct, unknown, other
campaign_idquery, optional- id (UUID)
link_idquery, optional- id (UUID)
The example uses a made-up id. Put one of your own in its place.
curl "https://api.usetotems.com/v1/content/6f1d2c9a-3b47-4c0e-9a55-1f2e3d4c5b6a" \
-H "Authorization: Bearer $TOTEMS_KEY"Answer, status 200 (sample data)
{
"data": {
"id": "6f1e0523-3b47-4c0e-9a55-1f2e3d4c5b6a",
"title": "My first sales call, start to finish",
"kind": "youtube_video",
"channel": "youtube",
"url": "https://customer.example/demo/2",
"thumbnail_url": null,
"published_at": "2026-09-09T20:00:00.000Z",
"metrics": {
"likes": 58,
"views": 19132
},
"metrics_at": "2026-12-03T19:57:17.879Z",
"connection_id": "6f1e4301-3b47-4c0e-9a55-1f2e3d4c5b6a",
"archived_at": null,
"report": {
"content_id": "6f1e0523-3b47-4c0e-9a55-1f2e3d4c5b6a",
"title": "My first sales call, start to finish",
"kind": "youtube_video",
"channel": "youtube",
"url": "https://customer.example/demo/2",
"thumbnail_url": null,
"published_at": "2026-09-09T20:00:00.000Z",
"views": 19132,
"clicks": 40,
"forms": 6,
"bookings": 1,
"sales": 7,
"cents": 490060,
"first_cents": 490060,
"last_cents": 285021,
"cents_per_1000": 25615,
"label": null,
"why": null
}
},
"request_id": "req_..."
}Edit custom content
PATCH/content/{id}Scope: links:write
In the address and headers
idin the path, needed- id (UUID)
Idempotency-Keyheader, optional- text. up to 200 letters
Body
titleoptional- text
kindoptional- youtube_video, youtube_short, instagram_post, instagram_reel, instagram_story, tiktok_video, x_post, linkedin_post, email, podcast, page, other
channeloptional- youtube, instagram, tiktok, x, linkedin, facebook, email, dm, podcast, website, referral, direct, unknown, other
urloptional- text
published_atoptional- UTC time, or empty
The example uses a made-up id. Put one of your own in its place.
curl -X PATCH "https://api.usetotems.com/v1/content/6f1d2c9a-3b47-4c0e-9a55-1f2e3d4c5b6a" \
-H "Authorization: Bearer $TOTEMS_KEY" \
-H "Idempotency-Key: $(uuidgen)" \
-H "Content-Type: application/json" \
-d '{
"title": "How I plan my week (new cut)"
}'Answer, status 200 (sample data)
{
"data": {
"id": "2a6e1d9c-7c15-4e2b-8d44-5b6a7c8d9e0f",
"title": "How I plan my week (new cut)",
"kind": "youtube_video",
"channel": "youtube",
"url": "https://www.youtube.com/watch?v=abc123",
"thumbnail_url": null,
"published_at": null,
"metrics": {},
"metrics_at": null,
"connection_id": null,
"archived_at": null
},
"request_id": "req_..."
}Was this useful?
Your answer stays in this browser.
Last checked: Made from the live API rulesPlain MarkdownSomething wrong? Tell us