/magic-inboxes/{magicInboxId}

Change the settings of a MagicInbox in place. Only the fields in the body change; an omitted field keeps its value. The inbox keeps its id and its mailbox, so its inbound email address does not change. The body takes the settings a create accepts and is validated the same way; a rejected body changes nothing. The allowed sender addresses belong to the mailbox and are changed with PATCH /mailboxes/{mailboxId}.

Recent Requests
Log in to see full request history
TimeStatusUser Agent
Retrieving recent requests…
LoadingLoading…
Path Params
string
required

The MagicInbox ID

Body Params
string
length between 1 and 100

Human-facing name of the MagicInbox. 1–100 characters. The name is part of an index key, so longer values are rejected up front rather than failing in storage.

string

Internal TransportShape id governing which fields are extracted and what a submitted draft creates. Required.

presets
object

Fixed per-field values that overwrite whatever the AI extracted, keyed by transport field path. Applied after extraction. An update replaces the whole map: send every entry the inbox should keep, not only the changed one.

fallbacks
object

Default per-field values used only where the AI extracted nothing, keyed by transport field path. Never overwrite an extracted value. An update replaces the whole map: send every entry the inbox should keep, not only the changed one.

magicFields
array of objects

Custom LLM extraction prompts, each targeting one transport field or tenant property. The target must be enabled in the TransportShape to take effect. An update replaces the whole list.

magicFields
string

Free-text instructions appended to the AI extraction prompt for this inbox.

string | null

Deprecated. Use enableAutoResolveRFQ, enableAutoRFQ, enableAutoBook, or enableAutoBookElseDelete instead.

string
enum

How inbound emails are classified: 'auto' lets the AI decide booking vs. price request; 'force-rfq' treats all as quote requests; 'force-booking' (default) treats all as bookings. Sets the resulting draft's review-order vs. review-rfq status.

Allowed:
boolean

When a decoded draft is not base-validated, automatically emails the shipper asking them to complete the missing details via Orbit Hub.

boolean

When a decoded draft is base-validated and has at least one product, automatically sends the shipper a price offer.

boolean

When a decoded draft is fully validated, automatically submits the transport and creates the Order without operator review.

boolean

Refines enableAutoBook: a draft that is not fully validated is deleted instead of being left for review. Requires enableAutoBook.

boolean

Only takes effect when enableAutoBook is on. If a decoded pickup or dropoff time window already ended earlier on the current day (Europe/Berlin), the auto-book replaces it with a window from now until 23:59 of that day and books; windows on previous days are not changed and the draft stays for review.

boolean

When set, shipper matching prefers the direct sender (SMTP from) over a forwarded-from address extracted from the email body.

orderDocumentTypes
array of strings

MIME types of email content auto-attached as Documents on the created Order, matched regardless of case and parameters; any XML attachment matches an XML type and any JSON attachment the JSON type. The special 'emailPdf' value attaches a PDF rendering of the email itself. Attached documents are operator-only: hidden from carrier and shipper. Defaults to none. An update replaces the whole list.

orderDocumentTypes
integer
0 to 9007199254740991

The revision the inbox was read at. When set and the inbox was written since, the update is refused and nothing changes; read the inbox again and reapply. Omit it to update whatever is stored.

Responses

400

Bad request: body validation failure

401

unauthorized

403

The role of the API key does not allow this action. The key needs a role with the matching permission, for example full access.

404

MagicInbox or transport shape not found

409

The MagicInbox was changed concurrently; retry

412

expectedRevision is not the inbox's revision: it changed since it was read

Language
Credentials
Header
URL
LoadingLoading…
Response
Click Try It! to start a request and see the response here! Or choose an example:
application/json