InboxItSign in
  • Start here
  • Keys
  • Limits and credits
  • Endpoints
  • Tools
  • Errors
  • Webhooks
  • AI agents

InboxIt API

Call InboxIt from your own code or your AI agent. Every call uses one API key and runs on InboxIt's own engines.

Start here

  1. Ask InboxIt for an API key. InboxIt staff make each key for your workspace.
  2. Keep the key secret. Put it in an environment variable named INBOXIT_API_KEY.
  3. Make your first call:
    curl -s -H "Authorization: Bearer $INBOXIT_API_KEY" -H "Content-Type: application/json" -d '{"email":"jane@example.com"}' https://app.inboxit.io/api/v1/email/verify
  4. See your calls and credits for today and this month: GET /api/v1/usage.

Keys

A key belongs to one workspace. Send it on every API call as Authorization: Bearer <key>. llms.txt and openapi.json need no key.

A read-only key can call every endpoint that reads. A read-write key can also change data. An endpoint that changes data says "Needs a read-write key."

Each key has an end date: 30, 90, 180, 365 days. After that date, every call answers key_expired. Ask InboxIt for an API key when yours stops working.

Limits and credits

By default, a key can make 60 calls a minute and 1,000 calls a day (UTC). GET /api/v1/catalog shows the limits of your key. Over a limit, the answer is 429 with a Retry-After header in seconds.

A call that works costs the credits below. A call that fails costs 0 credits.

EndpointCredits
Check one email address /api/v1/email/verify1 credit
Find a person's work email /api/v1/email/find5 credits
Look up a company by its domain /api/v1/company/lookup3 credits
Search businesses by type and place /api/v1/companies/search2 credits
Search open job postings by role, place or company /api/v1/jobs/search2 credits
Keep your do-not-contact list in sync /api/v1/exclusions/syncFree
List the tools this key can call /api/v1/toolsFree
List every endpoint /api/v1/catalogFree
This key's usage /api/v1/usageFree
Call one tool /api/v1/tools/{name}1 credit
Every campaign with its status and its numbers: emails sent, opens, replies, bounces, open rate and reply rate, the lead list it sends to, and when the numbers were last updated (they refresh about once an hour, so check lastSyncedAt). /api/v1/tools/campaign_status1 credit
Your email campaigns, most recently changed first: name, state, how many leads, which lead list, and the campaign id. Optional filter by state. At most 100 are shown. /api/v1/tools/list_campaign_drafts1 credit
Your lead lists with their counts: leads in the list, qualified, waiting for an email, waiting for a check, ready to send (verified email), ready and not yet in a campaign, and ready for LinkedIn. /api/v1/tools/list_lead_lists1 credit
Replies that came back, newest first, on email and LinkedIn: who wrote, their company and title, which campaign, the reply category, a short preview, and whether someone has dealt with it. Filter by channel, category, dealt-with state or a text search; page with limit and offset. Replies refresh about once an hour. /api/v1/tools/list_replies1 credit
Look up one lead by email address or by lead id: its id, name, job title, company, email, phone, website, the result of the email check, its status, and its campaign and list. found is false when there is no such lead in your account. /api/v1/tools/get_lead1 credit
Create a new, empty lead list with a name and a sentence about who belongs in it. This does not search for anyone and spends nothing: the search is started later on the Find leads page. It answers the new list id. /api/v1/tools/create_lead_list1 credit
Save up to 100 people on the Added by hand page. This only saves them: it sends nothing. An invalid email address refuses the whole call and saves nobody. The answer says how many were added and how many were already there. blocked lists who was left out: blockedBy email, domain or company means the do-not-contact list matched; blockedBy error means the check could not run, so send that person again with a new Idempotency-Key. /api/v1/tools/add_hand_added_leads1 credit
Set the status of up to 50 leads by lead id: new, qualified (shown as Good fit) or disqualified. This only changes the label on the lead: it sends nothing. get_lead gives a lead id from an email address. The answer says how many changed and lists the ids not found in your account. /api/v1/tools/set_lead_status1 credit

