Concepts

This page explains the objects you will meet in every other guide.

Organizations

An organization is the account that owns everything in IQCore: its channels, posts, media, credits, plan and team. An organization is what other tools call a workspace or a brand.

  • Every request acts in one organization.
  • Organizations are fully separate. Each has its own plan, credits, channels and limits. Nothing crosses from one to another.
  • One login can belong to several organizations (an agency with many clients, for example). One key can work in several of them. See How organization_id works.

List the organizations a key can reach with GET /organizations (reference). Each row shows your current role there, the scopes that role leaves usable, the plan and the credits, and usable. If usable is false, refusal is the error code a request there would get.

API keys

An API key lets your own code act in IQCore. You make it in the dashboard, under Settings → Apps & integrations → API keys. Keys come in two modes:

Mode Prefix What it does
Live key iqk_live_ Works on real posts and channels. Needs a plan that allows live keys.
Test key iqk_test_ Reads your real channels and media; it only creates sandbox posts and media files and never spends credits or changes anything else. See Test keys and dry run.

The API is in private beta. To join, ask through Support in your dashboard or on the contact page.

A key belongs to the login that created it. The key acts as that login, with that login's current role in each organization. It never does more than that person could do in the dashboard. If your role drops from admin to member, every key you made loses its admin rights at the next request. The effective right is always the key's scopes combined with your role right now. See Authentication.

GET /me shows the key, its scopes and the organizations it reaches (reference).

Channels

A channel is one connected social profile: a Facebook Page, an Instagram account, a Threads profile or a TikTok account. A person connects channels in IQCore; the API cannot connect them.

GET /channels and GET /channels/{id} (reference) show each channel's status, its capabilities, which platform permissions it has or lacks (granted_permissions, missing_permissions), when its login expires (token_expires_at) and a reconnect_url. See Platform permissions.

Posts and their targets

A post in the API is one piece of content that goes to one or more channels. For each channel it has a target. The target carries that channel's own status, caption, schedule, platform_post_id and permalink.

  • You create one post with channel_ids for up to 10 channels. Behind the scenes IQCore keeps this as a post group over one stored post per channel.
  • The post's status is derived from its targets. One target failing and one succeeding gives partially_published.
  • external_ref is your own id for the post, unique in the organization.
  • Posts made in the IQCore web app, the mobile app, AI Chat or MCP show up in the API too.

Read more in Post states and approval.

Media library

Pictures, videos and audio live in the organization's Media library. A post refers to files by media_ids. You add files by upload or by URL import, and a file can be ready, pending (a URL import is running) or failed. See Media.

Events

Events are the record of what happened: post.published, post.failed, channel.needs_reconnect, credits.low and more. You read them with GET /events and a cursor, in order. They hold ids, statuses and codes, never text or personal data. See Events.

Credits

Credits pay for AI work: images, videos, voice-overs and Studio runs. Reading and posting cost nothing. Over the API only purchased credits pay, and every spend needs a max_credits limit. See Credits and spending.

How organization_id works

Every operation that acts in an organization takes organization_id (the uuid from GET /organizations).

  • On GET requests, send it in the query: GET /channels?organization_id=...
  • On writes (POST, PATCH, PUT, DELETE), send it in the JSON body: {"organization_id": "...", ...}. On a write the query string is read as well if the body has none.
  • If your key works in one organization, you can leave it out.
  • If your key works in several organizations and you leave it out, the answer is 400 organization_required.
  • GET /organizations and GET /organizations/{id} work without it, so you can list first. GET /me also works without it.
  • An id that is not one of the key's organizations answers 404 not_found. This is the same for another customer's real id and for a made-up id. IQCore never confirms that another organization exists.
curl
curl "https://iqcore.ai/api/public/v1/channels?organization_id=ORG_UUID" -H "Authorization: Bearer $IQCORE_KEY"

curl -X POST "https://iqcore.ai/api/public/v1/posts" \
  -H "Authorization: Bearer $IQCORE_KEY" \
  -H "Content-Type: application/json" \
  -d '{"organization_id": "ORG_UUID", "channel_ids": ["..."], "caption": "...", "scheduled_at": "2026-12-20T09:00:00Z"}'
JavaScript
const base = "https://iqcore.ai/api/public/v1";
const headers = { Authorization: `Bearer ${process.env.IQCORE_KEY}` };

// GET: query string
await fetch(`${base}/channels?organization_id=${orgId}`, { headers });

// Write: JSON body
await fetch(`${base}/posts`, {
  method: "POST",
  headers: { ...headers, "Content-Type": "application/json" },
  body: JSON.stringify({ organization_id: orgId, channel_ids, caption, scheduled_at }),
});
Python
import os
import requests

base = "https://iqcore.ai/api/public/v1"
headers = {"Authorization": f"Bearer {os.environ['IQCORE_KEY']}"}

# GET: query string
requests.get(f"{base}/channels", headers=headers, params={"organization_id": org_id})

# Write: JSON body
requests.post(f"{base}/posts", headers=headers,
              json={"organization_id": org_id, "channel_ids": channel_ids,
                    "caption": caption, "scheduled_at": scheduled_at})

Keep one cursor per organization when you poll events.

Next: Authentication, Post states and approval.