---
name: inboxit-api
description: "Use when the user asks you to work with their InboxIt account through the InboxIt API: check one email address; find a person's work email; look up a company by its domain; search businesses by type and place; search open job postings by role, place or company; keep your do-not-contact list in sync; list the tools this key can call; list every endpoint; this key's usage; call one tool; 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).; 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.; 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.; 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.; 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.; 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.; 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.; 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.."
---

# 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.