Headers on each answer

FieldAbout
X-Request-Id The id of this call, the same as request_id in an error. Give it to InboxIt when you ask about a call.
X-RateLimit-Limit The calls this key may make in one minute. Left out when the call was refused before it was counted.
X-RateLimit-Remaining The calls left in this minute. Left out when the call was refused before it was counted.
X-RateLimit-Reset The seconds until this minute ends. Left out when the call was refused before it was counted.
X-RateLimit-Limit-Day The calls this key may make in one UTC day. Left out when the call was refused before it was counted.
X-RateLimit-Remaining-Day The calls left in this UTC day. Left out when the call was refused before it was counted.

Endpoints

POST/api/v1/email/verify1 credit

Check one email address

Runs the InboxIt email verifier on one address (syntax, mail server, and a live mailbox check where the mail server allows it). verdict is valid, invalid (no such mailbox, or the mailbox is disabled or full), risky (catch-all domain) or unknown (the mail server did not give a clear answer; try again later). Costs 1 credit(s) when it succeeds.

Body fields

FieldAbout
email requiredstring. The address to check.

Answer fields

FieldAbout
email alwaysstring. The address as checked, lower case.
verdict alwaysstring: valid, invalid, risky, unknown.
reason string or null. Short machine-readable cause when there is one (for example mailbox_disabled_or_over_quota).
smtp_checked alwaysboolean. True when the mailbox itself was asked, not only the domain.
checked_at string or null. When the verifier last checked this address (ISO 8601, UTC).
cached boolean. True when the answer came from the verifier's cache.
curl -s -H "Authorization: Bearer $INBOXIT_API_KEY" -H "Content-Type: application/json" -d '{"email":"jane@example.com"}' https://app.inboxit.io/api/v1/email/verify
POST/api/v1/email/find5 credits

Find a person's work email

Builds the likely addresses for a name at a domain and checks them in likelihood order. status is found only when the mailbox was confirmed. A pattern guess that was not confirmed comes back as status guess with a risky verdict and is never presented as verified. This call can take up to a minute. Costs 5 credit(s) when it succeeds.

Body fields

FieldAbout
first_name requiredstring. Given name.
last_name requiredstring. Family name.
domain requiredstring. Company domain, for example example.com. A full web address is accepted.

Answer fields

FieldAbout
status alwaysstring: found, guess, not_found, busy. found = confirmed mailbox. guess = best pattern, NOT confirmed. not_found = nothing usable. busy = the checker was throttled; retry later.
email alwaysstring or null. The address, or null.
verified alwaysboolean. True only when status is found.
verdict string or null: valid, invalid, risky, unknown.
patterns_tried integer.
retry_in_seconds integer or null. Set when status is busy.
curl -s -H "Authorization: Bearer $INBOXIT_API_KEY" -H "Content-Type: application/json" -d '{"first_name":"Jane","last_name":"Doe","domain":"example.com"}' https://app.inboxit.io/api/v1/email/find
POST/api/v1/company/lookup3 credits

Look up a company by its domain

Reads the company's own public website with our crawler: name, phones, emails printed on the site, social links, technologies and whether it is hiring. Only what the site itself shows. Fields the site does not show come back empty. This call can take up to a minute. Costs 3 credit(s) when it succeeds.

Body fields

FieldAbout
domain requiredstring. Company domain, for example example.com. A full web address is accepted.

Answer fields

FieldAbout
domain alwaysstring. The domain as looked up.
found alwaysboolean. False when the site gave us nothing.
site_status string or null. How the site read went: found, not_found, blocked (the site refuses robots) or unreachable.
name string or null. Company name.
description string or null. What the site says the company does.
phones list of string.
emails list of string. Addresses printed on the site. Not verified.
socials list of string. Social profile links.
technologies list of string.
is_hiring boolean or null.
headcount_estimate integer or null.
curl -s -H "Authorization: Bearer $INBOXIT_API_KEY" -H "Content-Type: application/json" -d '{"domain":"example.com"}' https://app.inboxit.io/api/v1/company/lookup
GET/api/v1/companies/search2 credits

