Account and organizations — API reference

Base URL https://iqcore.ai/api/public/v1. Every request needs Authorization: Bearer iqk_… (authentication); errors follow one envelope.

My account

GET /account

  • Operation account_overview
  • Scope account.read
  • Lowest role viewer
  • Read only
  • MCP account_overview

The customer's own account at a glance: the login's name and role in the account (owner, admin, member, viewer), the plan and its end date, auto-renew, whether the subscribers-only models are unlocked, credits available and on hold, purchased credits, connected stores and social channels (and how many need reconnecting), the last failed generations or posts with the reason (0 credits charged), and whether two-step verification is on.

Parameters

  • organization_id query string — The organization to act in. Required when the key works in several organizations.

Response 200

  • role string required — The role of the key's login in this organization. One of: owner, admin, member, viewer.
  • name string | null required — The name of the key's login.
  • plan string | null required — The plan name (null without a plan).
  • plan_is_trial boolean required
  • can_use_subscribers_only_models boolean required — A paid plan or purchased credits unlock the subscribers-only models.
  • purchased_credits integer required
  • period_ends_on string | null required
  • auto_renew boolean | null required — null without a plan.
  • credits_available integer required
  • credits_reserved integer required
  • stores_connected integer required
  • social_channels_connected integer required
  • social_channels_needing_reconnect integer required
  • recent_failures array of object required — The last failed generations or posts (at most 5, newest first); a failure charges 0 credits.
    • type string required — e.g. image, image edit, video generate, social post (instagram).
    • date string | null required — YYYY-MM-DD HH:MM:SS.
    • reason string required
    • credits_charged integer required
  • two_factor_enabled boolean required — Two-step verification of the key's login.

Errors: 400 401 403 404 422 429 500 — codes

Example

curl
curl "https://iqcore.ai/api/public/v1/account" \
  -H "Authorization: Bearer $IQCORE_KEY"
JavaScript
const res = await fetch("https://iqcore.ai/api/public/v1/account", {
  headers: { Authorization: `Bearer ${process.env.IQCORE_KEY}` },
});
console.log(res.status, await res.json());
Python
import os
import requests

res = requests.get(
    "https://iqcore.ai/api/public/v1/account",
    headers={"Authorization": f"Bearer {os.environ['IQCORE_KEY']}"},
)
print(res.status_code, res.json())
json
{
    "role": "owner",
    "name": "Summer sale",
    "plan": "plan",
    "plan_is_trial": false,
    "can_use_subscribers_only_models": false,
    "purchased_credits": 1,
    "period_ends_on": "period_ends_on",
    "auto_renew": false,
    "credits_available": 1,
    "credits_reserved": 1,
    "stores_connected": 1,
    "social_channels_connected": 1,
    "social_channels_needing_reconnect": 1,
    "recent_failures": [
        {
            "type": "type",
            "date": "date",
            "reason": "reason",
            "credits_charged": 1
        }
    ],
    "two_factor_enabled": false
}

The calling API key

GET /me

  • Operation me
  • Scope account.read
  • Lowest role viewer
  • Read only

The calling key: its mode (a test key has livemode false), scopes, approval mode, and each of its organizations with the login's current role there and the scopes that role leaves usable. Works without organization_id on a key with several organizations.

Parameters

  • organization_id query string — An organization id (uuid) of this key.

Response 200

  • object string required One of: api_key.
  • id string required
  • name string required
  • mode string required One of: live, test.
  • livemode boolean required
  • prefix string required
  • last4 string required
  • scopes array of string required
  • approval_mode string required One of: dashboard, api.
  • expires_at string | null required
  • created_at string | null required
  • organization object | null required
  • organizations array of object required
    • object string required One of: organization.
    • id string required
    • name string required
    • role string | null required One of: owner, admin, member, viewer, null.
    • scopes array of string required
    • usable boolean required
    • refusal string | null required — Why the key cannot act here right now (the error code a request would get), or null.

Errors: 400 401 403 404 429 500 — codes

Example

curl
curl "https://iqcore.ai/api/public/v1/me" \
  -H "Authorization: Bearer $IQCORE_KEY"
JavaScript
const res = await fetch("https://iqcore.ai/api/public/v1/me", {
  headers: { Authorization: `Bearer ${process.env.IQCORE_KEY}` },
});
console.log(res.status, await res.json());
Python
import os
import requests

