Appearance
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
| Status | Description | Body |
|---|---|---|
200 | Successful Response | FetchAllEmailsResponse |
404 | Resource not found | ErrorResponse |
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.