Adds or upserts a voice phone-number assignment on the target user for the given provider, atomically scoped by organizationId so the user must still belong to the org. Validates the provider and ObjectId formats. Requires SUPERADMIN.
Documentation Index
Fetch the complete documentation index at: https://docs.tetherai.ca/llms.txt
Use this file to discover all available pages before exploring further.
Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
User in the organization who should receive the phone-number assignment; must belong to the calling org.
Voice provider for this number: twilio, sinch, or textgrid.
Phone number to assign in E.164 format (e.g. +14165550102).
When true, makes this the user's default outbound number for the given provider (defaults to true if omitted).
When true, routes inbound calls/SMS for this number to the user (defaults to true if omitted).
Optional human-readable label shown alongside the number in the UI (e.g. "Main Outbound").