Search businesses by type and place

Searches the public business directory. category is plain words (dental clinic, plumber). Give at least one of state, city or zip. limit is at most 100. Pass next_cursor back as cursor for the next page. Credits are charged per call, not per row. Costs 2 credit(s) when it succeeds.

Query fields

FieldAbout
category requiredstring. Business type in plain words.
state string. Two-letter US state code.
city string. City name.
zip string. Five-digit US ZIP code.
limit integer.
cursor string. The next_cursor of the previous page.

Answer fields

FieldAbout
companies alwayslist of object.
next_cursor alwaysstring or null. Pass as cursor for the next page, or null at the end.
category_ids list of string. The directory categories the words matched.
curl -s -H "Authorization: Bearer $INBOXIT_API_KEY" "https://app.inboxit.io/api/v1/companies/search?category=dental+clinic&state=TX"
GET/api/v1/jobs/search2 credits

Search open job postings by role, place or company

Searches our jobs index: postings read from public job boards, each kept as a record with first_seen, last_seen and closed_at. q matches the title or department, location and company match as substrings, since_days limits to recently posted roles (falling back to when we first saw a posting that publishes no date). Only open roles unless include_closed=true. total is the number of matches ignoring the page, so paging is safe. Credits are charged per call, not per row. Costs 2 credit(s) when it succeeds.

Query fields

FieldAbout
q string. Words in the role title or department.
location string. Place text, e.g. "Austin" or "Remote".
company string. Company name text.
since_days integer. Only postings from the last N days.
include_closed boolean. Include roles that are no longer open.
limit integer.
offset integer.

Answer fields

FieldAbout
roles alwayslist of object.
total alwaysinteger. Matches ignoring limit/offset.
limit alwaysinteger.
offset alwaysinteger.
closed_included alwaysboolean.
curl -s -H "Authorization: Bearer $INBOXIT_API_KEY" "https://app.inboxit.io/api/v1/jobs/search?q=sales+manager"
POST/api/v1/exclusions/syncFree

Keep your do-not-contact list in sync

Send your do-not-contact list once a day. New addresses and domains are added to your list, and anyone they cover in a running campaign is stopped there. It only adds: an address you take off your own list stays on InboxIt until someone deletes it on the Exclusions page. An email blocks that one address. A domain blocks the whole company. A public mailbox domain such as gmail.com is never stored as a domain, and is listed in public_domains_dropped. A bad row does not refuse the list: good rows are saved, and bad rows are counted in invalid. At most 5000 entries a call. Sending the same list again changes nothing. Free. Needs a read-write key.

Body fields

FieldAbout
emails list of string. Addresses to block, one person each.
domains list of string. Company domains to block. A full web address is accepted.
reason string. Why they are on the list, shown on the Exclusions page. Default: do_not_contact.

Answer fields

FieldAbout
received alwaysinteger. Entries in this call.
added alwaysinteger. New entries saved.
skipped alwaysinteger. Already on the list, or repeated in this call.
invalid alwaysobject. Entries that are not an address or a domain. They were not saved.
public_domains_dropped alwayslist of string. Public mailbox domains that were not stored. To block a person on one, send their email.
running_campaigns alwaysobject or null. null when nothing new was added. Otherwise what happened to the people these entries cover in running campaigns.
curl -s -H "Authorization: Bearer $INBOXIT_API_KEY" -H "Content-Type: application/json" -d '{"emails":["jane@example.com"]}' https://app.inboxit.io/api/v1/exclusions/sync
GET/api/v1/toolsFree

List the tools this key can call

The InboxIt tools this key can call, each with its price in credits, what it does, and its input schema. The same tools power the InboxIt assistant inside the app. A tool whose feature is switched off for your account is not listed, and neither is a tool this key has no access to. A tool InboxIt has stopped for now stays on the list with stopped: true. Needs API access switched on for your account by InboxIt; while it is off, every tool endpoint answers 403 api_off. Free.

Answer fields

