Base URL https://iqcore.ai/api/public/v1. Every request needs Authorization: Bearer iqk_… (authentication); errors follow one envelope.
Search contacts
GET /contacts
Find the account's contacts, newest first: id, name, source, channels with opt-in, tags, last activity. The text matches name, e-mail or phone; filter by tag name or channel. E-mail and phone are shown only when the text is exactly that address or number; contact_get gives the full card.
Parameters
qquery string — Name, e-mail or phone (or a part of it). max length 100tagquery string — Only contacts with this tag name. max length 60channelquery string — Only contacts reachable on this channel. One of:email,sms,whatsapp,telegram,instagram,messenger,facebook,tiktok.limitquery integer — At most this many contacts (default 10). min 1 · max 20organization_idquery string — The organization to act in. Required when the key works in several organizations.
Response 200
contactsarray of object required max items 20idstring required — The contact id.namestringemailstring — Only when q is exactly this contact's e-mail address or phone number.phonestring — Only when q is exactly this contact's e-mail address or phone number.has_emailboolean requiredhas_phoneboolean requiredsourcestring — Where the contact came from.consentboolean required — Consent is recorded.channelsarray of object required — The channels with the contact's opt-in state.channelstring required One of:email,sms,whatsapp,telegram,instagram,messenger,facebook,tiktok.opt_instring required — opted_in, opted_out, marketing_stopped or unknown.
tagsarray of string required — Tag names.last_interaction_atstringcreated_atstring
Errors: 400 401 403 404 422 429 500 — codes
Example
curl "https://iqcore.ai/api/public/v1/contacts" \
-H "Authorization: Bearer $IQCORE_KEY"const res = await fetch("https://iqcore.ai/api/public/v1/contacts", {
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/contacts",
headers={"Authorization": f"Bearer {os.environ['IQCORE_KEY']}"},
)
print(res.status_code, res.json()){
"contacts": [
{
"id": "<id>",
"name": "Summer sale",
"email": "email",
"phone": "phone",
"has_email": false,
"has_phone": false,
"source": "source",
"consent": false,
"channels": [
{}
],
"tags": [
"tag"
],
"last_interaction_at": "2026-12-05T09:00:00Z",
"created_at": "2026-12-05T09:00:00Z"
}
]
}Contacts summary
GET /contacts/summary
Counts of the account's contacts: total, the plan limit (null = unlimited) and how many can still be added, with consent, from ads, per channel (contacts, opted in, opted out) and the number of tags. No names or addresses.
Parameters
organization_idquery string — The organization to act in. Required when the key works in several organizations.
Response 200
totalinteger required min 0limitinteger | null required — The plan's contact limit (null = unlimited).remaininginteger | null required — Contacts that can still be added (null = unlimited). min 0consentedinteger required — Contacts with recorded consent. min 0from_adsinteger required — Contacts that came from an ad. min 0channelsarray of object requiredchannelstring requiredcontactsinteger required min 0opted_ininteger required min 0opted_outinteger required min 0
tagsinteger required — Number of contact tags. min 0
Errors: 400 401 403 404 422 429 500 — codes
Example
curl "https://iqcore.ai/api/public/v1/contacts/summary" \
-H "Authorization: Bearer $IQCORE_KEY"const res = await fetch("https://iqcore.ai/api/public/v1/contacts/summary", {
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/contacts/summary",
headers={"Authorization": f"Bearer {os.environ['IQCORE_KEY']}"},
)
print(res.status_code, res.json()){
"total": 1,
"limit": 1,
"remaining": 1,
"consented": 1,
"from_ads": 1,
"channels": [
{
"channel": "channel",
"contacts": 1,
"opted_in": 1,
"opted_out": 1
}
],
"tags": 1
}Contact tags
GET /contacts/tags
The account's contact tags, by name: id, name, colour and how many contacts carry each tag. Use a tag name to filter contacts_search.
Parameters
organization_idquery string — The organization to act in. Required when the key works in several organizations.
Response 200
tagsarray of object required max items 100idstring required — The tag id.namestring requiredcolorstring required One of:slate,sky,violet,rose,amber,emerald,orange,pink,teal.contactsinteger required — Contacts with this tag. min 0
Errors: 400 401 403 404 422 429 500 — codes
Example
curl "https://iqcore.ai/api/public/v1/contacts/tags" \
-H "Authorization: Bearer $IQCORE_KEY"const res = await fetch("https://iqcore.ai/api/public/v1/contacts/tags", {
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/contacts/tags",
headers={"Authorization": f"Bearer {os.environ['IQCORE_KEY']}"},
)
print(res.status_code, res.json()){
"tags": [
{
"id": "<id>",
"name": "Summer sale",
"color": "slate",
"contacts": 1
}
]
}Contact
GET /contacts/{id}
One contact of the account by its id (from contacts_search): name, e-mail, phone, gender, source, consent, channels with opt-in, tags, the ad it came from, last activity and the team notes (shortened).
Parameters
idpath string required — The contact id (uuid). max length 64organization_idquery string — The organization to act in. Required when the key works in several organizations.
Response 200
idstring required — The contact id.namestringemailstringphonestringgenderstringsourcestring — Where the contact came from.consent_atstring — When consent was recorded.consent_sourcestringchannelsarray of object required — The channels with the contact's opt-in state.channelstring required One of:email,sms,whatsapp,telegram,instagram,messenger,facebook,tiktok.opt_instring required — opted_in, opted_out, marketing_stopped or unknown.
tagsarray of string required — Tag names.adobject — The first ad the contact came from.headlinestring required max length 120atstring required
notesstring — The team's notes (shortened; text people typed). max length 500last_interaction_atstringcreated_atstring
Errors: 400 401 403 404 422 429 500 — codes
Example
curl "https://iqcore.ai/api/public/v1/contacts/<id>" \
-H "Authorization: Bearer $IQCORE_KEY"const res = await fetch("https://iqcore.ai/api/public/v1/contacts/<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/contacts/<id>",
headers={"Authorization": f"Bearer {os.environ['IQCORE_KEY']}"},
)
print(res.status_code, res.json()){
"id": "<id>",
"name": "Summer sale",
"email": "email",
"phone": "phone",
"gender": "gender",
"source": "source",
"consent_at": "2026-12-05T09:00:00Z",
"consent_source": "consent_source",
"channels": [
{
"channel": "email",
"opt_in": "opt_in"
}
],
"tags": [
"tag"
],
"ad": {
"headline": "headline",
"at": "at"
},
"notes": "notes",
"last_interaction_at": "2026-12-05T09:00:00Z",
"created_at": "2026-12-05T09:00:00Z"
}