Base URL https://iqcore.ai/api/public/v1. Every request needs Authorization: Bearer iqk_… (authentication); errors follow one envelope.
My account
GET /account
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_idquery string — The organization to act in. Required when the key works in several organizations.
Response 200
rolestring required — The role of the key's login in this organization. One of:owner,admin,member,viewer.namestring | null required — The name of the key's login.planstring | null required — The plan name (null without a plan).plan_is_trialboolean requiredcan_use_subscribers_only_modelsboolean required — A paid plan or purchased credits unlock the subscribers-only models.purchased_creditsinteger requiredperiod_ends_onstring | null requiredauto_renewboolean | null required — null without a plan.credits_availableinteger requiredcredits_reservedinteger requiredstores_connectedinteger requiredsocial_channels_connectedinteger requiredsocial_channels_needing_reconnectinteger requiredrecent_failuresarray of object required — The last failed generations or posts (at most 5, newest first); a failure charges 0 credits.typestring required — e.g. image, image edit, video generate, social post (instagram).datestring | null required — YYYY-MM-DD HH:MM:SS.reasonstring requiredcredits_chargedinteger required
two_factor_enabledboolean required — Two-step verification of the key's login.
Errors: 400 401 403 404 422 429 500 — codes
Example
curl "https://iqcore.ai/api/public/v1/account" \
-H "Authorization: Bearer $IQCORE_KEY"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());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()){
"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
}Billing page link
GET /billing/link
The link to a tab of Plan & usage: plans (buy a plan or credit packages), usage, invoices or billing details. Returns the page key and its title; can_buy = false when only the account owner may buy.
Parameters
pagequery string — The tab (default plans). One of:plans,usage,invoices,billing_details.organization_idquery string — The organization to act in. Required when the key works in several organizations.
Response 200
pagestring required One of:plans,usage,invoices,billing_details.keystring required — The page key; GET /v1/links/{key} gives its address.titlestring required — The page title.can_buyboolean required — false when only the organization owner may buy.
Errors: 400 401 403 404 422 429 500 — codes
Example
curl "https://iqcore.ai/api/public/v1/billing/link" \
-H "Authorization: Bearer $IQCORE_KEY"const res = await fetch("https://iqcore.ai/api/public/v1/billing/link", {
headers: { Authorization: `Bearer ${process.env.IQCORE_KEY}` },
});
console.log(res.status, await res.json());import os
import requests
res = requests.get(
"https://iqcore.ai/api/public/v1/billing/link",
headers={"Authorization": f"Bearer {os.environ['IQCORE_KEY']}"},
)
print(res.status_code, res.json()){
"page": "plans",
"key": "key",
"title": "title",
"can_buy": false
}The calling API key
GET /me
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_idquery string — An organization id (uuid) of this key.
Response 200
objectstring required One of:api_key.idstring requirednamestring requiredmodestring required One of:live,test.livemodeboolean requiredprefixstring requiredlast4string requiredscopesarray of string requiredapproval_modestring required One of:dashboard,api.expires_atstring | null requiredcreated_atstring | null requiredorganizationobject | null requiredorganizationsarray of object requiredobjectstring required One of:organization.idstring requirednamestring requiredrolestring | null required One of:owner,admin,member,viewer,null.scopesarray of string requiredusableboolean requiredrefusalstring | 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 "https://iqcore.ai/api/public/v1/me" \
-H "Authorization: Bearer $IQCORE_KEY"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());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()){
"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
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_idquery string — The organization to act in. Required when the key works in several organizations.
Response 200
dataarray of object requiredidstring required — The organization id (send it as organization_id).namestring requiredrolestring | null required — The key's login's role there now: owner, admin, member or viewer.scopesarray of string required — The scopes this role leaves usable there.planobject | null requiredslugstring requirednamestring required
creditsobject | null required — null when the key cannot act there right now.availableinteger required — Credits that can be spent now.paid_availableinteger required — Purchased credits not held: what API spends can use.
usableboolean required — A request in this organization would be let in now.refusalstring | null required — Why not (the error code a request would get), or null.
next_cursornull required — Always null: every organization is in one page.has_moreboolean required
Errors: 400 401 403 404 422 429 500 — codes
Example
curl "https://iqcore.ai/api/public/v1/organizations" \
-H "Authorization: Bearer $IQCORE_KEY"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());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()){
"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}
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
idpath string required — The organization id (uuid, from organizations_list). max length 64organization_idquery string — The organization to act in. Required when the key works in several organizations.
Response 200
idstring required — The organization id (send it as organization_id).namestring requiredrolestring | null required — The key's login's role there now: owner, admin, member or viewer.scopesarray of string required — The scopes this role leaves usable there.planobject | null requiredslugstring requirednamestring required
creditsobject | null required — null when the key cannot act there right now.availableinteger required — Credits that can be spent now.paid_availableinteger required — Purchased credits not held: what API spends can use.
usableboolean required — A request in this organization would be let in now.refusalstring | null required — Why not (the error code a request would get), or null.
Errors: 400 401 403 404 422 429 500 — codes
Example
curl "https://iqcore.ai/api/public/v1/organizations/<id>" \
-H "Authorization: Bearer $IQCORE_KEY"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());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()){
"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
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_idquery string — The organization to act in. Required when the key works in several organizations.
Response 200
planstring | null required — The plan name (null without a plan).storage_mbobject requiredusedinteger required — Media storage used, MB.limitinteger | null required — The storage limit in MB (null = no limit).
video_seconds_this_monthobject requiredusedinteger required — Video seconds made this calendar month.limitinteger | null required — The monthly video seconds (null = no limit).
contactsobject requiredusedinteger required — Contacts saved.limitinteger | null required — The contacts limit (null = no limit).
team_seatsobject requiredmembersinteger requiredopen_invitationsinteger requiredlimitinteger required — Seats of the plan.overinteger required — Members over the seats (they work with view-only rights).
Errors: 400 401 403 404 422 429 500 — codes
Example
curl "https://iqcore.ai/api/public/v1/plan/limits" \
-H "Authorization: Bearer $IQCORE_KEY"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());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()){
"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
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_idquery string — The organization to act in. Required when the key works in several organizations.
Response 200
vat_percentnumber requiredprices_exclude_vatboolean requiredplansarray of object required — The public plans on sale, in their display order.namestring requireddescriptionstring requiredmonthly_price_eurnumber required — Price per month, EUR excluding VAT.monthly_price_incl_vat_eurnumber required — Price per month including VAT.yearly_price_eurnumber | null required — Price per year, EUR excluding VAT (null = monthly only).yearly_price_incl_vat_eurnumber | null required — Price per year including VAT (null = monthly only).yearly_monthly_eurnumber | null required — The yearly price spread over 12 months (null = monthly only).yearly_monthly_incl_vat_eurnumber | null required — The same including VAT (null = monthly only).yearly_saving_percentnumber | null required — Saving of yearly billing in percent (null = monthly only).included_creditsinteger required — Credits granted each month.allowanceobject required — What the monthly credits buy at today's prices (null = not priced).imagesinteger | null requiredvideosinteger | null requiredchat_messagesinteger | null requiredsocial_postsinteger | null requiredimage_sizestring requiredvideo_secondsinteger requiredvideo_resolutionstring required
max_storesinteger requiredfeature_labelsobject | array of any required — The included features: feature key => translated label. max items 0highlightsarray of string required — The plan card lines.studioobject required — What the plan gives in IQCore Studio.includedboolean requiredprojects_maxinteger | null required — null = no limit.export_minutes_monthinteger | null required — null = no limit.max_resolutioninteger | null required — Short side in px.resolution_labelstring | null requiredforced_watermarkboolean requireddetailstring | null requiredlinestring required
limitsobject | array of any required — The plan limits: limit key => value. max items 0is_trialboolean requiredcurrentboolean required — The organization's plan now.current_intervalstring | 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 "https://iqcore.ai/api/public/v1/plans" \
-H "Authorization: Bearer $IQCORE_KEY"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());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()){
"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
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_idquery string — The organization to act in. Required when the key works in several organizations.
Response 200
plansarray of object required — The plan names in card order; the values of every row follow this order.namestring requiredcurrentboolean required
sectionsarray of object requiredtitlestring requiredrowsarray of object requiredlabelstring requiredvaluesarray 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 "https://iqcore.ai/api/public/v1/plans/compare" \
-H "Authorization: Bearer $IQCORE_KEY"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());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()){
"plans": [
{
"name": "Summer sale",
"current": false
}
],
"sections": [
{
"title": "title",
"rows": [
{}
]
}
]
}