res = requests.get(
    "https://iqcore.ai/api/public/v1/me",
    headers={"Authorization": f"Bearer {os.environ['IQCORE_KEY']}"},
)
print(res.status_code, res.json())
json
{
    "object": "api_key",
    "id": "<id>",
    "name": "Summer sale",
    "mode": "live",
    "livemode": false,
    "prefix": "prefix",
    "last4": "last4",
    "scopes": [
        "scope"
    ],
    "approval_mode": "dashboard",
    "expires_at": "2026-12-05T09:00:00Z",
    "created_at": "2026-12-05T09:00:00Z",
    "organization": {
        "object": "organization",
        "id": "<id>",
        "name": "Summer sale",
        "role": "owner",
        "scopes": [
            "scope"
        ],
        "usable": false,
        "refusal": "refusal"
    },
    "organizations": [
        {
            "object": "organization",
            "id": "<id>",
            "name": "Summer sale",
            "role": "owner",
            "scopes": [
                "scope"
            ],
            "usable": false,
            "refusal": "refusal"
        }
    ]
}

Organizations

GET /organizations

  • Operation organizations_list
  • Scope account.read
  • Lowest role viewer
  • Read only
  • MCP organizations_list

The organizations this API key (or this connected app) may act in: id, name, the login's role, the scopes that role leaves usable, the plan, the credits, and whether it can act there right now (usable; refusal = the error a request would get). Send organization_id on every request of a key with several organizations.

Parameters

  • organization_id query string — The organization to act in. Required when the key works in several organizations.

Response 200

  • data array of object required
    • id string required — The organization id (send it as organization_id).
    • name string required
    • role string | null required — The key's login's role there now: owner, admin, member or viewer.
    • scopes array of string required — The scopes this role leaves usable there.
    • plan object | null required
      • slug string required
      • name string required
    • credits object | null required — null when the key cannot act there right now.
      • available integer required — Credits that can be spent now.
      • paid_available integer required — Purchased credits not held: what API spends can use.
    • usable boolean required — A request in this organization would be let in now.
    • refusal string | null required — Why not (the error code a request would get), or null.
  • next_cursor null required — Always null: every organization is in one page.
  • has_more boolean required

Errors: 400 401 403 404 422 429 500 — codes

Example

curl
curl "https://iqcore.ai/api/public/v1/organizations" \
  -H "Authorization: Bearer $IQCORE_KEY"
JavaScript
const res = await fetch("https://iqcore.ai/api/public/v1/organizations", {
  headers: { Authorization: `Bearer ${process.env.IQCORE_KEY}` },
});
console.log(res.status, await res.json());
Python
import os
import requests

res = requests.get(
    "https://iqcore.ai/api/public/v1/organizations",
    headers={"Authorization": f"Bearer {os.environ['IQCORE_KEY']}"},
)
print(res.status_code, res.json())
json
{
    "data": [
        {
            "id": "<id>",
            "name": "Summer sale",
            "role": "role",
            "scopes": [
                "scope"
            ],
            "plan": {
                "slug": "slug",
                "name": "Summer sale"
            },
            "credits": {
                "available": 1,
                "paid_available": 1
            },
            "usable": false,
            "refusal": "refusal"
        }
    ],
    "next_cursor": "next_cursor",
    "has_more": false
}

Organization

GET /organizations/{id}

  • Operation organizations_get
  • Scope account.read
  • Lowest role viewer
  • Read only
  • MCP organizations_get

One organization of this API key (or this connected app) by id: name, the login's role, the usable scopes, the plan, the credits and whether it can act there right now.

Parameters

  • id path string required — The organization id (uuid, from organizations_list). max length 64
  • organization_id query string — The organization to act in. Required when the key works in several organizations.

Response 200

  • id string required — The organization id (send it as organization_id).
  • name string required
  • role string | null required — The key's login's role there now: owner, admin, member or viewer.
  • scopes array of string required — The scopes this role leaves usable there.
  • plan object | null required
    • slug string required
    • name string required
  • credits object | null required — null when the key cannot act there right now.
    • available integer required — Credits that can be spent now.
    • paid_available integer required — Purchased credits not held: what API spends can use.
  • usable boolean required — A request in this organization would be let in now.
  • refusal string | null required — Why not (the error code a request would get), or null.

Errors: 400 401 403 404 422 429 500 — codes

Example

