Streams
Stream Tabs
Streams are organized using tabs. With this endpoint you can list, create, delete and update stream tabs.
List Stream Tabs
Example Request
curl -i https://api.oktopost.com/v2/stream-tabExample Result
{
"Result": true,
"Items": [
{
"Id": "018000000000000",
"Name": "Twitter Stream",
"Status": "active",
"Created": "2020-11-18 15:00:06"
}
],
"Total": 1
}Get Stream Tab
Example Request
curl -i https://api.oktopost.com/v2/stream-tab/018000000000000Example Result
{
"Result": true,
"StreamTab": {
"Id": "018000000000000",
"Name": "Twitter Stream",
"Status": "active",
"Created": "2020-11-18 15:00:06"
}
}Add Stream Tab
Example Request
curl -i https://api.oktopost.com/v2/stream-tab -X POST \
-d name="Twitter Engagement"Example Result
{
"Result": true,
"StreamTab": {
"Id": "018000000000000",
"Name": "Twitter Engagement",
"Status": "active",
"Created": "2020-11-15 13:23:34"
}
}Edit Stream Tab
Example Request
curl -i https://api.oktopost.com/v2/stream-tab/018000000000000 -X POST \
-d name="Twitter Disengagement"Example Result
{
"Result": true,
"StreamTab": {
"Id": "018000000000000",
"Name": "Twitter Disengagement",
"Status": "active",
"Created": "2020-11-15 13:23:34"
}
}Remove Stream Tab
Example Request
curl -i https://api.oktopost.com/v2/stream-tab/018000000000000 -X DELETEStreams
Streams are live feeds that display and engage with the content from connected social profiles. With this endpoint you can view, add, edit and remove streams from a users' account.
Webhooks
Subscribe to real-time events in your Oktopost account and receive instant notifications via HTTP callbacks.