FieldAbout
tools alwayslist of object.
curl -s -H "Authorization: Bearer $INBOXIT_API_KEY" https://app.inboxit.io/api/v1/tools
GET/api/v1/catalogFree

List every endpoint

Every endpoint with its credit cost, this key's limits, and its input and output schema. Free.

Answer fields

FieldAbout
endpoints list of object.
limits object.
curl -s -H "Authorization: Bearer $INBOXIT_API_KEY" https://app.inboxit.io/api/v1/catalog
GET/api/v1/usageFree

This key's usage

Calls, credits and errors for this key and for its whole workspace, today and this month (UTC days), by endpoint. Free.

Answer fields

FieldAbout
key object.
workspace object.
limits object.
curl -s -H "Authorization: Bearer $INBOXIT_API_KEY" https://app.inboxit.io/api/v1/usage

Tools

Tools read and change your campaigns, leads and replies. GET /api/v1/tools lists the tools your key can call.

POST/api/v1/tools/{name}1 credit

Call one tool

Runs one tool from GET /api/v1/tools with the JSON body as its input (send {} for a tool with no input). The answer is { "tool": name, "data": ... }. The price of each tool is in the list; a call that fails or is refused costs 0. A tool whose feature is switched off for your account answers 423 feature_off, and a tool InboxIt has stopped answers 423 tool_stopped. Needs API access switched on (403 api_off while off). A tool this key has no access to answers 403 insufficient_scope: the key needs the tool's group, and a read-write key for a tool that changes data. An answer with "partial": true could be read only in part (partial_reason says so) and costs 0. A tool with idempotency_key_required needs an Idempotency-Key header: a value you make, one per change. For 24 hours, a retry with the same value and body gets the first answer with the header Idempotency-Replayed: true. It does not run again and costs 0. A 500 from such a tool means it may have done part of its work: check the result, then use a new value. A paid tool reserves its credits against the key's daily credit cap before it runs: 402 spend_cap means nothing ran. A paid tool that fails keeps its reservation for that day. A tool with a plan step answers an approval with a confirmation. Send that back as "confirmation" on the tool that makes the change: without a valid one, that tool answers 428 confirmation_required. Costs 1 credit(s) when it succeeds.

Answer fields

FieldAbout
tool alwaysstring. The tool that ran.
data alwaysobject. The tool's answer.
partial boolean. Present and true only when part of the answer could not be read. Such a call costs 0.
partial_reason string. Why the answer is partial, in plain words. Present only with partial.
approval object. Present only on a tool with a plan step: summary, facts and expires_at, and confirmation to send to the tool that makes the change, or blocked and blocked_reason when that change cannot go ahead now.
curl -s -H "Authorization: Bearer $INBOXIT_API_KEY" -H "Content-Type: application/json" -d '{}' https://app.inboxit.io/api/v1/tools/campaign_status
POST/api/v1/tools/campaign_status1 credit

Every campaign with its status and its numbers: emails sent, opens, replies, bounces, open rate and reply rate, the lead list it sends to, and when the numbers were last updated (they refresh about once an hour, so check lastSyncedAt).

Costs 1 credit(s) when it succeeds. The key needs the read group.

Answer fields

FieldAbout
tool alwaysstring.
data alwaysobject.
partial boolean.
partial_reason string.
curl -s -H "Authorization: Bearer $INBOXIT_API_KEY" -H "Content-Type: application/json" -d '{}' https://app.inboxit.io/api/v1/tools/campaign_status
POST/api/v1/tools/list_campaign_drafts1 credit

Your email campaigns, most recently changed first: name, state, how many leads, which lead list, and the campaign id. Optional filter by state. At most 100 are shown.

Costs 1 credit(s) when it succeeds. The key needs the read group.

Body fields

FieldAbout
status string: draft, launching, failed, active, paused, completed. Only campaigns in this state. active and completed both mean launched.

Answer fields

FieldAbout
tool alwaysstring.
data alwaysobject.
curl -s -H "Authorization: Bearer $INBOXIT_API_KEY" -H "Content-Type: application/json" -d '{}' https://app.inboxit.io/api/v1/tools/list_campaign_drafts
POST/api/v1/tools/list_lead_lists1 credit

