Kabon Share API
  1. Posts
Kabon Share API
  • Authentication
    • Create new user account
      POST
    • Login to existing account
      POST
    • Initiate Google OAuth for YouTube
      GET
    • Initiate Facebook OAuth
      GET
    • Get OAuth authorization URL for a platform
      GET
    • Get connected social accounts
      GET
    • Connect a specific Facebook Page by ID
      POST
  • Posts
    • Create and publish a post
      POST
    • Get user's posts
      GET
    • Get post details
      GET
    • Update post
      PATCH
    • Delete post
      DELETE
  • Assets
    • Upload media asset
      POST
    • Get user's assets
      GET
    • Delete asset
      DELETE
  • Plans
    • Get available subscription plans
      GET
  • Subscriptions
    • Upgrade subscription plan
      POST
    • Get subscription status
      GET
  • Services
    • Get service status
      GET
    • Toggle service on/off (admin only)
      POST
  • Queue
    • Get queue statistics
      GET
  • Internal
    • Internal endpoint for worker-to-server file uploads
      POST
  • Workspaces
    • Get all workspaces for the authenticated user
    • Create a new workspace
    • Get a specific workspace
    • Update a workspace
    • Delete a workspace
  • Schemas
    • Error
    • User
    • Subscription
    • Plan
    • Post
    • PlatformPost
    • Media
    • Asset
    • SocialAccount
    • Workspace
  1. Posts

Get post details

GET
https://api.mediashare.com/api/posts/{postId}

Request

Authorization
API Key
Add parameter in header
X-API-Key
Example:
X-API-Key: ********************
or
Path Params

Responses

🟢200
application/json
Post details
Body

🟠404
Request Request Example
Shell
JavaScript
Java
Swift
curl --location --request GET 'https://api.mediashare.com/api/posts/' \
--header 'X-API-Key: <api-key>'
Response Response Example
{
    "_id": "string",
    "userId": "string",
    "platforms": [
        "facebook"
    ],
    "contentType": "post",
    "content": {
        "text": "string",
        "media": [
            {
                "type": "image",
                "url": "string",
                "localPath": "string",
                "mimeType": "string",
                "size": 0
            }
        ],
        "hashtags": [
            "string"
        ],
        "mentions": [
            "string"
        ]
    },
    "status": "draft",
    "scheduledFor": "2019-08-24T14:15:22.123Z",
    "platformPosts": [
        {
            "platform": "string",
            "accountId": "string",
            "status": "pending",
            "platformPostId": "string",
            "platformUrl": "string",
            "publishedAt": "2019-08-24T14:15:22.123Z",
            "error": "string"
        }
    ],
    "createdAt": "2019-08-24T14:15:22.123Z"
}
Modified at 2025-12-29 09:11:21
Previous
Get user's posts
Next
Update post
Built with