API reference
Version 1 of the API reads your organisation's records and, with a key that may, changes some of them. This page is made from the list of routes the server itself decides with, and a test holds every route, filter and field on it to the running API, so a change to the API fails the test until this page changes too.
Base address
https://app.tooli.dev/api/v1The same, as an OpenAPI 3.1 file for your tools: /docs/api/openapi.json. Times are UTC, in ISO 8601.
Keys
Every request carries a key in the Authorization header. Owners and admins make keys in Organisation → API and MCP, each with what it may do area by area (read, or read and change); a key is shown once. A sign-in to the app never works on /api/v1, and a key works nowhere else.
Authorization: Bearer tk_live_…A key is tk_live_ and 32 hexadecimal characters. On Tooli's test sites keys start tk_test_. A key is refused anywhere it wasn't given: reading an area it may not read, or changing one it may only read.
Areas
A key is given areas. Reading an area lets it use that area's GET routes; read and change lets it use the rest of them too. A key reads as an admin of your organisation does, so what it reads depends on whether admins see every member's records (Organisation settings).
The MCP server calls these same routes for an assistant (see MCP tools). An assistant a person connected reads what that person may see: each route also says what their role must allow.
Limits
Each key may make 120 requests a minute. Past that, the answer is 429 with Retry-After: 60.
A route answers only while its part of Tooli is switched on for everyone; otherwise it answers 403 with feature_off.
Pages
A list that comes in pages answers with next. Pass it back as cursor, with the same filters, for the page after; on the last page next is null.
Sending a change twice
Every POST carries an Idempotency-Key header: 16 to 64 letters, digits, - or _, new for each change (a UUID is fine). The first answer to a key is kept for 24 hours: the same request sent again with it is answered the same, with Idempotent-Replayed: true, and changes nothing twice. The same key with a different request is refused (422, idempotency_key_reused); one sent while the first is still being answered is refused for the moment (409, idempotency_key_in_use). A refused or failed request keeps nothing, so you can send it again. PUT and DELETE are the same each time anyway.
The organisation
The organisation
GET /api/v1/organization
Your organisation's name, its plan, and what it has used of each limit this month.
- Every key may use it.
- An app a person connected: anyone in the organisation.
What it answers
200, with Organisation.
Example
curl -H "Authorization: Bearer $TOOLI_API_KEY" \
"https://app.tooli.dev/api/v1/organization"Tracked emails
Tracked emails
GET /api/v1/emails
Tracked emails, newest first unless sorted otherwise, with the Tracked emails page's own filters.
- A key needs the area Tracked emails and views: read.
- An app a person connected: anyone in the organisation.
Filters
| Name | Values | About |
|---|---|---|
q | Any words | Part of a subject, a recipient's address or a tag's name. |
status | viewed none automated replied | viewed, none (not viewed), automated (only automated views so far) or replied. |
since | A day or a time, such as 2026-11-01 | Only those sent at or after this time. |
provider | Any words | Only those sent through this mail service, as an email's provider names it. |
owner | An id another answer gives | Only those of this member, by their id from /api/v1/members. |
mailbox | An id another answer gives | Only those of this shared mailbox, by its id from /api/v1/mailboxes. |
tag | Any words | Only those with this tag, by its name or its id. |
folder | Any words | Only those in this folder, by its name or its id; none for those in no folder; archived for the archived emails instead. |
sort | sent subject views clicks lastClicked | What to sort by: when it was sent, its subject, views, clicks, or its latest click. |
dir | asc desc | Which way: asc or desc. |
limit | 1 to 100; 50 unless said | How many a page has. |
cursor | The next of the page before | The page after the one whose next this is. |
What it answers
200, with:
| Name | Type | About |
|---|---|---|
rows | list of Email | The page's records. |
next | text or null | Pass it back as cursor for the page after; null on the last. |
total | number | How many match, across every page. |
Example
curl -H "Authorization: Bearer $TOOLI_API_KEY" \
"https://app.tooli.dev/api/v1/emails?limit=10"One tracked email
GET /api/v1/emails/{id}
One tracked email, with each recipient's views.
- A key needs the area Tracked emails and views: read.
- An app a person connected: anyone in the organisation.
In the address
| Name | About |
|---|---|
id | The record's id, as its list gives it. |
What it answers
200, with:
| Name | Type | About |
|---|---|---|
email | The email. | |
recipients | list of Recipient | Each address it went to, in order, with its views where it went to that address alone. |
Example
curl -H "Authorization: Bearer $TOOLI_API_KEY" \
"https://app.tooli.dev/api/v1/emails/em_…"An email's views
GET /api/v1/emails/{id}/views
Every counted view of one tracked email, newest first. A view names its recipient only where the email went to one address: a message carries one image, the same for everyone it went to.
- A key needs the area Tracked emails and views: read.
- An app a person connected: anyone in the organisation.
In the address
| Name | About |
|---|---|
id | The record's id, as its list gives it. |
What it answers
200, with:
| Name | Type | About |
|---|---|---|
rows | list of Event | The page's records. |
next | text or null | Pass it back as cursor for the page after; null on the last. |
total | number | How many match, across every page. |
Example
curl -H "Authorization: Bearer $TOOLI_API_KEY" \
"https://app.tooli.dev/api/v1/emails/em_…/views"Tag an email
PUT /api/v1/emails/{id}/tags
Sets a tracked email's tags: the list given replaces the ones it had. A tag goes on an email when it is the sender's own or their team's.
- A key needs the area Tracked emails and views: read and change.
- An app a person connected: members, admins and the owner.
In the address
| Name | About |
|---|---|
id | The record's id, as its list gives it. |
What it takes
| Name | Type | Needed | About |
|---|---|---|---|
tags | list of text | Yes | Tag names (any case) or ids. The list replaces the email's tags; an empty list takes them all off. |
What it answers
200, with Email.
Example
curl -X PUT -H "Authorization: Bearer $TOOLI_API_KEY" \
-H "Content-Type: application/json" -d '{"tags":["…"]}' \
"https://app.tooli.dev/api/v1/emails/em_…/tags"File an email
PUT /api/v1/emails/{id}/folder
Puts a tracked email in a folder, or takes it out of its folder with null.
- A key needs the area Tracked emails and views: read and change.
- An app a person connected: members, admins and the owner.
In the address
| Name | About |
|---|---|
id | The record's id, as its list gives it. |
What it takes
| Name | Type | Needed | About |
|---|---|---|---|
folder | text or null | Yes | A folder's name or id, or null for no folder. |
What it answers
200, with Email.
Example
curl -X PUT -H "Authorization: Bearer $TOOLI_API_KEY" \
-H "Content-Type: application/json" -d '{"folder":"…"}' \
"https://app.tooli.dev/api/v1/emails/em_…/folder"Archive an email
PUT /api/v1/emails/{id}/archived
Archives a tracked email, or brings it back. It keeps all its views.
- A key needs the area Tracked emails and views: read and change.
- An app a person connected: members, admins and the owner.
In the address
| Name | About |
|---|---|
id | The record's id, as its list gives it. |
What it takes
| Name | Type | Needed | About |
|---|---|---|---|
archived | true or false | Yes | true to archive, false to bring back. |
What it answers
200, with Email.
Example
curl -X PUT -H "Authorization: Bearer $TOOLI_API_KEY" \
-H "Content-Type: application/json" -d '{"archived":true}' \
"https://app.tooli.dev/api/v1/emails/em_…/archived"Never-track list
GET /api/v1/never-track
The addresses and domains never tracked: the organisation's list, and for an app a person connected, their own as well.
- A key needs the area Tracked emails and views: read.
- An app a person connected: anyone in the organisation.
What it answers
200, with:
| Name | Type | About |
|---|---|---|
rows | list of Never-track entry | The page's records. |
Example
curl -H "Authorization: Bearer $TOOLI_API_KEY" \
"https://app.tooli.dev/api/v1/never-track"Never track an address
POST /api/v1/never-track
Adds an address or a domain to a never-track list. What a key adds goes on the organisation's list.
- A key needs the area Tracked emails and views: read and change.
- An app a person connected: members, admins and the owner.
- Send an
Idempotency-Keyheader (see Sending a change twice).
What it takes
| Name | Type | Needed | About |
|---|---|---|---|
value | text | Yes | An email address, or a domain such as example.com. |
list | text One of: own organisation | No | own: the person's own list (not for a key); organisation: everyone's (admins and the owner). A key's go on the organisation's. |
What it answers
201, with Never-track entry.
Example
curl -X POST -H "Authorization: Bearer $TOOLI_API_KEY" \
-H "Idempotency-Key: $(uuidgen)" \
-H "Content-Type: application/json" -d '{"value":"…"}' \
"https://app.tooli.dev/api/v1/never-track"Track an address again
DELETE /api/v1/never-track/{id}
Takes an entry off a never-track list.
- A key needs the area Tracked emails and views: read and change.
- An app a person connected: members, admins and the owner.
In the address
| Name | About |
|---|---|
id | The record's id, as its list gives it. |
What it answers
204, with nothing in the answer.
Example
curl -X DELETE -H "Authorization: Bearer $TOOLI_API_KEY" \
"https://app.tooli.dev/api/v1/never-track/em_…"Short links
Short links
GET /api/v1/links
Short links, newest first, with the Links page's own filters.
- A key needs the area Links and clicks: read.
- An app a person connected: anyone in the organisation.
Filters
| Name | Values | About |
|---|---|---|
q | Any words | Part of a slug or a destination; a whole short link finds that link. |
sentBy | anywhere whatsapp sms email | Only links made to be sent this way. |
owner | An id another answer gives | Only those of this member, by their id from /api/v1/members. |
mailbox | An id another answer gives | Only those of this shared mailbox, by its id from /api/v1/mailboxes. |
state | archived | archived: the archived links instead of the working ones. |
clicked | yes no | yes: only links that have been clicked; no: only those never clicked. |
limit | 1 to 200; 50 unless said | How many a page has. |
cursor | The next of the page before | The page after the one whose next this is. |
What it answers
200, with:
| Name | Type | About |
|---|---|---|
rows | list of Link | The page's records. |
next | text or null | Pass it back as cursor for the page after; null on the last. |
total | number | How many match, across every page. |
clicks | number | The clicks of every link that matches, added up. |
Example
curl -H "Authorization: Bearer $TOOLI_API_KEY" \
"https://app.tooli.dev/api/v1/links?limit=10"Make a short link
POST /api/v1/links
Makes a short link to a destination, with a slug of your own if you want one. A link a key makes is named as the key's.
- A key needs the area Links and clicks: read and change.
- An app a person connected: members, admins and the owner.
- Send an
Idempotency-Keyheader (see Sending a change twice).
What it takes
| Name | Type | Needed | About |
|---|---|---|---|
destination | text | Yes | The https address clicks are sent to. |
slug | text or null | No | The part after the short-link address, if you want your own; a random one if left out. |
sentBy | text One of: anywhere whatsapp sms | No | Where it will be sent: anywhere unless said, whatsapp or sms. |
mailbox | text or null | No | The shared mailbox it is made for, by its id; a person must be one of its senders. Not for a key. |
What it answers
201, with Link.
Example
curl -X POST -H "Authorization: Bearer $TOOLI_API_KEY" \
-H "Idempotency-Key: $(uuidgen)" \
-H "Content-Type: application/json" -d '{"destination":"https://example.com/offer"}' \
"https://app.tooli.dev/api/v1/links"One short link
GET /api/v1/links/{code}
One short link, with every destination it has had.
- A key needs the area Links and clicks: read.
- An app a person connected: anyone in the organisation.
In the address
| Name | About |
|---|---|
code | The link's or document's code, as its list gives it. |
What it answers
200, with:
| Name | Type | About |
|---|---|---|
link | Link | The link. |
destinations | list | Every destination it has had, newest first. |
destinations[].destination | text | Where its clicks were sent. |
destinations[].setAt | text | When it was set. |
destinations[].setBy | text or null | Who set it: a person's name, or a key's. |
destinations[].clicks | number | The clicks sent there while it was set. |
Example
curl -H "Authorization: Bearer $TOOLI_API_KEY" \
"https://app.tooli.dev/api/v1/links/spring-offer"A link's clicks
GET /api/v1/links/{code}/clicks
Every click on one short link, newest first, a machine's too, each with its class.
- A key needs the area Links and clicks: read.
- An app a person connected: anyone in the organisation.
In the address
| Name | About |
|---|---|
code | The link's or document's code, as its list gives it. |
Filters
| Name | Values | About |
|---|---|---|
q | Any words | Part of an IP address, a network's name, a city or a country code. |
who | people automated | people: leave out what a machine most likely made; automated: only that. |
limit | 1 to 200; 25 unless said | How many a page has. |
cursor | The next of the page before | The page after the one whose next this is. |
What it answers
200, with:
| Name | Type | About |
|---|---|---|
rows | list of Event | The page's records. |
next | text or null | Pass it back as cursor for the page after; null on the last. |
total | number | How many match, across every page. |
Example
curl -H "Authorization: Bearer $TOOLI_API_KEY" \
"https://app.tooli.dev/api/v1/links/spring-offer/clicks?limit=10"Change a link's destination
PUT /api/v1/links/{code}/destination
Sends a short link's clicks to another destination from now on. Clicks so far keep the destination they had.
- A key needs the area Links and clicks: read and change.
- An app a person connected: members, admins and the owner.
In the address
| Name | About |
|---|---|
code | The link's or document's code, as its list gives it. |
What it takes
| Name | Type | Needed | About |
|---|---|---|---|
destination | text | Yes | The https address clicks are sent to. |
What it answers
200, with Link.
Example
curl -X PUT -H "Authorization: Bearer $TOOLI_API_KEY" \
-H "Content-Type: application/json" -d '{"destination":"https://example.com/offer"}' \
"https://app.tooli.dev/api/v1/links/spring-offer/destination"Archive a link
PUT /api/v1/links/{code}/archived
Archives a short link, or brings it back. An archived link still sends people on, and keeps its clicks.
- A key needs the area Links and clicks: read and change.
- An app a person connected: members, admins and the owner.
In the address
| Name | About |
|---|---|
code | The link's or document's code, as its list gives it. |
What it takes
| Name | Type | Needed | About |
|---|---|---|---|
archived | true or false | Yes | true to archive, false to bring back. |
What it answers
200, with Link.
Example
curl -X PUT -H "Authorization: Bearer $TOOLI_API_KEY" \
-H "Content-Type: application/json" -d '{"archived":true}' \
"https://app.tooli.dev/api/v1/links/spring-offer/archived"Documents
Documents
GET /api/v1/documents
Hosted documents, newest first, with the figures the Documents page shows and its own filters (less the one that takes a person).
- A key needs the area Documents: read.
- An app a person connected: anyone in the organisation.
- Needs
documentsswitched on as well.
Filters
| Name | Values | About |
|---|---|---|
q | Any words | Part of a document's name. |
viewed | yes no | yes: only documents viewed; no: only those never viewed. |
state | archived | archived: the archived documents instead of the working ones. |
limit | 1 to 200; 50 unless said | How many a page has. |
cursor | The next of the page before | The page after the one whose next this is. |
What it answers
200, with:
| Name | Type | About |
|---|---|---|
rows | list of Document | The page's records. |
next | text or null | Pass it back as cursor for the page after; null on the last. |
total | number | How many match, across every page. |
views | number | The views of every document that matches, added up. |
Example
curl -H "Authorization: Bearer $TOOLI_API_KEY" \
"https://app.tooli.dev/api/v1/documents?limit=10"Upload a document
POST /api/v1/documents
Adds a PDF as a hosted document: the file is the request's body (Content-Type: application/pdf), its name in name.
- A key needs the area Documents: read and change.
- An app a person connected: members, admins and the owner.
- Needs
documentsswitched on as well. - Send an
Idempotency-Keyheader (see Sending a change twice).
Filters
| Name | Values | About |
|---|---|---|
name | Any words | The document's name, as readers will see it. |
download | yes no | no stops readers downloading it; yes unless said. |
What it takes
| Name | Type | Needed | About |
|---|---|---|---|
file | the file itself, as the body | Yes | A PDF, at most 25 MB. |
What it answers
201, with Document.
Example
curl -X POST -H "Authorization: Bearer $TOOLI_API_KEY" \
-H "Idempotency-Key: $(uuidgen)" \
-H "Content-Type: application/pdf" --data-binary @price-list.pdf \
"https://app.tooli.dev/api/v1/documents?name=Price%20list.pdf"One document
GET /api/v1/documents/{code}
One hosted document, with the time spent on each page of the file readers get now.
- A key needs the area Documents: read.
- An app a person connected: anyone in the organisation.
- Needs
documentsswitched on as well.
In the address
| Name | About |
|---|---|
code | The link's or document's code, as its list gives it. |
What it answers
200, with:
| Name | Type | About |
|---|---|---|
document | Document | The document. |
pageTimes | list | Time on each page of the file readers get now, every counted view together. Pages nobody stayed on are left out. |
pageTimes[].page | number | The page. |
pageTimes[].seconds | number | Seconds on it. |
Example
curl -H "Authorization: Bearer $TOOLI_API_KEY" \
"https://app.tooli.dev/api/v1/documents/spring-offer"A document's views
GET /api/v1/documents/{code}/views
Every view of one hosted document, newest first, a machine's too.
- A key needs the area Documents: read.
- An app a person connected: anyone in the organisation.
- Needs
documentsswitched on as well.
In the address
| Name | About |
|---|---|
code | The link's or document's code, as its list gives it. |
Filters
| Name | Values | About |
|---|---|---|
q | Any words | Part of an IP address, a network's name, a city or a country code. |
who | people automated | people: leave out what a machine most likely made; automated: only that. |
limit | 1 to 200; 25 unless said | How many a page has. |
cursor | The next of the page before | The page after the one whose next this is. |
What it answers
200, with:
| Name | Type | About |
|---|---|---|
rows | list of Event | The page's records. |
next | text or null | Pass it back as cursor for the page after; null on the last. |
total | number | How many match, across every page. |
Example
curl -H "Authorization: Bearer $TOOLI_API_KEY" \
"https://app.tooli.dev/api/v1/documents/spring-offer/views?limit=10"Websites and visitors
Websites
GET /api/v1/websites
Tracked websites, busiest in the last 24 hours first. A handful for each organisation: no pages.
- A key needs the area Websites and visitors: read.
- An app a person connected: anyone in the organisation.
- Needs
websitesswitched on as well.
Filters
| Name | Values | About |
|---|---|---|
q | Any words | Part of a name or an origin. |
state | receiving none paused | Only websites receiving page views now, with none yet, or paused. |
What it answers
200, with:
| Name | Type | About |
|---|---|---|
rows | list of Website | The page's records. |
total | number | How many match, across every page. |
Example
curl -H "Authorization: Bearer $TOOLI_API_KEY" \
"https://app.tooli.dev/api/v1/websites"Add a website
POST /api/v1/websites
Adds a website to track, by its name and the origins it is served from. Its snippet is on its page in the app.
- A key needs the area Websites and visitors: read and change.
- An app a person connected: admins and the owner.
- Needs
websitesswitched on as well. - Send an
Idempotency-Keyheader (see Sending a change twice).
What it takes
| Name | Type | Needed | About |
|---|---|---|---|
name | text | Yes | Its name, as the app shows it. |
origins | list of text | Yes | The addresses it is served from, such as https://www.example.com, the first one first. |
What it answers
201, with Website.
Example
curl -X POST -H "Authorization: Bearer $TOOLI_API_KEY" \
-H "Idempotency-Key: $(uuidgen)" \
-H "Content-Type: application/json" -d '{"name":"…","origins":["…"]}' \
"https://app.tooli.dev/api/v1/websites"One website
GET /api/v1/websites/{key}
One website's figures for a period, as its page shows them: visitors, visits, page views, time, its top pages and where visits came from.
- A key needs the area Websites and visitors: read.
- An app a person connected: anyone in the organisation.
- Needs
websitesswitched on as well.
In the address
| Name | About |
|---|---|
key | The website's key, as the Websites list gives it. |
Filters
| Name | Values | About |
|---|---|---|
range | today 7d 30d | today, 7d (unless said) or 30d, in the caller's days. |
What it answers
200, with:
| Name | Type | About |
|---|---|---|
website | Website | The website. |
range | text | The period. One of: today 7d 30d |
from | text | When the period began. |
to | text | When it ends. |
figures | object | The period's figures. |
figures.visitors | number | Different visitors among the visits a person most likely made. |
figures.newVisitors | number | Of those, the ones never seen on this website before the period. |
figures.visits | number | Visits a person most likely made. |
figures.onePage | number | Of those, the ones with one page view. |
figures.visitPages | number | Page views in those visits. |
figures.pageViews | number | Every page view in the period, a machine's too. |
figures.automatedViews | number | The page views a machine most likely made. They are in pageViews too. |
figures.seconds | number | Time looked at, over the page views that were timed. |
figures.timed | number | How many page views were timed. |
topPages | list | The pages viewed most in the period. |
topPages[].path | text | The page's path. |
topPages[].title | text | The title it had most recently. |
topPages[].views | number | Its page views. |
topPages[].visitors | number | Different visitors among the page views a person most likely made. |
sources | list | Where visits came from most in the period. |
sources[].referrer | text | The host of the page that led there; empty when typed or unknown. |
sources[].visits | number | Visits that came from there. |
Example
curl -H "Authorization: Bearer $TOOLI_API_KEY" \
"https://app.tooli.dev/api/v1/websites/ws_live_…"A website's visits
GET /api/v1/websites/{key}/visits
A website's visits in a period, newest first, each with its visitor where the key or person may see who it is.
- A key needs the area Websites and visitors: read.
- An app a person connected: anyone in the organisation.
- Needs
websitesswitched on as well.
In the address
| Name | About |
|---|---|
key | The website's key, as the Websites list gives it. |
Filters
| Name | Values | About |
|---|---|---|
range | today 7d 30d | today, 7d (unless said) or 30d, in the caller's days. |
q | Any words | Part of a page's path or title, a network's name or a city. |
who | people automated | people: leave out what a machine most likely made; automated: only that. |
limit | 1 to 100; 25 unless said | How many a page has. |
cursor | The next of the page before | The page after the one whose next this is. |
What it answers
200, with:
| Name | Type | About |
|---|---|---|
rows | list of Visit | The page's records. |
next | text or null | Pass it back as cursor for the page after; null on the last. |
total | number | How many match, across every page. |
Example
curl -H "Authorization: Bearer $TOOLI_API_KEY" \
"https://app.tooli.dev/api/v1/websites/ws_live_…/visits?limit=10"Visitors
GET /api/v1/visitors
Visitors, newest seen first, with the Visitors page's own filters. A visitor is named only as the app names it for the caller.
- A key needs the area Websites and visitors: read.
- An app a person connected: anyone in the organisation.
Filters
| Name | Values | About |
|---|---|---|
q | Any words | Part of a name, a place, a network, a browser or an IP address. |
named | yes no | yes: only visitors Tooli names for the caller; no: only those it doesn't. |
activity | clicks pages documents | Only visitors who did this. |
site | A website's site key | Only visitors who viewed a page of this website, by its key. |
seen | today 7d 30d | Only visitors seen today, in the last 7 or the last 30 days. |
who | people automated | people: leave out what a machine most likely made; automated: only that. |
limit | 1 to 100; 50 unless said | How many a page has. |
cursor | The next of the page before | The page after the one whose next this is. |
What it answers
200, with:
| Name | Type | About |
|---|---|---|
rows | list of Visitor | The page's records. |
next | text or null | Pass it back as cursor for the page after; null on the last. |
total | number | How many match, across every page. |
Example
curl -H "Authorization: Bearer $TOOLI_API_KEY" \
"https://app.tooli.dev/api/v1/visitors?limit=10"One visitor
GET /api/v1/visitors/{id}
One visitor: who Tooli takes it to be and why, as the caller may see it, and what it has done.
- A key needs the area Websites and visitors: read.
- An app a person connected: anyone in the organisation.
In the address
| Name | About |
|---|---|
id | The record's id, as its list gives it. |
What it answers
200, with:
| Name | Type | About |
|---|---|---|
visitor | Visitor | The visitor. |
why | text or null | Why it isn't named, when it isn't: nothing ties it to anyone (none), it is tied to several people (several), or someone said it isn't who Tooli thought (refused). One of: none several refused |
evidence | list | The tracked emails that tie it to a person, as the caller may see them. |
evidence[].address | text | The person's address. |
evidence[].how | text | How sure: certain or probable. One of: certain probable |
evidence[].kind | text | This device viewed it (same_device), another device on this network just before (other_device), this device through a VPN (vpn), or a visitor tied to this one (tied). One of: same_device other_device vpn tied |
evidence[].email | text | The email's id. |
evidence[].subject | text | The email's subject. |
evidence[].viewedAt | text | When it was viewed. |
facts | object | What it has done, of what the caller may see. |
facts.emailsViewed | number or null | Emails sent to the named person alone that were viewed; null when it isn't named. |
facts.emailsAlone | number or null | Emails sent to the named person alone; null when it isn't named. |
facts.links | number | Different links it clicked. |
facts.visits | number | Its visits to the organisation's websites. |
facts.documentSeconds | number | Seconds it spent on documents. |
Example
curl -H "Authorization: Bearer $TOOLI_API_KEY" \
"https://app.tooli.dev/api/v1/visitors/em_…"A visitor's activity
GET /api/v1/visitors/{id}/activity
What one visitor did, newest first: views, clicks, document views and page views.
- A key needs the area Websites and visitors: read.
- An app a person connected: anyone in the organisation.
In the address
| Name | About |
|---|---|
id | The record's id, as its list gives it. |
Filters
| Name | Values | About |
|---|---|---|
kind | click doc_view web_hit open | Only this kind of activity: clicks, document views, page views or email views. |
limit | 1 to 100; 25 unless said | How many a page has. |
cursor | The next of the page before | The page after the one whose next this is. |
What it answers
200, with:
| Name | Type | About |
|---|---|---|
rows | list of Event | The page's records. |
next | text or null | Pass it back as cursor for the page after; null on the last. |
Example
curl -H "Authorization: Bearer $TOOLI_API_KEY" \
"https://app.tooli.dev/api/v1/visitors/em_…/activity?limit=10"Shared mailboxes
Shared mailboxes
GET /api/v1/mailboxes
The shared mailboxes: every one for a key, which reads as an admin who sees every record; for an app a person connected, the ones they see.
- A key needs the area Mailboxes: read.
- An app a person connected: anyone in the organisation.
What it answers
200, with:
| Name | Type | About |
|---|---|---|
rows | list of Shared mailbox | The page's records. |
Example
curl -H "Authorization: Bearer $TOOLI_API_KEY" \
"https://app.tooli.dev/api/v1/mailboxes"One shared mailbox
GET /api/v1/mailboxes/{id}
One shared mailbox's figures, of what the caller sees, and who sent from it.
- A key needs the area Mailboxes: read.
- An app a person connected: anyone in the organisation.
In the address
| Name | About |
|---|---|
id | The record's id, as its list gives it. |
What it answers
200, with:
| Name | Type | About |
|---|---|---|
mailbox | Shared mailbox | The mailbox. |
facts | object | Its figures, of what the caller sees. |
facts.emails | number | Tracked emails sent from it. |
facts.emailsWeek | number | Of those, the ones sent in the last seven days. |
facts.viewed | number | Of those, the ones viewed. |
facts.views | number | Their views. |
facts.humanViews | number | Of those, the ones a person most likely made. |
facts.clicks | number | Clicks on its links. |
facts.links | number | Links made for it. |
facts.documents | number | Documents sent from it. |
facts.replies | number | Replies to its emails. |
facts.lastViewedAt | text or null | When one of its emails was last viewed. |
senders | list | Who sent from it, most first. |
senders[].name | text | Their name. |
senders[].emails | number | The tracked emails they sent from it. |
Example
curl -H "Authorization: Bearer $TOOLI_API_KEY" \
"https://app.tooli.dev/api/v1/mailboxes/em_…"Members, teams and Activity
Members
GET /api/v1/members
The organisation's members, with their role and team.
- A key needs the area Members and teams: read.
- An app a person connected: admins and the owner.
What it answers
200, with:
| Name | Type | About |
|---|---|---|
rows | list of Member | The page's records. |
Example
curl -H "Authorization: Bearer $TOOLI_API_KEY" \
"https://app.tooli.dev/api/v1/members"Teams
GET /api/v1/teams
The organisation's teams, with their lead and members.
- A key needs the area Members and teams: read.
- An app a person connected: admins and the owner.
What it answers
200, with:
| Name | Type | About |
|---|---|---|
rows | list of Team | The page's records. |
Example
curl -H "Authorization: Bearer $TOOLI_API_KEY" \
"https://app.tooli.dev/api/v1/teams"Activity
GET /api/v1/activity
Who changed what in the organisation, newest first, as Organisation → Activity lists it.
- A key needs the area Members and teams: read.
- An app a person connected: admins and the owner.
Filters
| Name | Values | About |
|---|---|---|
action | Any words | Only changes of this kind, such as link.archive or member.role. |
actor | An id another answer gives | Only changes made by this member, by their id. |
limit | 1 to 200; 50 unless said | How many a page has. |
cursor | The next of the page before | The page after the one whose next this is. |
What it answers
200, with:
| Name | Type | About |
|---|---|---|
rows | list of Activity | The page's records. |
next | text or null | Pass it back as cursor for the page after; null on the last. |
Example
curl -H "Authorization: Bearer $TOOLI_API_KEY" \
"https://app.tooli.dev/api/v1/activity?limit=10"The Event log, the Dashboard and addresses
The Event log
GET /api/v1/events
Every view, click, document view, page view and reply, newest first, with the Event log's own search and filters: first the events still in the database, then those kept only in the archive, each marked archived.
- A key needs the area The Event log: read.
- An app a person connected: admins and the owner.
Filters
| Name | Values | About |
|---|---|---|
type | open click doc_view web_hit reply | Only events of this kind. |
q | Any words | Part of what an event is about, an IP address, a network or a place. |
class | direct gmail_proxy apple_privacy datacenter vpn bot scanner prefetch sender_preview | Only events of this class. |
family | 4 6 | 4 or 6: only requests that came over IPv4 or over IPv6. |
who | people | people: leave out the classes where a machine most likely asked. |
limit | 1 to 200; 50 unless said | How many a page has. |
cursor | The next of the page before | The page after the one whose next this is. |
What it answers
200, with:
| Name | Type | About |
|---|---|---|
rows | list of Event | The page's records. |
next | text or null | Pass it back as cursor for the page after; null on the last. |
Example
curl -H "Authorization: Bearer $TOOLI_API_KEY" \
"https://app.tooli.dev/api/v1/events?limit=10"One event
GET /api/v1/events/{id}
One event of the Event log, with when it was stored and the rules that decided its class.
- A key needs the area The Event log: read.
- An app a person connected: admins and the owner.
In the address
| Name | About |
|---|---|
id | The record's id, as its list gives it. |
What it answers
200, with:
| Name | Type | About |
|---|---|---|
event | Event | The event. |
storedAt | text | When Tooli stored it. |
timeZone | text or null | The time zone the request said it was in, where it did. |
evidence | list | The rules that matched, first the one that decided its class. |
evidence[].rule | text | The rule. |
evidence[].note | text | What it found. |
Example
curl -H "Authorization: Bearer $TOOLI_API_KEY" \
"https://app.tooli.dev/api/v1/events/em_…"The Dashboard's figures
GET /api/v1/dashboard
The Dashboard's figures for a period, in the time zone of whoever made the key (or the person's own): emails tracked and viewed, views, clicks, website visitors, where they came from, and the chart's series.
- A key needs the area The Event log: read.
- An app a person connected: anyone in the organisation.
Filters
| Name | Values | About |
|---|---|---|
range | today 7d 30d | today, 7d (unless said) or 30d, in the caller's days. |
scope | mine wide | wide (unless said): everything the caller may see; mine: a person's own records. A key has no records of its own and is always given wide. |
What it answers
200, with:
| Name | Type | About |
|---|---|---|
range | text | The period. One of: today 7d 30d |
from | text | When the period began. |
to | text | When it ends. |
timeZone | text | The time zone its days were cut in. |
emails | object | Emails tracked in the period. |
emails.value | number | How many. |
emails.previous | number | How many in the period before. |
emails.viewed | number | Of those, the ones viewed. |
views | object | Views of emails in the period, the senders' own left out. |
views.value | number | How many. |
views.previous | number | How many in the period before. |
views.automated | number | Of those, the ones a machine most likely made. |
clicks | object | Clicks on short links in the period. |
clicks.value | number | How many. |
clicks.previous | number | How many in the period before. |
clicks.automated | number | Of those, the ones a machine most likely made. |
websites | object or null | Visitors to the organisation's websites in the period; null while it has none. |
websites.value | number | Different visitors among the visits a person most likely made. |
websites.previous | number | The same in the period before. |
websites.visits | number | Those visits. |
places | list | Where views and clicks came from, most first. |
places[].country | text | The country, as a two-letter code. |
places[].region | text or null | The region. |
places[].city | text or null | The city. |
places[].events | number | Views and clicks from there. |
series | object | Views and clicks over the period. |
series.by | text | By hour for today, by day otherwise. One of: hour day |
series.keys | list of text | Each hour (2026-11-19T14) or day (2026-11-19). |
series.views | list of number | Views in each. |
series.clicks | list of number | Clicks in each. |
Example
curl -H "Authorization: Bearer $TOOLI_API_KEY" \
"https://app.tooli.dev/api/v1/dashboard"An IP address
GET /api/v1/network/ip/{ip}
What is known of one IPv4 or IPv6 address in the organisation's events: its network, its place, the classes its requests were given, and those events, newest first. The same answer whether it was never seen or seen only in what the caller may not see.
- A key needs the area The Event log: read.
- An app a person connected: anyone in the organisation.
In the address
| Name | About |
|---|---|
ip | An IPv4 or IPv6 address, as written anywhere (2001:db8::1 is the same as its longer form). |
Filters
| Name | Values | About |
|---|---|---|
limit | 1 to 100; 25 unless said | How many a page has. |
cursor | The next of the page before | The page after the one whose next this is. |
What it answers
200, with:
| Name | Type | About |
|---|---|---|
ip | text | The address, as Tooli writes it. |
family | number | 4 or 6. One of: 4 6 |
known | object or null | What is known of it; null when the caller has no events from it. |
known.events | number | Its events. |
known.firstAt | text | The first. |
known.lastAt | text | The latest. |
known.network | text or null | The network the latest came from. |
known.asn | number or null | That network's number. |
known.place | object or null | Its place; null where a class hides it or it wasn't known. |
known.place.country | text or null | The country, as a two-letter code. |
known.place.region | text or null | The region. |
known.place.city | text or null | The city. |
known.classes | list | Every class its events were given, the most frequent first. |
known.classes[].class | text | The class. One of: direct gmail_proxy apple_privacy datacenter vpn bot scanner prefetch sender_preview |
known.classes[].events | number | Its events of that class. |
rows | list of Event | Its events, newest first. |
next | text or null | Pass it back as cursor for the page after; null on the last. |
Example
curl -H "Authorization: Bearer $TOOLI_API_KEY" \
"https://app.tooli.dev/api/v1/network/ip/203.0.113.7?limit=10"Webhooks
Webhooks
GET /api/v1/webhooks
The organisation's webhooks: where each sends, which events, and how its deliveries are going.
- A key needs the area Webhooks: read.
- An app a person connected: admins and the owner.
What it answers
200, with:
| Name | Type | About |
|---|---|---|
rows | list of Webhook | The page's records. |
Example
curl -H "Authorization: Bearer $TOOLI_API_KEY" \
"https://app.tooli.dev/api/v1/webhooks"Add a webhook
POST /api/v1/webhooks
Adds a webhook. Its signing secret is in this answer once and never again: a retry with the same idempotency key is answered with secret: null.
- A key needs the area Webhooks: read and change.
- An app a person connected: admins and the owner.
- Send an
Idempotency-Keyheader (see Sending a change twice).
What it takes
| Name | Type | Needed | About |
|---|---|---|---|
url | text | Yes | The https address to send each event to. |
events | list of text One of: email.viewed link.clicked document.viewed website.visited reply.received | Yes | The events to send. |
What it answers
201, with:
| Name | Type | About |
|---|---|---|
webhook | Webhook | The webhook. |
secret | text or null | Its signing secret, shown this once; null to a retry with the same idempotency key. |
Example
curl -X POST -H "Authorization: Bearer $TOOLI_API_KEY" \
-H "Idempotency-Key: $(uuidgen)" \
-H "Content-Type: application/json" -d '{"url":"…","events":["email.viewed"]}' \
"https://app.tooli.dev/api/v1/webhooks"Change a webhook's events
PUT /api/v1/webhooks/{id}
Sets which events a webhook sends.
- A key needs the area Webhooks: read and change.
- An app a person connected: admins and the owner.
In the address
| Name | About |
|---|---|
id | The record's id, as its list gives it. |
What it takes
| Name | Type | Needed | About |
|---|---|---|---|
events | list of text One of: email.viewed link.clicked document.viewed website.visited reply.received | Yes | The events to send. |
What it answers
200, with Webhook.
Example
curl -X PUT -H "Authorization: Bearer $TOOLI_API_KEY" \
-H "Content-Type: application/json" -d '{"events":["email.viewed"]}' \
"https://app.tooli.dev/api/v1/webhooks/em_…"Remove a webhook
DELETE /api/v1/webhooks/{id}
Removes a webhook: nothing more is sent to it.
- A key needs the area Webhooks: read and change.
- An app a person connected: admins and the owner.
In the address
| Name | About |
|---|---|
id | The record's id, as its list gives it. |
What it answers
204, with nothing in the answer.
Example
curl -X DELETE -H "Authorization: Bearer $TOOLI_API_KEY" \
"https://app.tooli.dev/api/v1/webhooks/em_…"Objects
The records the routes answer with. Each field is always there; one that has no value is null.
Organisation
Your organisation as a key reads it.
| Name | Type | About |
|---|---|---|
name | text | Its name. |
plan | object | Its plan. |
plan.name | text | The plan's name. |
month | text | The month the counts are for, as YYYY-MM. |
usage | list | What it has used of each of its plan's limits this month. |
usage[].key | text | The limit. One of: emails_month members websites domains documents |
usage[].used | number | How much is used. |
usage[].limit | number or null | The limit; null for none. |
A tracked email.
| Name | Type | About |
|---|---|---|
id | text | What it is known by: the same id its page's address and a webhook carry. |
subject | text | Its subject. |
sentAt | text | When it was sent. |
sender | text | Who sent it. |
provider | text | The mail service it was sent through. |
mailbox | text or null | The address it was sent from, where known. |
recipients | list of text | Each address it went to, in order. |
shared | true or false | Shared with the organisation. |
views | number | Every view, a machine's too. |
humanViews | number | Views a person most likely made. |
clicks | number | Clicks on links in it. |
replies | number | Replies noticed in the sender's mailbox. |
firstViewedAt | text or null | Its first view. |
lastViewedAt | text or null | Its latest view. |
lastClickedAt | text or null | Its latest click. |
repliedAt | text or null | Its latest reply. |
lastPlace | object | Where its latest view came from; nulls where a mail service's proxy hid it. |
lastPlace.country | text or null | The country, as a two-letter code. |
lastPlace.region | text or null | The region. |
lastPlace.city | text or null | The city. |
viewsByDay | list of number | Views on each of the last seven days, oldest first. |
tags | list | Its tags, among those the caller may see. |
tags[].id | text | The tag's id. |
tags[].name | text | Its name. |
folder | object or null | Its folder, among those the caller may see. |
folder.id | text | The folder's id. |
folder.name | text | Its name. |
archivedAt | text or null | When it was archived; null while it isn't. |
page | text | Its page in Tooli. |
Recipient
One address a tracked email went to.
| Name | Type | About |
|---|---|---|
address | text | The address. |
kind | text | How it was sent: to, copied, or copied blind. One of: to cc bcc |
views | number | Views given to this address: only where the email went to it alone. |
humanViews | number | Of those, the ones a person most likely made. |
firstViewedAt | text or null | The first. |
lastViewedAt | text or null | The latest. |
Event
One request Tooli stored, or a reply it noticed: a row of the Event log, and of a record's views or clicks.
| Name | Type | About |
|---|---|---|
id | text | What it is known by: /api/v1/events/{id} reads it. |
at | text | When it happened. |
type | text | What it was. One of: email_view link_click document_view page_view reply |
about | text | What it happened to, by its own name: the email's subject, the short link, the document's name, the website's name. |
on | text | The handle of what it happened to: an email's id, a link's or a document's code, a website's key. |
detail | text or null | For an email's view, its recipient where the email went to one address; for a page view, the page's path; for a click, where the link sent it; for a reply, who sent it. |
class | text | What Tooli took the request to be. One of: direct gmail_proxy apple_privacy datacenter vpn bot scanner prefetch sender_preview |
automated | true or false | Its class is one a machine most likely makes. |
confidence | number | How sure the class is, from 0 to 100. |
place | object | Where it came from; nulls where a mail service's proxy hid it. |
place.country | text or null | The country, as a two-letter code. |
place.region | text or null | The region. |
place.city | text or null | The city. |
network | text or null | The network it came from. |
ipFamily | number or null | 4 or 6: whether it came over IPv4 or IPv6. One of: 4 6 |
client | text or null | What the client said it was (its user agent). |
archived | true or false | It is kept only in the archive now: it left the database after it was copied. |
Link
A short link.
| Name | Type | About |
|---|---|---|
code | text | What it is known by: the part after the short-link address. |
url | text | The whole short link. |
destination | text | Where it sends people now. |
sentBy | text | Where it was made to be sent. One of: anywhere whatsapp sms email |
shared | true or false | Shared with the organisation. |
archivedAt | text or null | When it was archived; null while it isn't. |
clicks | number | Every click, a machine's too. |
visitors | number | Different visitors among the clicks a person most likely made. |
automatedClicks | number | The clicks a machine most likely made. They are in clicks too. |
firstClickedAt | text or null | Its first click. |
lastClickedAt | text or null | Its latest click. |
createdAt | text | When it was made. |
madeBy | text or null | Who made it: a person's name, or a key's. |
mailbox | text or null | The shared mailbox it was made for, by its name; null for a person's own. |
page | text | Its page in Tooli. |
Document
A hosted document. Nobody who viewed it is named.
| Name | Type | About |
|---|---|---|
code | text | What it is known by: what follows /d/ in its address, the same value a document.viewed webhook carries. |
url | text | The whole address a reader opens. |
name | text | Its name. |
pages | number or null | Its pages; null when they couldn't be counted. |
size | number | Its size, in bytes. |
version | number | Which file readers get: 1 for the first, one more each time the file is replaced. |
shared | true or false | Shared with the organisation. |
downloadsAllowed | true or false | Readers may download it. |
addedBy | text or null | Who added it: a person's name, or a key's. |
createdAt | text | When it was added. |
archivedAt | text or null | When it was archived; null while it isn't. |
views | number | Every answered request for its page, a machine's too; a signed-in person's own preview is left out. |
automatedViews | number | The views a machine most likely made. They are in views too. |
people | number | Different visitors among the views a person most likely made, told apart by device and network. |
timedViews | number | The views whose time was reported. |
averageReadSeconds | number or null | What one of those took on average, in seconds; null while none was. |
furthestPage | number or null | The furthest page anyone had on screen for a second or more. |
readThrough | number or null | That as a share of its pages, from 0 to 100. |
downloads | number | Its downloads. |
lastViewedAt | text or null | Its latest view. |
viewsByDay | list of number | Views on each of the last seven days (UTC), oldest first. |
page | text | Its page in Tooli. |
Website
A tracked website.
| Name | Type | About |
|---|---|---|
key | text | What it is known by: its site key, the one its snippet carries. |
name | text | Its name. |
origins | list of text | The origins that may report for it, the first one first. |
state | text | Receiving page views now, with none yet, or paused. One of: receiving none paused |
pageViews | number | Every page view stored for it, a machine's too. |
pageViews24h | number | Page views in the last 24 hours. |
visitors24h | number | Different visitors among those a person most likely made. |
lastPageViewAt | text or null | Its latest page view. |
addedBy | text or null | Who added it: a person's name, or a key's. |
createdAt | text | When it was added. |
page | text | Its page in Tooli. |
Visit
A visit to a website: page views close together from one visitor.
| Name | Type | About |
|---|---|---|
id | text | Its first page view's id, as an event's. |
at | text | When it began. |
endedAt | text | When its latest page view was. |
pages | number | Its page views. |
seconds | number | Time looked at, over its timed page views. |
entryPath | text | The first page's path. |
entryTitle | text | The first page's title. |
referrer | text | The host of the page that led to it; empty when typed or unknown. |
class | text | What Tooli took its first request to be. One of: direct gmail_proxy apple_privacy datacenter vpn bot scanner prefetch sender_preview |
automated | true or false | That class is one a machine most likely makes. |
place | object | Where it came from. |
place.country | text or null | The country, as a two-letter code. |
place.region | text or null | The region. |
place.city | text or null | The city. |
network | text or null | The network it came from. |
client | text or null | What the browser said it was. |
visitor | object or null | Its visitor. |
visitor.id | text | The visitor's id, for /api/v1/visitors/{id}. |
visitor.name | text or null | Who Tooli takes it to be, where the caller may see it. |
Visitor
One device on one network, or a browser by its own mark, named only as the app names it for the caller.
| Name | Type | About |
|---|---|---|
id | text | What its page's address is called by: /api/v1/visitors/{id} reads it. It is random, and tells nothing of the device or network. |
name | text or null | Who Tooli takes it to be, where the caller may see why; null when it isn't named for them. |
how | text or null | How sure: certain or probable. One of: certain probable |
firstSeenAt | text | When it was first seen, of what the caller may see. |
lastSeenAt | text | When it was last seen. |
clicks | number | Its clicks. |
documentViews | number | Its document views. |
pageViews | number | Its page views. |
automated | true or false | Its latest request was most likely a machine's. |
place | object | Where its latest request came from. |
place.country | text or null | The country, as a two-letter code. |
place.region | text or null | The region. |
place.city | text or null | The city. |
place.estimated | true or false | Always true, kept for programs that read it. |
network | text or null | The network its latest request came from. |
browser | text or null | Its browser. |
system | text or null | Its operating system. |
website | object or null | The website of its latest page view. |
website.key | text | The website's key. |
website.name | text | The website's name. |
page | text | Its page in Tooli. |
Shared mailbox
A mailbox the organisation owns, shared with people and teams.
| Name | Type | About |
|---|---|---|
id | text | What it is known by. |
name | text | Its name. |
address | text | Its address. |
provider | text | The mail service it was last sent from; empty before anyone has. |
seenBy | text | Who sees it: the people and teams chosen (chosen), or everyone (everyone). One of: chosen everyone |
page | text | Its page in Tooli. |
Member
A person in the organisation.
| Name | Type | About |
|---|---|---|
id | text | What they are known by: the lists' owner filter takes it. |
name | text | Their name. |
email | text | Their email address. |
role | text | Their role. One of: owner admin member viewer |
team | object or null | Their team. |
team.id | text | The team's id. |
team.name | text | Its name. |
joinedAt | text | When they joined. |
lastActiveAt | text or null | When they last used Tooli. |
Team
A team in the organisation.
| Name | Type | About |
|---|---|---|
id | text | What it is known by. |
name | text | Its name. |
lead | text or null | Its lead's name. |
members | list | Its members. |
members[].id | text | The member's id. |
members[].name | text | Their name. |
members[].email | text | Their email address. |
createdAt | text | When it was made. |
Activity
One change, as Organisation → Activity lists it.
| Name | Type | About |
|---|---|---|
at | text | When. |
by | text or null | Who: a person's name, or a key's; null for Tooli itself. |
action | text | What was done, such as link.archive. |
targetType | text or null | What kind of thing it was done to. |
details | object | What it was, as Activity shows it. |
Never-track entry
An address or a domain that is never tracked.
| Name | Type | About |
|---|---|---|
id | text | What it is known by: remove it with DELETE /api/v1/never-track/{id}. |
kind | text | An address or a domain. One of: address domain |
value | text | The address or domain, in lower case. |
list | text | Whose list it is on: the person's own, or the organisation's. One of: own organisation |
addedBy | text or null | Who added it; null for a key. |
addedAt | text | When. |
Webhook
An address the organisation's events are sent to.
| Name | Type | About |
|---|---|---|
id | text | What it is known by. |
url | text | Where it sends. |
events | list of text | The events it sends. |
state | text | Sending (on), paused, or switched off by Tooli after failing for three days (off). One of: on paused off |
lastSentAt | text or null | When it last sent. |
lastOkAt | text or null | When a delivery last got through. |
failsInRow | number | Failed attempts since the last one that got through. |
secretEnding | text | Its signing secret's last four characters. |
createdBy | text or null | Who added it: a person's name, or a key's. |
createdAt | text | When. |
Errors
A refusal is JSON: {"error": {"code": …, "message": …, "details": …, "requestId": …}}. The code says what kind of refusal it is; the message says why, in words a program can match.
| Code | About |
|---|---|
unauthenticated | No key, or a key that isn't known or no longer works. 401. |
forbidden | The key may not do this: an area it wasn't given, a change where it may only read, a role that may not, or an organisation that is suspended or deleted. 403. |
not_found | No such route or record. 404. |
invalid_request | A filter's value or a body isn't one it takes; message names which (unknown_limit, validation_failed …). 400 or 422. |
conflict | The change clashes with what is there now (a slug that is taken, an idempotency key still in use). 409. |
limit_reached | The plan's limit is reached; details says which and how much is used. 403. |
rate_limited | Too many requests this minute: wait as Retry-After says. 429. |
feature_off | That part of Tooli is switched off for now; details.feature names it. 403. |
not_on_plan | The organisation's plan doesn't include this; details.function names it, and details.plan a plan that has it. 403. |
unavailable | Tooli can't answer just now: try again shortly. 503. |
internal | Something went wrong on Tooli's side; requestId helps us find it. 500. |
Messages the API gives
| Message | About |
|---|---|
api_key_required | There is no key in the Authorization header. |
api_key_invalid | The key isn't known, was revoked, or has been rolled for more than 24 hours. |
not_permitted | The key wasn't given this area, or may only read it; or the person's role may not do this. details names the area and what was asked. |
rate_limited | The key made too many requests this minute. |
organisation_suspended | Tooli has suspended the organisation. |
organisation_deleted | The organisation's owner has deleted it. |
idempotency_key_required | A POST with no Idempotency-Key, or one that isn't 16 to 64 letters, digits, - or _. |
idempotency_key_reused | This idempotency key was sent with a different request in the last 24 hours. |
idempotency_key_in_use | The first request with this idempotency key is still being answered: try again in a moment. |
validation_failed | The body isn't what the route takes; details lists each field and why. |
unknown_limit | limit isn't a whole number the list takes. |
unknown_cursor | cursor isn't the next of a page of this list. |
Webhook events
A webhook sends each event to your https address as a POST of JSON, signed by the Standard Webhooks convention (webhook-id, webhook-timestamp, webhook-signature).
| Event | About |
|---|---|
email.viewed | A tracked email is viewed. |
link.clicked | A short link is clicked. |
document.viewed | A document is viewed. |
website.visited | A visit to a website begins. |
reply.received | A reply to a tracked email is noticed in Zoho Mail. |
Your server has 10 seconds to answer with a 2xx. A delivery is tried up to 8 times, waiting 1 min, 5 min, 30 min, 2 h, 5 h, 8 h, 8 h 24 min between tries.