Your lead lists with their counts: leads in the list, qualified, waiting for an email, waiting for a check, ready to send (verified email), ready and not yet in a campaign, and ready for LinkedIn.

Costs 1 credit(s) when it succeeds. The key needs the read group.

Answer fields

FieldAbout
tool alwaysstring.
data alwaysobject.
curl -s -H "Authorization: Bearer $INBOXIT_API_KEY" -H "Content-Type: application/json" -d '{}' https://app.inboxit.io/api/v1/tools/list_lead_lists
POST/api/v1/tools/list_replies1 credit

Replies that came back, newest first, on email and LinkedIn: who wrote, their company and title, which campaign, the reply category, a short preview, and whether someone has dealt with it. Filter by channel, category, dealt-with state or a text search; page with limit and offset. Replies refresh about once an hour.

Costs 1 credit(s) when it succeeds. The key needs the read group.

Body fields

FieldAbout
channel string: email, linkedin. Only this channel. Leave it out for both.
category string: INTERESTED, MEETING_BOOKED, MEETING_COMPLETED, WON, NO_SHOW, OOO, WRONG_PERSON, NOT_INTERESTED, LOST, UNCLASSIFIED. Only replies with this category.
actioned boolean. false: only replies nobody has dealt with yet. true: only the ones dealt with.
search string. Matches the lead name, the company or the reply preview.
limit integer. How many to return, 1 to 100. Default 25.
offset integer. Skip this many, to page through the replies.

Answer fields

FieldAbout
tool alwaysstring.
data alwaysobject.
curl -s -H "Authorization: Bearer $INBOXIT_API_KEY" -H "Content-Type: application/json" -d '{"category":"INTERESTED"}' https://app.inboxit.io/api/v1/tools/list_replies
POST/api/v1/tools/get_lead1 credit

Look up one lead by email address or by lead id: its id, name, job title, company, email, phone, website, the result of the email check, its status, and its campaign and list. found is false when there is no such lead in your account.

Costs 1 credit(s) when it succeeds. The key needs the read group.

Body fields

FieldAbout
email string. The lead's email address.
leadId string. The lead id, if you have it. Send email or leadId.

Answer fields

FieldAbout
tool alwaysstring.
data alwaysobject.
curl -s -H "Authorization: Bearer $INBOXIT_API_KEY" -H "Content-Type: application/json" -d '{"email":"jane@example.com"}' https://app.inboxit.io/api/v1/tools/get_lead
POST/api/v1/tools/create_lead_list1 credit

Create a new, empty lead list with a name and a sentence about who belongs in it. This does not search for anyone and spends nothing: the search is started later on the Find leads page. It answers the new list id.

Costs 1 credit(s) when it succeeds. The key needs the leads group. Needs a read-write key. Send an Idempotency-Key header: a value you make, one per change.

Send an Idempotency-Key header with a new value for each change.

Body fields

FieldAbout
name requiredstring. The list name, up to 120 characters.
searchQuery requiredstring. Who belongs in the list, in one sentence. 5 to 500 characters.
location string. A two-letter country code, like US. Optional.
target integer. How many leads you want, 1 to 2500. Default 1000.

Answer fields

FieldAbout
tool alwaysstring.
data alwaysobject.
curl -s -H "Authorization: Bearer $INBOXIT_API_KEY" -H "Idempotency-Key: $(uuidgen)" -H "Content-Type: application/json" -d '{"name":"example","searchQuery":"example"}' https://app.inboxit.io/api/v1/tools/create_lead_list
POST/api/v1/tools/add_hand_added_leads1 credit

Save up to 100 people on the Added by hand page. This only saves them: it sends nothing. An invalid email address refuses the whole call and saves nobody. The answer says how many were added and how many were already there. blocked lists who was left out: blockedBy email, domain or company means the do-not-contact list matched; blockedBy error means the check could not run, so send that person again with a new Idempotency-Key.

