Stories
Get, list, add, edit, and delete the stories that advocates share from the advocacy board.
Stories are the recommended way to manage advocacy content. They replace the legacy Board Messages endpoint and add multi-network support, rich media, and better content organization.
Stories are articles or media assets that you share with advocates on the advocacy board. Each story can include multiple messages tailored for different social networks, all sharing the same media assets. Advocates can then share branded content across their personal social channels with network-optimized messaging.
Get Story
Retrieve a single story by ID.
GET /v2/story/:storyId
Parameters
Prop
Type
Example Request
curl -X GET "https://api.oktopost.com/v2/story/0AS000000000001" \
-u ACCOUNT_ID:API_KEYExample Response
{
"Result": true,
"Item":
{
"ID": "0AS000000000001",
"Created": "2022-12-13 17:22:52",
"Modified": "2022-12-13 17:47:44",
"AccountId": "001000000000001",
"CreatedBy": "00A000000000001",
"ModifiedBy": "00A000000000001",
"BoardId": "brd000000000001",
"CampaignId": "002000000000001",
"PublishDate": "2022-12-19 14:00:00",
"ExpirationDate": "2023-06-14 02:59:59",
"IsFeatured": false,
"Title": "Spring product update",
"Description": "Share the highlights from the spring release.",
"ImageUrl": null,
"LinkTitle": null,
"LinkUrl": null,
"LinkDescription": null,
"LinkContent": null,
"Type": "text",
"Status": "draft",
"PostlogId": null,
"ShareCount": 0,
"AltTexts": null,
"VideoTitle": null,
"VideoPreview": null,
"VideoSubtitle": null,
"PreviewFrame": null,
"WorkflowId": null,
"Messages":
[
{
"Id": "005000000000001",
"Network": "LinkedIn",
"Message": "The spring release from @Oktopost is here, with faster scheduling, clearer analytics, and new advocacy features.",
"Type": "text",
"Mentions":
[
{
"Id": "urn:li:organization:123456",
"Text": "Oktopost"
}
],
"LinkTitle": "",
"LinkUrl": "",
"Description": "",
"ImageUrl": "",
"VideoPreview": "",
"VideoTitle": "",
"VideoSubtitle": "",
"Media": []
}
],
"Media":[],
"Topics":
[
"Oktopost Content"
],
"Tags":
[
"Thought Leadership",
"Product"
],
"Postlog": []
}
}Get Stories
Retrieve a list of stories, optionally filtered by board, status, author, topic, or tag.
GET /v2/story
Stories on archived boards are omitted. Set boardId to limit the list to one board. A valid ID for an archived board still returns no stories. See Pagination for shared behavior.
status and approveStatus are independent and can be combined. status=draft matches Status draft. scheduled, published, and expired match Status approved, split by dates: publish date in the future, currently in the publish window, or past expiration. The response Status for those stories stays approved. approveStatus=pending and rejected match Status. approveStatus=approved means an approved workflow item exists, which is separate from status=published.
Parameters
Prop
Type
Example Request
curl -X GET "https://api.oktopost.com/v2/story?boardId=brd000000000001&q=spring&status=published&_count=20&_order=publishDate,0" \
-u ACCOUNT_ID:API_KEYExample Response
{
"Result": true,
"Total": 83,
"Items":
[
{
"ID": "0AS000000000001",
"Created": "2022-12-13 17:22:52",
"Modified": "2022-12-13 17:47:44",
"AccountId": "001000000000001",
"CreatedBy": "00A000000000001",
"ModifiedBy": "00A000000000001",
"BoardId": "brd000000000001",
"CampaignId": "002000000000001",
"PublishDate": "2022-12-19 14:00:00",
"ExpirationDate": "2023-06-14 02:59:59",
"IsFeatured": false,
"Title": "Spring product update",
"Description": "Share the highlights from the spring release.",
"ImageUrl": null,
"LinkTitle": null,
"LinkUrl": null,
"LinkDescription": null,
"LinkContent": null,
"Type": "text",
"Status": "approved",
"PostlogId": null,
"ShareCount": 0,
"AltTexts": null,
"VideoTitle": null,
"VideoPreview": null,
"VideoSubtitle": null,
"PreviewFrame": null,
"WorkflowId": null,
"Messages":
[
{
"Id": "005000000000001",
"Network": "LinkedIn",
"Message": "The spring release from @Oktopost is here, with faster scheduling, clearer analytics, and new advocacy features.",
"Type": "text",
"Mentions":
[
{
"Id": "urn:li:organization:123456",
"Text": "Oktopost"
}
],
"LinkTitle": "",
"LinkUrl": "",
"Description": "",
"ImageUrl": "",
"VideoPreview": "",
"VideoTitle": "",
"VideoSubtitle": "",
"Media": []
}
],
"Media":[],
"Topics":
[
"Oktopost Content"
],
"Tags":
[
"Thought Leadership",
"Product"
],
"PreviewStatus": "published",
"ResharePostAuthor": null
},
...
]
}Add Story
Create a story on a board.
POST /v2/story
If the target board (or the default board, when boardId is omitted) has topics configured, topicIds is required and every ID must be one of that board's topics. Otherwise the request fails with The story cannot be saved without Topics (none provided) or Provided Topics don't match Board existing topics (an ID doesn't belong to the board). If the board has no topics configured, topicIds is optional.
You send topicIds and tagIds as IDs, and tags as names. The story response (Get Story and Get Stories) returns Topics and Tags as names. Use the Topics (GET /v2/board-topic) and Tags (GET /v2/tag) endpoints to look up IDs.
Send either tags or tagIds. Sending both as non-empty lists returns 400. Unknown tag names are created when the caller can create tags. Without that permission they are dropped, and the request still replaces the tag set, so a list of only unknown names clears it.
Parameters
Prop
Type
Example Request
curl -X POST "https://api.oktopost.com/v2/story" \
-u ACCOUNT_ID:API_KEY \
-d boardId="brd000000000001" \
-d title="Spring product update" \
-d description="Share the highlights from the spring release." \
-d campaignId="002000000000001" \
-d mediaIds="026000000000001" \
-d link="https://www.oktopost.com" \
-d messageIds="005000000000001,005000000000002" \
-d topicIds="tpc000000000001,tpc000000000002" \
-d tagIds="0AF000000000001,0AF000000000002"Create a story with tag names:
curl -X POST "https://api.oktopost.com/v2/story" \
-u ACCOUNT_ID:API_KEY \
-d boardId="brd000000000001" \
-d title="Product launch" \
-d description="Share the Q4 launch." \
-d campaignId="002000000000001" \
-d tags[]="Product Launch" \
-d tags[]="Q4 Report"Add Repost Story
Create a story that advocates can reshare as a native LinkedIn repost.
POST /v2/story
Repost stories are LinkedIn-only. The postlogId must reference a successfully published LinkedIn post from your account. A postlog ID from any other network returns 400.
Instead of providing custom content, you supply the postlogId of an existing LinkedIn post. The story description is derived from the original post's text, and the repost link is added to advocate messages when they are generated.
When postlogId is set:
titleanddescriptionare optional (derived from the original post).link,mediaIds, andmessageIdsare ignored.- Set
generateMessages=trueto create advocate messages in the background.
Parameters
Prop
Type
All other Add Story parameters, such as boardId, also apply.
Example Request
curl -X POST "https://api.oktopost.com/v2/story" \
-u ACCOUNT_ID:API_KEY \
-d boardId="brd000000000001" \
-d postlogId="007000000000001" \
-d generateMessages=trueExample Response
{
"Result": true,
"Item": {
"ID": "0AS000000000002",
"Created": "2026-04-29 14:00:00",
"Modified": "2026-04-29 14:00:00",
"AccountId": "001000000000001",
"CreatedBy": "00A000000000001",
"ModifiedBy": "00A000000000001",
"BoardId": "brd000000000001",
"CampaignId": "002000000000001",
"PublishDate": "2026-04-29 14:00:00",
"ExpirationDate": "2026-10-29 02:59:59",
"IsFeatured": false,
"Title": null,
"Description": "Our latest product update brings faster dashboards, smarter analytics, and more.",
"PostlogId": "007000000000001",
"ImageUrl": null,
"LinkTitle": null,
"LinkUrl": null,
"LinkDescription": null,
"LinkContent": null,
"Type": "post-attachment",
"Status": "active",
"ShareCount": 0,
"AltTexts": null,
"VideoTitle": null,
"VideoPreview": null,
"VideoSubtitle": null,
"PreviewFrame": null,
"WorkflowId": null,
"Messages": [],
"Media": [],
"Topics": [],
"Tags": []
}
}Edit Story
Update a story's content, schedule, topics, or tags.
POST /v2/story/:storyId
For repost stories, the repost association (PostlogId) is kept on update. You can override title and description; all other repost-specific fields stay unchanged.
topicIds uses the same format as Add Story. On update, omitting topicIds keeps the story's existing topics, and providing it replaces the full set. On a topic-enabled board, a valid topicIds set may still be required when boardId is passed (the same validation as when creating a story).
tags and tagIds use the same format as Add Story. On update, omitting both keeps the story's tags. Sending either parameter replaces the full set, and sending it empty clears the tags. If tags is present, even when empty, it is the tag set and tagIds is ignored. Sending both as non-empty lists returns 400. A list of only unrecognized tag IDs is an empty set and clears the story's tags.
Parameters
Prop
Type
The body accepts the same parameters as Add Story.
Example Request
curl -X POST "https://api.oktopost.com/v2/story/0AS000000000001" \
-u ACCOUNT_ID:API_KEY \
-d boardId="brd000000000001" \
-d title="Spring product update" \
-d description="Share the highlights from the spring release." \
-d campaignId="002000000000001" \
-d mediaIds="026000000000001" \
-d link="https://www.oktopost.com" \
-d messageIds="005000000000002" \
-d topicIds="tpc000000000002" \
-d tagIds="0AF000000000002"Delete Story
Delete a story.
DELETE /v2/story/:storyId
Parameters
Prop
Type
Example Request
curl -X DELETE "https://api.oktopost.com/v2/story/0AS000000000001" \
-u ACCOUNT_ID:API_KEY