API and webhook limits
What another program meets when it talks to Nudge Tower. Each number is read from the code that enforces it.
Requests
| What | Limit |
| Request body | 2 MB at most. A bigger body is refused with 413. |
| Job manual upload | 60 MB at most, for the one route that takes a job manual. |
| Sign-in for other programs | A person's own session. There are no separate API keys. |
| Request rate | No per-minute limit on the JSON API in the code today. The per-hour limits below still apply. |
Webhooks in (another program sends rows)
| What | Limit |
| Rows per post | 500 at most. More is refused with 413. |
| Rows per day | 5000 per hook per day (UTC). Past that, posts are refused with 429 until the next day, and the job's fix-it list says so. |
| Each row | Checked and filed like a row typed into the app. A bad row goes on the fix-it list; nothing wrong is filed quietly. |
Webhooks out (Nudge Tower tells another program)
| What | Limit |
| Links per job | 10 turned on at most. |
| Address | https by name, on port 443. No number address, no user name or password in it, nothing inside a private network. A redirect is never followed. |
| Handshake | In live mode a new link, or one turned back on, must answer a signed test message with a 2xx status before it is saved or turned on. |
| Failed handshakes | 10 per job per hour. After that, adding or turning on a link waits an hour (429). |
| Signature | Each message is signed: x-nudgetower-signature is sha256= and the HMAC-SHA256 of "<x-nudgetower-timestamp>.<body>" with the link's secret. |
| Waiting for an answer | 8 seconds, then it counts as a failed try. Only the status number is read; the answer's body is never read. |
| Retries | After 1, 5, 30, 120, 720 minutes. 6 tries in all, then it stops and the job's fix-it list says so. |
| Sending pace | 5 messages per link per pass of the sender, 50 per pass in all, oldest first for each link. |
| Message body | JSON: id, event, createdAt and payload. The payload is the record's ref, title, status, due date, the id of the person who holds it, and where the change came from. The code sets no size cap on it. |
| Test messages | 10 per link per hour. |
| Delivery list | The latest 50 per link: time, event, status number and tries. |
Per person, per hour
| What | Limit |
| Spreadsheet and file uploads | 40. |
| Photos | 300. |
| Ask AI messages | 30. |
Nudge Tower · Privacy · Terms