Costs 1 credit(s) when it succeeds. The key needs the leads group. Needs a read-write key. Send an Idempotency-Key header: a value you make, one per change.

Send an Idempotency-Key header with a new value for each change.

Body fields

FieldAbout
people requiredlist of object. The people to add, 1 to 100. Each needs email; firstName, lastName, company, jobTitle, phone and website are optional.

Answer fields

FieldAbout
tool alwaysstring.
data alwaysobject.
curl -s -H "Authorization: Bearer $INBOXIT_API_KEY" -H "Idempotency-Key: $(uuidgen)" -H "Content-Type: application/json" -d '{"people":[]}' https://app.inboxit.io/api/v1/tools/add_hand_added_leads
POST/api/v1/tools/set_lead_status1 credit

Set the status of up to 50 leads by lead id: new, qualified (shown as Good fit) or disqualified. This only changes the label on the lead: it sends nothing. get_lead gives a lead id from an email address. The answer says how many changed and lists the ids not found in your account.

Costs 1 credit(s) when it succeeds. The key needs the leads group. Needs a read-write key. Send an Idempotency-Key header: a value you make, one per change.

Send an Idempotency-Key header with a new value for each change.

Body fields

FieldAbout
leadIds requiredlist of string. The lead ids to change, 1 to 50.
status requiredstring: new, qualified, disqualified. The new status.

Answer fields

FieldAbout
tool alwaysstring.
data alwaysobject.
curl -s -H "Authorization: Bearer $INBOXIT_API_KEY" -H "Idempotency-Key: $(uuidgen)" -H "Content-Type: application/json" -d '{"leadIds":[],"status":"new"}' https://app.inboxit.io/api/v1/tools/set_lead_status

Errors

Every error has the same shape:

{"error":{"code":"invalid_input","message":"email is required.","request_id":"req_..."}}
CodeWhat it meansWhat to do
missing_keyThe call had no API key.Send the header Authorization: Bearer <your key>.
invalid_keyInboxIt does not know this key.Check that you copied the whole key. Ask InboxIt for a new key if it is lost.
revoked_keyThis key was turned off.Ask InboxIt for a new key.
key_expiredThis key passed its end date.Ask InboxIt for a new key.
insufficient_scopeThis key cannot call this endpoint.Ask InboxIt for a key with the access this call needs.
ip_not_allowedThis key does not work from your address.Ask InboxIt to add your address to the key.
api_offAPI access is off for your account.Ask InboxIt to turn API access on.
feature_offThis feature is off for your account.Ask InboxIt to turn the feature on.
tool_stoppedInboxIt stopped this tool for now.Try again later. Ask InboxIt if it stays stopped.
spend_capThe key reached its daily credit cap. Nothing ran.Wait for the next UTC day, or ask InboxIt for a higher cap.
idempotency_key_requiredA call that changes data needs an Idempotency-Key header.Send a new Idempotency-Key value for each change.
idempotency_in_progressA call with this Idempotency-Key is still running.Wait the seconds in Retry-After. Then send the same call again.
idempotency_mismatchThis Idempotency-Key was used for a different call.Use a new Idempotency-Key value for this call.
confirmation_requiredThis tool needs a confirmation before it runs.Call its plan tool first. Then send the confirmation it gives you.
rate_limitedToo many calls from this key, or too many unknown keys from your address.Wait the seconds in Retry-After. Then try again.
invalid_jsonThe body could not be read, or it is not a JSON object.Fix the body. Do not send it again as it is.
invalid_inputA field is missing or wrong. The message names it.Fix that field. Do not send it again as it is.
not_foundNothing is at this path, or no item has that name.Check the path and the name against this page.
engine_unavailableThe engine behind this call is not answering.Try again in a few minutes.
engine_busyThe engine behind this call is busy.Wait a short time. Then try again.
engine_timeoutThe engine took too long to answer.Try again later. Use a timeout of 90 seconds or more.
api_unavailableThe API is not available now.Wait the seconds in Retry-After. Then try again.
internal_errorSomething failed on our side.Try again later. If it fails again, tell InboxIt the time of the call.

Webhooks