curl
curl "https://iqcore.ai/api/public/v1/organizations/<id>" \
  -H "Authorization: Bearer $IQCORE_KEY"
JavaScript
const res = await fetch("https://iqcore.ai/api/public/v1/organizations/<id>", {
  headers: { Authorization: `Bearer ${process.env.IQCORE_KEY}` },
});
console.log(res.status, await res.json());
Python
import os
import requests

res = requests.get(
    "https://iqcore.ai/api/public/v1/organizations/<id>",
    headers={"Authorization": f"Bearer {os.environ['IQCORE_KEY']}"},
)
print(res.status_code, res.json())
json
{
    "id": "<id>",
    "name": "Summer sale",
    "role": "role",
    "scopes": [
        "scope"
    ],
    "plan": {
        "slug": "slug",
        "name": "Summer sale"
    },
    "credits": {
        "available": 1,
        "paid_available": 1
    },
    "usable": false,
    "refusal": "refusal"
}

Plan limits

GET /plan/limits

  • Operation plan_limits_status
  • Scope account.read
  • Lowest role viewer
  • Read only
  • MCP plan_limits_status

How much of the plan's limits the account uses now: media storage (MB used and the limit), video seconds this calendar month, contacts, and team seats (members, open invitations, seats, members over the seats work with view-only rights). A limit of null means no limit.

Parameters

  • organization_id query string — The organization to act in. Required when the key works in several organizations.

Response 200

  • plan string | null required — The plan name (null without a plan).
  • storage_mb object required
    • used integer required — Media storage used, MB.
    • limit integer | null required — The storage limit in MB (null = no limit).
  • video_seconds_this_month object required
    • used integer required — Video seconds made this calendar month.
    • limit integer | null required — The monthly video seconds (null = no limit).
  • contacts object required
    • used integer required — Contacts saved.
    • limit integer | null required — The contacts limit (null = no limit).
  • team_seats object required
    • members integer required
    • open_invitations integer required
    • limit integer required — Seats of the plan.
    • over integer required — Members over the seats (they work with view-only rights).

Errors: 400 401 403 404 422 429 500 — codes

Example

curl
curl "https://iqcore.ai/api/public/v1/plan/limits" \
  -H "Authorization: Bearer $IQCORE_KEY"
JavaScript
const res = await fetch("https://iqcore.ai/api/public/v1/plan/limits", {
  headers: { Authorization: `Bearer ${process.env.IQCORE_KEY}` },
});
console.log(res.status, await res.json());
Python
import os
import requests

res = requests.get(
    "https://iqcore.ai/api/public/v1/plan/limits",
    headers={"Authorization": f"Bearer {os.environ['IQCORE_KEY']}"},
)
print(res.status_code, res.json())
json
{
    "plan": "plan",
    "storage_mb": {
        "used": 1,
        "limit": 1
    },
    "video_seconds_this_month": {
        "used": 1,
        "limit": 1
    },
    "contacts": {
        "used": 1,
        "limit": 1
    },
    "team_seats": {
        "members": 1,
        "open_invitations": 1,
        "limit": 1,
        "over": 1
    }
}

Plans

GET /plans

  • Operation plan_list
  • Scope account.read
  • Lowest role viewer
  • Read only
  • MCP plan_list

The subscription plans on sale now with live prices in EUR excluding and including VAT, the yearly price and saving, credits per month, what those credits buy, the plan card lines, IQCore Studio limits, max stores, limits, and which plan the account has now (current).

Parameters

  • organization_id query string — The organization to act in. Required when the key works in several organizations.

