Custom Attributes
Tag bots with your own metadata and get it back everywhere
custom_attributes is a free-form string map you attach at create_bot. MeetStream never interprets it — it just echoes it back everywhere, which makes it the backbone of routing, attribution, and multi-tenant bookkeeping.
Set at create time
CLI: meetstream bot create <link> --attr customer_id=cus_8842 --attr environment=production.
Where it comes back
- Every webhook event. Each delivery carries your
custom_attributesverbatim — route events to the right tenant handler without any lookup table:
- List Bots filtering. Query your fleet by attribute with
custom_attr[...]params (conditions combine with AND):
-
Status and detail endpoints return them alongside the bot’s state.
-
The Usage dashboard shows per-bot metadata in its cost breakdown — so per-customer usage attribution falls out for free. See Usage & Retention.
Patterns that work well
- Multi-tenant routing:
customer_idon every bot; webhook handlers dispatch on it with zero database reads. - Idempotent job tracking: put your queue’s
job_idin attributes, and pair with adeduplication_keyso retries never double-book the meeting. - Environment separation: tag
environment: staging|productionand filter List Bots per environment — or go further and use separate workspaces with separate keys.
