Skip to content

Mailbox ​

API reference

Operational trigger for tenants that receive purchase orders by e-mail. Integration key only.

Fetch all unread e-mails now ​

POST/email-watcher/fetch-allintegration key

Operational trigger — asks the tenant mailbox watcher to fetch and classify all unread mails immediately instead of at the next interval.

Responses

StatusDescriptionBody
200Successful ResponseFetchAllEmailsResponse
404Resource not foundErrorResponse
bash
curl -X POST "https://acme.aiotic.ai/email-watcher/fetch-all" -H "X-API-Key: $AIOTIC_API_KEY"
python
client.mailbox.fetch_all()

Tenant configuration ​

The tenant's ERP receive endpoint (URL, key, timeout) and the processing webhook are configured in the AIOTIC app by a tenant admin, or by the AIOTIC team during onboarding. They are not part of the integration API: hand the URL and key to your AIOTIC contact, or enter them in the app's settings screen.

Revision 28-051026-58cfad3 · API v1.0.0 · AIOTIC is a product of DevOps Company.