Response 200

  • vat_percent number required
  • prices_exclude_vat boolean required
  • plans array of object required — The public plans on sale, in their display order.
    • name string required
    • description string required
    • monthly_price_eur number required — Price per month, EUR excluding VAT.
    • monthly_price_incl_vat_eur number required — Price per month including VAT.
    • yearly_price_eur number | null required — Price per year, EUR excluding VAT (null = monthly only).
    • yearly_price_incl_vat_eur number | null required — Price per year including VAT (null = monthly only).
    • yearly_monthly_eur number | null required — The yearly price spread over 12 months (null = monthly only).
    • yearly_monthly_incl_vat_eur number | null required — The same including VAT (null = monthly only).
    • yearly_saving_percent number | null required — Saving of yearly billing in percent (null = monthly only).
    • included_credits integer required — Credits granted each month.
    • allowance object required — What the monthly credits buy at today's prices (null = not priced).
      • images integer | null required
      • videos integer | null required
      • chat_messages integer | null required
      • social_posts integer | null required
      • image_size string required
      • video_seconds integer required
      • video_resolution string required
    • max_stores integer required
    • feature_labels object | array of any required — The included features: feature key => translated label. max items 0
    • highlights array of string required — The plan card lines.
    • studio object required — What the plan gives in IQCore Studio.
      • included boolean required
      • projects_max integer | null required — null = no limit.
      • export_minutes_month integer | null required — null = no limit.
      • max_resolution integer | null required — Short side in px.
      • resolution_label string | null required
      • forced_watermark boolean required
      • detail string | null required
      • line string required
    • limits object | array of any required — The plan limits: limit key => value. max items 0
    • is_trial boolean required
    • current boolean required — The organization's plan now.
    • current_interval string | null required — The billing interval of the current plan (null on other plans). One of: month, year, null.

Errors: 400 401 403 404 422 429 500 — codes

Example

curl
curl "https://iqcore.ai/api/public/v1/plans" \
  -H "Authorization: Bearer $IQCORE_KEY"
JavaScript
const res = await fetch("https://iqcore.ai/api/public/v1/plans", {
  headers: { Authorization: `Bearer ${process.env.IQCORE_KEY}` },
});
console.log(res.status, await res.json());
Python
import os
import requests

res = requests.get(
    "https://iqcore.ai/api/public/v1/plans",
    headers={"Authorization": f"Bearer {os.environ['IQCORE_KEY']}"},
)
print(res.status_code, res.json())
json
{
    "vat_percent": 1.5,
    "prices_exclude_vat": false,
    "plans": [
        {
            "name": "Summer sale",
            "description": "description",
            "monthly_price_eur": 1.5,
            "monthly_price_incl_vat_eur": 1.5,
            "yearly_price_eur": 1.5,
            "yearly_price_incl_vat_eur": 1.5,
            "yearly_monthly_eur": 1.5,
            "yearly_monthly_incl_vat_eur": 1.5,
            "yearly_saving_percent": 1.5,
            "included_credits": 1,
            "allowance": {
                "images": 1,
                "videos": 1,
                "chat_messages": 1,
                "social_posts": 1,
                "image_size": "image_size",
                "video_seconds": 1,
                "video_resolution": "video_resolution"
            },
            "max_stores": 1,
            "feature_labels": {},
            "highlights": [
                "highlight"
            ],
            "studio": {
                "included": false,
                "projects_max": 1,
                "export_minutes_month": 1,
                "max_resolution": 1,
                "resolution_label": "resolution_label",
                "forced_watermark": false,
                "detail": "detail",
                "line": "line"
            },
            "limits": {},
            "is_trial": false,
            "current": false,
            "current_interval": "month"
        }
    ]
}

Compare plans

GET /plans/compare

  • Operation plan_compare
  • Scope account.read
  • Lowest role viewer
  • Read only

The plan comparison table of the Plan & credits page: the plan names in order (current = the account's plan) and sections of rows (credits, AI agents, create, storage, stores, contacts, team, support) with one value per plan; true / false = included or not.

Parameters

  • organization_id query string — The organization to act in. Required when the key works in several organizations.

Response 200

  • plans array of object required — The plan names in card order; the values of every row follow this order.
    • name string required
    • current boolean required
  • sections array of object required
    • title string required
    • rows array of object required
      • label string required
      • values array of string | boolean required — One value per plan: a text, or true / false = included or not.

Errors: 400 401 403 404 422 429 500 — codes

Example

curl
curl "https://iqcore.ai/api/public/v1/plans/compare" \
  -H "Authorization: Bearer $IQCORE_KEY"
JavaScript
const res = await fetch("https://iqcore.ai/api/public/v1/plans/compare", {
  headers: { Authorization: `Bearer ${process.env.IQCORE_KEY}` },
});
console.log(res.status, await res.json());
Python
import os
import requests

res = requests.get(
    "https://iqcore.ai/api/public/v1/plans/compare",
    headers={"Authorization": f"Bearer {os.environ['IQCORE_KEY']}"},
)
print(res.status_code, res.json())
json
{
    "plans": [
        {
            "name": "Summer sale",
            "current": false
        }
    ],
    "sections": [
        {
            "title": "title",
            "rows": [
                {}
            ]
        }
    ]
}