Skip to main content

Account API

The authenticated user’s profile, preferences, and speed-dial favorites Base path: /api/v1/me Endpoint count: 6

Get the authenticated user

GET /api/v1/me/
Returns the authenticated user plus the active tenant and the list of organizations the user belongs to. The mobile client uses this to bootstrap post-login (replaces the legacy EXPO_PUBLIC_ORBIT_TENANT_ID env-var hack). The dashboard uses the same shape for the org-picker + Settings → Profile cards.

GET /api/v1/me/favorites

GET /api/v1/me/favorites

POST /api/v1/me/favorites

POST /api/v1/me/favorites
target_kind
string (enum: pstn|extension|contact_id|sip)
required
What kind of dial target this favorite points at — pstn for an E.164 phone number, sip for a sip: URI, extension for an internal extension, or contact_id for a saved contact.
target_value
string
required
The dial target itself, matching target_kind: an E.164 number for pstn (e.g. +14155552671), a sip: URI for sip, or a free-form identifier for extension / contact_id (1–512 characters).
label
string | null
Optional display label shown next to the favorite in the dialpad (up to 64 characters). Omit or send null for no label.
sort_order
integer
Optional position used to order favorites in the dialpad, lowest first. Defaults to 0; range 0–100000.

Update per-user preferences

PATCH /api/v1/me/
Partial update of the authenticated user’s preferences. Only fields supplied in the body are written. Returns the updated subset so the FE can confirm the persisted value without a second GET.
softphone_layout
string | null (enum: compact_bottom_bar|floating_panel|side_panel|null)
Softphone widget layout. NULL resets to the platform default.
voicemail_to_email_enabled
boolean
When TRUE every voicemail assigned to this user triggers an audio-attached email via the dispatcher scheduler.
voicemail_to_email_address
string | null
Alternate routing address. NULL clears to users.email.
inbox_signature
string | null
Operator signature block (≤ 2 000 chars). NULL or whitespace-only string clears the persisted value.

PATCH /api/v1/me/favorites/

PATCH /api/v1/me/favorites/{id}
id
string
required
label
string | null
New display label for the favorite (up to 64 characters). Send null to clear the existing label.
sort_order
integer
New position used to order favorites in the dialpad, lowest first. Range 0–100000.

DELETE /api/v1/me/favorites/

DELETE /api/v1/me/favorites/{id}
id
string
required