InboxIt sends a signed POST to a link saved on your key when one of these happens.

reply.received

Reply received. A lead answered an email. Sent one time for each reply, the first time one of these is true: it gets the category Interested, Meeting booked, Not interested or Out of office; it needs a person; it asks to stop. No category, or the category Wrong person, Meeting done, Won, No show or Lost, does not send it by itself. InboxIt staff add a webhook to an API key: an https link and the events it hears. The signing secret shows one time. A webhook sends only while API access and Notifications are both On for your account, and only on a key with the Read group. What happens while either switch is Off is not sent later. Each POST is signed: the InboxIt-Signature header holds t=<unix seconds> and v1=<hex HMAC-SHA256 of "<t>.<raw body>", made with the signing secret>. Check it before you trust the body. Answer 2XX within 8 seconds. An answer of 408, 429 or 5XX, or no answer, is tried again after 1, 5, 15 and 60 minutes. The 5th try is the last. Any other answer ends it at once. A POST can come more than one time. The body id and the InboxIt-Event-Id header are the same on each try: drop a repeat by that id.

Fields in data

FieldAbout
replyId requiredThe reply. The same id as in list_replies.
channel requiredAlways email.
lead requiredThe address of the person who wrote.
leadName requiredTheir name, or null.
leadCompany requiredTheir company, or null.
leadTitle requiredTheir job title, or null.
subject requiredThe subject, or null.
preview requiredThe start of the message, or null. Read the full message in the app.
campaign requiredThe campaign name, or null.
category requiredThe category of the reply, or null.
receivedAt requiredWhen the reply came in.

campaign.launched

Campaign launched. A campaign started to send. InboxIt staff add a webhook to an API key: an https link and the events it hears. The signing secret shows one time. A webhook sends only while API access and Notifications are both On for your account, and only on a key with the Read group. What happens while either switch is Off is not sent later. Each POST is signed: the InboxIt-Signature header holds t=<unix seconds> and v1=<hex HMAC-SHA256 of "<t>.<raw body>", made with the signing secret>. Check it before you trust the body. Answer 2XX within 8 seconds. An answer of 408, 429 or 5XX, or no answer, is tried again after 1, 5, 15 and 60 minutes. The 5th try is the last. Any other answer ends it at once. A POST can come more than one time. The body id and the InboxIt-Event-Id header are the same on each try: drop a repeat by that id.

Fields in data

FieldAbout
draftId requiredThe campaign. The same id as in list_campaign_drafts.
campaignName requiredThe campaign name.

campaign.paused

Campaign paused. A campaign stopped: someone paused it, or too many emails bounced. InboxIt staff add a webhook to an API key: an https link and the events it hears. The signing secret shows one time. A webhook sends only while API access and Notifications are both On for your account, and only on a key with the Read group. What happens while either switch is Off is not sent later. Each POST is signed: the InboxIt-Signature header holds t=<unix seconds> and v1=<hex HMAC-SHA256 of "<t>.<raw body>", made with the signing secret>. Check it before you trust the body. Answer 2XX within 8 seconds. An answer of 408, 429 or 5XX, or no answer, is tried again after 1, 5, 15 and 60 minutes. The 5th try is the last. Any other answer ends it at once. A POST can come more than one time. The body id and the InboxIt-Event-Id header are the same on each try: drop a repeat by that id.

Fields in data

FieldAbout
draftId requiredThe campaign, or null when it did not start from a draft.
campaignName requiredThe campaign name.
reason requiredpaused: someone paused it. bounce_brake: too many emails bounced.
emailsSent requiredFor bounce_brake: how many emails went out. Otherwise null.
bounced requiredFor bounce_brake: how many bounced. Otherwise null.

lead.bounced

