Update User
curl --request PUT \
--url https://api.example.com/v1/me \
--header 'Content-Type: application/json' \
--data '
{
"name": "<string>",
"timezone": "<string>"
}
'import requests
url = "https://api.example.com/v1/me"
payload = {
"name": "<string>",
"timezone": "<string>"
}
headers = {"Content-Type": "application/json"}
response = requests.put(url, json=payload, headers=headers)
print(response.text)const options = {
method: 'PUT',
headers: {'Content-Type': 'application/json'},
body: JSON.stringify({name: '<string>', timezone: '<string>'})
};
fetch('https://api.example.com/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.example.com/v1/me",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "PUT",
CURLOPT_POSTFIELDS => json_encode([
'name' => '<string>',
'timezone' => '<string>'
]),
CURLOPT_HTTPHEADER => [
"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.example.com/v1/me"
payload := strings.NewReader("{\n \"name\": \"<string>\",\n \"timezone\": \"<string>\"\n}")
req, _ := http.NewRequest("PUT", url, payload)
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.put("https://api.example.com/v1/me")
.header("Content-Type", "application/json")
.body("{\n \"name\": \"<string>\",\n \"timezone\": \"<string>\"\n}")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.example.com/v1/me")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Put.new(url)
request["Content-Type"] = 'application/json'
request.body = "{\n \"name\": \"<string>\",\n \"timezone\": \"<string>\"\n}"
response = http.request(request)
puts response.read_bodyAccount
Update User
Update user settings like name and timezone
PUT
/
v1
/
me
Update User
curl --request PUT \
--url https://api.example.com/v1/me \
--header 'Content-Type: application/json' \
--data '
{
"name": "<string>",
"timezone": "<string>"
}
'import requests
url = "https://api.example.com/v1/me"
payload = {
"name": "<string>",
"timezone": "<string>"
}
headers = {"Content-Type": "application/json"}
response = requests.put(url, json=payload, headers=headers)
print(response.text)const options = {
method: 'PUT',
headers: {'Content-Type': 'application/json'},
body: JSON.stringify({name: '<string>', timezone: '<string>'})
};
fetch('https://api.example.com/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.example.com/v1/me",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "PUT",
CURLOPT_POSTFIELDS => json_encode([
'name' => '<string>',
'timezone' => '<string>'
]),
CURLOPT_HTTPHEADER => [
"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.example.com/v1/me"
payload := strings.NewReader("{\n \"name\": \"<string>\",\n \"timezone\": \"<string>\"\n}")
req, _ := http.NewRequest("PUT", url, payload)
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.put("https://api.example.com/v1/me")
.header("Content-Type", "application/json")
.body("{\n \"name\": \"<string>\",\n \"timezone\": \"<string>\"\n}")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.example.com/v1/me")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Put.new(url)
request["Content-Type"] = 'application/json'
request.body = "{\n \"name\": \"<string>\",\n \"timezone\": \"<string>\"\n}"
response = http.request(request)
puts response.read_bodyUpdate your account settings. Currently supports updating name and timezone.
Email and phone number changes require verification and must be done through the web interface at Settings.
Request Body
string
Your display name (can be null to clear)
string
Your timezone for timestamps. See GET /v1/timezones for valid values.
Request
curl -X PUT "https://app.transcord.app/api/v1/me" \
-H "Authorization: Bearer tr_live_your_api_key" \
-H "Content-Type: application/json" \
-d '{"name": "John Smith", "timezone": "America/Los_Angeles"}'
const response = await fetch('https://app.transcord.app/api/v1/me', {
method: 'PUT',
headers: {
'Authorization': 'Bearer tr_live_your_api_key',
'Content-Type': 'application/json'
},
body: JSON.stringify({
name: 'John Smith',
timezone: 'America/Los_Angeles'
})
});
const { user } = await response.json();
import requests
response = requests.put(
'https://app.transcord.app/api/v1/me',
headers={
'Authorization': 'Bearer tr_live_your_api_key',
'Content-Type': 'application/json'
},
json={
'name': 'John Smith',
'timezone': 'America/Los_Angeles'
}
)
user = response.json()['user']
Response
Response
{
"user": {
"id": "clx1234567890",
"email": "you@example.com",
"name": "John Smith",
"phoneNumber": "4155555678",
"timezone": "America/Los_Angeles",
"createdAt": "2026-01-01T00:00:00.000Z"
}
}
Errors
| Status | Description |
|---|---|
400 | Invalid timezone or no valid fields provided |
401 | Invalid or missing API key |
⌘I