Update per-user preferences
curl --request PATCH \
--url https://api.orbit.devotel.io/api/v1/me/ \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
{
"voicemail_to_email_enabled": true,
"voicemail_to_email_address": "jsmith@example.com",
"inbox_signature": "<string>"
}
'import requests
url = "https://api.orbit.devotel.io/api/v1/me/"
payload = {
"voicemail_to_email_enabled": True,
"voicemail_to_email_address": "jsmith@example.com",
"inbox_signature": "<string>"
}
headers = {
"Authorization": "Bearer <token>",
"Content-Type": "application/json"
}
response = requests.patch(url, json=payload, headers=headers)
print(response.text)const options = {
method: 'PATCH',
headers: {Authorization: 'Bearer <token>', 'Content-Type': 'application/json'},
body: JSON.stringify({
voicemail_to_email_enabled: true,
voicemail_to_email_address: 'jsmith@example.com',
inbox_signature: '<string>'
})
};
fetch('https://api.orbit.devotel.io/api/v1/me/', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));<?php
$curl = curl_init();
curl_setopt_array($curl, [
CURLOPT_URL => "https://api.orbit.devotel.io/api/v1/me/",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "PATCH",
CURLOPT_POSTFIELDS => json_encode([
'voicemail_to_email_enabled' => true,
'voicemail_to_email_address' => 'jsmith@example.com',
'inbox_signature' => '<string>'
]),
CURLOPT_HTTPHEADER => [
"Authorization: Bearer <token>",
"Content-Type: application/json"
],
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}package main
import (
"fmt"
"strings"
"net/http"
"io"
)
func main() {
url := "https://api.orbit.devotel.io/api/v1/me/"
payload := strings.NewReader("{\n \"voicemail_to_email_enabled\": true,\n \"voicemail_to_email_address\": \"jsmith@example.com\",\n \"inbox_signature\": \"<string>\"\n}")
req, _ := http.NewRequest("PATCH", url, payload)
req.Header.Add("Authorization", "Bearer <token>")
req.Header.Add("Content-Type", "application/json")
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}HttpResponse<String> response = Unirest.patch("https://api.orbit.devotel.io/api/v1/me/")
.header("Authorization", "Bearer <token>")
.header("Content-Type", "application/json")
.body("{\n \"voicemail_to_email_enabled\": true,\n \"voicemail_to_email_address\": \"jsmith@example.com\",\n \"inbox_signature\": \"<string>\"\n}")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.orbit.devotel.io/api/v1/me/")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Patch.new(url)
request["Authorization"] = 'Bearer <token>'
request["Content-Type"] = 'application/json'
request.body = "{\n \"voicemail_to_email_enabled\": true,\n \"voicemail_to_email_address\": \"jsmith@example.com\",\n \"inbox_signature\": \"<string>\"\n}"
response = http.request(request)
puts response.read_body{
"data": {
"updated": true,
"user": {
"voicemail_to_email_enabled": true,
"voicemail_to_email_address": "jsmith@example.com",
"inbox_signature": "<string>"
}
},
"meta": {
"request_id": "<string>",
"timestamp": "2023-11-07T05:31:56Z"
}
}{
"error": {
"code": "<string>",
"message": "<string>",
"status": 123,
"details": "<unknown>"
},
"meta": {
"request_id": "<string>",
"timestamp": "2023-11-07T05:31:56Z"
}
}{
"error": {
"code": "<string>",
"message": "<string>",
"status": 123,
"details": "<unknown>"
},
"meta": {
"request_id": "<string>",
"timestamp": "2023-11-07T05:31:56Z"
}
}{
"error": {
"code": "<string>",
"message": "<string>",
"status": 123,
"details": "<unknown>"
},
"meta": {
"request_id": "<string>",
"timestamp": "2023-11-07T05:31:56Z"
}
}Account
Update per-user preferences
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.
PATCH
/
api
/
v1
/
me
/
Update per-user preferences
curl --request PATCH \
--url https://api.orbit.devotel.io/api/v1/me/ \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
{
"voicemail_to_email_enabled": true,
"voicemail_to_email_address": "jsmith@example.com",
"inbox_signature": "<string>"
}
'import requests
url = "https://api.orbit.devotel.io/api/v1/me/"
payload = {
"voicemail_to_email_enabled": True,
"voicemail_to_email_address": "jsmith@example.com",
"inbox_signature": "<string>"
}
headers = {
"Authorization": "Bearer <token>",
"Content-Type": "application/json"
}
response = requests.patch(url, json=payload, headers=headers)
print(response.text)const options = {
method: 'PATCH',
headers: {Authorization: 'Bearer <token>', 'Content-Type': 'application/json'},
body: JSON.stringify({
voicemail_to_email_enabled: true,
voicemail_to_email_address: 'jsmith@example.com',
inbox_signature: '<string>'
})
};
fetch('https://api.orbit.devotel.io/api/v1/me/', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));<?php
$curl = curl_init();
curl_setopt_array($curl, [
CURLOPT_URL => "https://api.orbit.devotel.io/api/v1/me/",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "PATCH",
CURLOPT_POSTFIELDS => json_encode([
'voicemail_to_email_enabled' => true,
'voicemail_to_email_address' => 'jsmith@example.com',
'inbox_signature' => '<string>'
]),
CURLOPT_HTTPHEADER => [
"Authorization: Bearer <token>",
"Content-Type: application/json"
],
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}package main
import (
"fmt"
"strings"
"net/http"
"io"
)
func main() {
url := "https://api.orbit.devotel.io/api/v1/me/"
payload := strings.NewReader("{\n \"voicemail_to_email_enabled\": true,\n \"voicemail_to_email_address\": \"jsmith@example.com\",\n \"inbox_signature\": \"<string>\"\n}")
req, _ := http.NewRequest("PATCH", url, payload)
req.Header.Add("Authorization", "Bearer <token>")
req.Header.Add("Content-Type", "application/json")
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}HttpResponse<String> response = Unirest.patch("https://api.orbit.devotel.io/api/v1/me/")
.header("Authorization", "Bearer <token>")
.header("Content-Type", "application/json")
.body("{\n \"voicemail_to_email_enabled\": true,\n \"voicemail_to_email_address\": \"jsmith@example.com\",\n \"inbox_signature\": \"<string>\"\n}")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.orbit.devotel.io/api/v1/me/")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Patch.new(url)
request["Authorization"] = 'Bearer <token>'
request["Content-Type"] = 'application/json'
request.body = "{\n \"voicemail_to_email_enabled\": true,\n \"voicemail_to_email_address\": \"jsmith@example.com\",\n \"inbox_signature\": \"<string>\"\n}"
response = http.request(request)
puts response.read_body{
"data": {
"updated": true,
"user": {
"voicemail_to_email_enabled": true,
"voicemail_to_email_address": "jsmith@example.com",
"inbox_signature": "<string>"
}
},
"meta": {
"request_id": "<string>",
"timestamp": "2023-11-07T05:31:56Z"
}
}{
"error": {
"code": "<string>",
"message": "<string>",
"status": 123,
"details": "<unknown>"
},
"meta": {
"request_id": "<string>",
"timestamp": "2023-11-07T05:31:56Z"
}
}{
"error": {
"code": "<string>",
"message": "<string>",
"status": 123,
"details": "<unknown>"
},
"meta": {
"request_id": "<string>",
"timestamp": "2023-11-07T05:31:56Z"
}
}{
"error": {
"code": "<string>",
"message": "<string>",
"status": 123,
"details": "<unknown>"
},
"meta": {
"request_id": "<string>",
"timestamp": "2023-11-07T05:31:56Z"
}
}Authorizations
BearerApiKey
Dashboard JWT token from Clerk
Body
application/json
Softphone widget layout. NULL resets to the platform default.
Available options:
compact_bottom_bar, floating_panel, side_panel, null When TRUE every voicemail assigned to this user triggers an audio-attached email via the dispatcher scheduler.
Alternate routing address. NULL clears to users.email.
Maximum string length:
320Operator signature block (≤ 2 000 chars). NULL or whitespace-only string clears the persisted value.
Maximum string length:
2000⌘I