Lead bounced. An email to a lead came back for good: the address does not take mail. Sent one time for each address in each campaign. occurred_at is when it came back. A busy campaign can send many in a day. InboxIt staff add a webhook to an API key: an https link and the events it hears. The signing secret shows one time. A webhook sends only while API access and Notifications are both On for your account, and only on a key with the Read group. What happens while either switch is Off is not sent later. Each POST is signed: the InboxIt-Signature header holds t=<unix seconds> and v1=<hex HMAC-SHA256 of "<t>.<raw body>", made with the signing secret>. Check it before you trust the body. Answer 2XX within 8 seconds. An answer of 408, 429 or 5XX, or no answer, is tried again after 1, 5, 15 and 60 minutes. The 5th try is the last. Any other answer ends it at once. A POST can come more than one time. The body id and the InboxIt-Event-Id header are the same on each try: drop a repeat by that id.

Fields in data

FieldAbout
lead requiredThe address that bounced. Look it up with get_lead.
draftId requiredThe campaign. The same id as in list_campaign_drafts. Null when we cannot match the bounce to a campaign.
campaignName requiredThe campaign name. Null when draftId is null.

AI agents

Give these to your AI agent so it can call the API for you. Each part tells the agent to read the API guide first.

  • llms.txt: the guide for AI agents.
  • openapi.json: for ChatGPT actions, Cursor, Postman and code generators.

The agent prompt

Paste it into the instructions of a ChatGPT or Claude project.

You use the InboxIt API for me.
1. Read https://app.inboxit.io/llms.txt before your first call. It lists each endpoint, its price and its errors.
2. Read the API key from the INBOXIT_API_KEY environment variable. Never show the key. Never write it to a file.
3. Send "Authorization: Bearer <key>" on every API call. llms.txt and openapi.json need no key.
4. Call GET https://app.inboxit.io/api/v1/catalog to see the endpoints and the limits of this key.
5. Use a timeout of 90 seconds. Some calls take one minute.
6. On 429, wait the seconds in Retry-After. Then send the same call again.
7. On 503 or 504, wait and try again. Stop after 3 tries and tell me.
8. On 400 or 422, fix the request. Do not send the same request again.
9. On 401, 402, 403 or 423, stop. Tell me the error code and the message.
10. When llms.txt says a call needs an Idempotency-Key header, send one. Make a new value for each change. Use the same value when you try that change again.
11. When a call fails, tell me its X-Request-Id. InboxIt needs it to find the call.
12. An email find answer with status "guess" is not a verified email. Never tell me that it is verified.
13. Before a call that changes data, tell me what it will change. Wait for my yes.

Claude skill

For Claude Code and Claude skills. Put the file in a folder named inboxit-api in your skills folder.

Download SKILL.md

AGENTS.md block

For Cursor, Codex and other coding agents. Add it to the AGENTS.md file of your project.

## InboxIt API

You use the InboxIt API for me.
1. Read https://app.inboxit.io/llms.txt before your first call. It lists each endpoint, its price and its errors.
2. Read the API key from the INBOXIT_API_KEY environment variable. Never show the key. Never write it to a file.
3. Send "Authorization: Bearer <key>" on every API call. llms.txt and openapi.json need no key.
4. Call GET https://app.inboxit.io/api/v1/catalog to see the endpoints and the limits of this key.
5. Use a timeout of 90 seconds. Some calls take one minute.
6. On 429, wait the seconds in Retry-After. Then send the same call again.
7. On 503 or 504, wait and try again. Stop after 3 tries and tell me.
8. On 400 or 422, fix the request. Do not send the same request again.
9. On 401, 402, 403 or 423, stop. Tell me the error code and the message.
10. When llms.txt says a call needs an Idempotency-Key header, send one. Make a new value for each change. Use the same value when you try that change again.
11. When a call fails, tell me its X-Request-Id. InboxIt needs it to find the call.
12. An email find answer with status "guess" is not a verified email. Never tell me that it is verified.
13. Before a call that changes data, tell me what it will change. Wait for my yes.

ChatGPT

  1. Make a new GPT and open Configure.
  2. Under Actions, import from this link: https://app.inboxit.io/api/v1/openapi.json
  3. Set Authentication to API key, type Bearer, and paste your key.
  4. Paste the agent prompt into Instructions.

Want your own AI app to work in InboxIt for you? Ask your InboxIt contact for access.