Skip to main content

1. Create an API key

In the app, go to Profile → API keys, give the key a name, and click Create. Copy the key (mod_live_…) — it’s shown only once.
Treat your key like a password. It can post on your behalf. Revoke it anytime from the same screen.

2. Find your channels

Every post targets one or more connected channels. List them and grab the ids:
curl https://api.marketordie.io/v1/channels \
  -H "Authorization: Bearer $MOD_KEY"
Response
{
  "data": [
    { "id": "conn_abc", "platform": "x", "name": "Hadi", "username": "HadiiAzeez", "verified": true },
    { "id": "conn_def", "platform": "linkedin", "name": "Hadi Azeez", "username": "Hadi Azeez", "verified": false }
  ]
}

3. Ship a post

Post to one or more channels at once. Omit scheduled_for to publish now.
curl -X POST https://api.marketordie.io/v1/posts \
  -H "Authorization: Bearer $MOD_KEY" \
  -H "Content-Type: application/json" \
  -d '{
    "channels": ["conn_abc", "conn_def"],
    "text": "We just shipped our public API."
  }'
That’s it — the post goes through the same reliable queue as the composer, with automatic retries and failure notifications.
Need help? Email hadi@heffl.com.