Advocacy
Messages
Add messages to and remove them from message-based advocacy boards.
This endpoint applies only to message-based boards. For new boards, use the Stories endpoint, which provides more functionality and richer media options.
Board messages are text-based content assets that advocates can share from the employee advocacy board. Use these endpoints to add messages to boards, update existing messages, and manage message availability for your advocacy program.
Add Board Message
Add a message to a board.
POST /v2/board-message
Parameters
Prop
Type
Example Request
curl -X POST "https://api.oktopost.com/v2/board-message" \
-u ACCOUNT_ID:API_KEY \
-d boardId=brd000000000001 \
-d messageId=005000000000001 \
-d startDate="2020-11-01 12:00:00" \
-d expireDate="2021-03-01 12:00:00" \
-d important=1 \
-d topicIds=tpc000000000001,tpc000000000002Example Response
{
"Result": true
}Remove Board Message
Remove a message from a board.
DELETE /v2/board-message
Parameters
Prop
Type
Example Request
curl -X DELETE "https://api.oktopost.com/v2/board-message?boardId=brd000000000001&messageId=005000000000001" \
-u ACCOUNT_ID:API_KEY