Latest API and SDK updates. Subscribe via RSS · Discord
Summary
Inboxes now support custom metadata: your own key-value data attached to any inbox. Link an inbox to records in your own system, such as a tenant ID, user ID, or feature flags, and read it back on every inbox response. Build agents that carry your application’s context wherever an inbox goes.
What’s new?
New features:
- Inbox metadata: Attach custom key-value pairs to an inbox. Values may be a string, number, or boolean, with up to 256 keys per inbox.
Changes:
- The
Inboxobject now includes an optionalmetadatafield, returned on get, list, and create responses. POST /v0/inboxesaccepts ametadatafield to set metadata at creation time.PATCH /v0/inboxes/:inbox_idaccepts ametadatafield. Updates merge into existing metadata: keys you include are added or overwritten, and keys you omit are preserved. Send a key with a null value to remove it, or setmetadatato null to clear everything. Each update must include at least one ofdisplay_nameormetadata.
Use cases
Build agents that:
- Tag each inbox with a tenant or customer ID so you can map inboxes back to your own data model
- Store per-inbox feature flags or routing hints that your agent reads at runtime
- Track lifecycle state, such as an onboarding step or campaign name, directly on the inbox
- Filter and organize a large fleet of inboxes by the attributes that matter to your application
Learn more about attaching and updating inbox data in the Inboxes metadata guide.
