API Reference

Complete documentation for the MITPO Universal API

Base URL

https://api.mitpo.io

Social Publishing

Social publishing remains available as a supporting workflow inside MITPO, but the primary product focus is campaign operations, dispatch tracking, and managed execution across paid channels.

POST/v1/social/publish

Publish a post immediately to the specified platform.

Request
curl -X POST https://api.mitpo.io/v1/social/publish \
  -H "Authorization: Bearer mk_live_..." \
  -H "Content-Type: application/json" \
  -d '{
    "platform": "twitter",
    "content": "Launching our new feature today!",
    "media_urls": []
  }'
Response 200
{
  "success": true,
  "data": {
    "id": "soc_x9y8z7w6",
    "platform": "twitter",
    "status": "published",
    "provider_post_id": "1903847562910384756",
    "published_at": "2026-03-22T14:00:00Z"
  },
  "request_id": "req_3b8c2d5e..."
}
ParameterTypeDescription
platformstringtwitter, linkedin, facebook, or instagram
contentstringPost text content
media_urlsstring[]Array of publicly accessible media URLs to attach
POST/v1/social/schedule

Schedule a post for future publication. Include a scheduled_at ISO 8601 timestamp.

Request
curl -X POST https://api.mitpo.io/v1/social/schedule \
  -H "Authorization: Bearer mk_live_..." \
  -H "Content-Type: application/json" \
  -d '{
    "platform": "linkedin",
    "content": "Excited to announce our Q2 roadmap. Here is what we are building next.",
    "media_urls": ["https://cdn.example.com/roadmap.png"],
    "scheduled_at": "2026-03-25T09:00:00Z"
  }'
Response 200
{
  "success": true,
  "data": {
    "id": "soc_m4n5o6p7",
    "platform": "linkedin",
    "status": "scheduled",
    "scheduled_at": "2026-03-25T09:00:00Z"
  },
  "request_id": "req_6e7f8g9h..."
}

Ready to automate campaign operations?