curl --request POST \
--url https://api.atako.ai/users/me \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
{
"name": "<string>",
"company": "<string>",
"phone": "<string>",
"timezone": "<string>",
"acceptTerms": true
}
'import requests
url = "https://api.atako.ai/users/me"
payload = {
"name": "<string>",
"company": "<string>",
"phone": "<string>",
"timezone": "<string>",
"acceptTerms": True
}
headers = {
"Authorization": "Bearer <token>",
"Content-Type": "application/json"
}
response = requests.post(url, json=payload, headers=headers)
print(response.text)const options = {
method: 'POST',
headers: {Authorization: 'Bearer <token>', 'Content-Type': 'application/json'},
body: JSON.stringify({
name: '<string>',
company: '<string>',
phone: '<string>',
timezone: '<string>',
acceptTerms: true
})
};
fetch('https://api.atako.ai/users/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.atako.ai/users/me",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "POST",
CURLOPT_POSTFIELDS => json_encode([
'name' => '<string>',
'company' => '<string>',
'phone' => '<string>',
'timezone' => '<string>',
'acceptTerms' => true
]),
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.atako.ai/users/me"
payload := strings.NewReader("{\n \"name\": \"<string>\",\n \"company\": \"<string>\",\n \"phone\": \"<string>\",\n \"timezone\": \"<string>\",\n \"acceptTerms\": true\n}")
req, _ := http.NewRequest("POST", 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.post("https://api.atako.ai/users/me")
.header("Authorization", "Bearer <token>")
.header("Content-Type", "application/json")
.body("{\n \"name\": \"<string>\",\n \"company\": \"<string>\",\n \"phone\": \"<string>\",\n \"timezone\": \"<string>\",\n \"acceptTerms\": true\n}")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.atako.ai/users/me")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Post.new(url)
request["Authorization"] = 'Bearer <token>'
request["Content-Type"] = 'application/json'
request.body = "{\n \"name\": \"<string>\",\n \"company\": \"<string>\",\n \"phone\": \"<string>\",\n \"timezone\": \"<string>\",\n \"acceptTerms\": true\n}"
response = http.request(request)
puts response.read_body{
"id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"name": "<string>",
"email": "jsmith@example.com",
"timezone": "<string>",
"phone": "<string>",
"companyId": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"photo": "<string>",
"locale": "fr",
"banned": true,
"onboardingEmailsSent": [
"<string>"
],
"lastActiveAt": "2023-11-07T05:31:56Z",
"npsTriggeredAt": "2023-11-07T05:31:56Z",
"termsAcceptedAt": "2023-11-07T05:31:56Z",
"termsVersionId": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"tourSeenAt": "2023-11-07T05:31:56Z",
"storeyToursSeen": {},
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z"
}{
"error": "<string>",
"code": "<string>"
}{
"error": "<string>",
"code": "<string>"
}{
"error": "<string>",
"code": "<string>"
}{
"error": "<string>",
"code": "<string>"
}Upsert your user profile (call on first login)
May create a company if company/teamSize are provided. Phone is normalized to E.164 (national trunk 0 dropped) and silently dropped if unparsable — never blocks signup; an existing phone is never overwritten (PATCH changes it).
curl --request POST \
--url https://api.atako.ai/users/me \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
{
"name": "<string>",
"company": "<string>",
"phone": "<string>",
"timezone": "<string>",
"acceptTerms": true
}
'import requests
url = "https://api.atako.ai/users/me"
payload = {
"name": "<string>",
"company": "<string>",
"phone": "<string>",
"timezone": "<string>",
"acceptTerms": True
}
headers = {
"Authorization": "Bearer <token>",
"Content-Type": "application/json"
}
response = requests.post(url, json=payload, headers=headers)
print(response.text)const options = {
method: 'POST',
headers: {Authorization: 'Bearer <token>', 'Content-Type': 'application/json'},
body: JSON.stringify({
name: '<string>',
company: '<string>',
phone: '<string>',
timezone: '<string>',
acceptTerms: true
})
};
fetch('https://api.atako.ai/users/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.atako.ai/users/me",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "POST",
CURLOPT_POSTFIELDS => json_encode([
'name' => '<string>',
'company' => '<string>',
'phone' => '<string>',
'timezone' => '<string>',
'acceptTerms' => true
]),
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.atako.ai/users/me"
payload := strings.NewReader("{\n \"name\": \"<string>\",\n \"company\": \"<string>\",\n \"phone\": \"<string>\",\n \"timezone\": \"<string>\",\n \"acceptTerms\": true\n}")
req, _ := http.NewRequest("POST", 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.post("https://api.atako.ai/users/me")
.header("Authorization", "Bearer <token>")
.header("Content-Type", "application/json")
.body("{\n \"name\": \"<string>\",\n \"company\": \"<string>\",\n \"phone\": \"<string>\",\n \"timezone\": \"<string>\",\n \"acceptTerms\": true\n}")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.atako.ai/users/me")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Post.new(url)
request["Authorization"] = 'Bearer <token>'
request["Content-Type"] = 'application/json'
request.body = "{\n \"name\": \"<string>\",\n \"company\": \"<string>\",\n \"phone\": \"<string>\",\n \"timezone\": \"<string>\",\n \"acceptTerms\": true\n}"
response = http.request(request)
puts response.read_body{
"id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"name": "<string>",
"email": "jsmith@example.com",
"timezone": "<string>",
"phone": "<string>",
"companyId": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"photo": "<string>",
"locale": "fr",
"banned": true,
"onboardingEmailsSent": [
"<string>"
],
"lastActiveAt": "2023-11-07T05:31:56Z",
"npsTriggeredAt": "2023-11-07T05:31:56Z",
"termsAcceptedAt": "2023-11-07T05:31:56Z",
"termsVersionId": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"tourSeenAt": "2023-11-07T05:31:56Z",
"storeyToursSeen": {},
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z"
}{
"error": "<string>",
"code": "<string>"
}{
"error": "<string>",
"code": "<string>"
}{
"error": "<string>",
"code": "<string>"
}{
"error": "<string>",
"code": "<string>"
}Authorizations
An aik_… programmatic API key (app.atako.ai → Settings → API keys) or a Supabase session JWT.
Body
1solo, under_10, under_50, under_150, under_300, over_300 IANA timezone.
UI locale at signup. Applied on insert only — never overwrites an existing value.
fr, en, de, es, it, pt-BR, nl, pl, sv, da, tr, ja, ko Terms checkbox ticked on /signup. Server stamps termsAcceptedAt and the currently published terms version (termsVersionId) — first acceptance only, never overwritten.
true Response
IANA timezone.
E.164.
Preferred UI/email locale. NULL = no preference recorded yet.
fr, en, de, es, it, pt-BR, nl, pl, sv, da, tr, ja, ko Not returned by GET /users/me (restricted profile).
First terms acceptance (signup checkbox).
Published terms version in force at acceptance (legal_document_versions).
Guided tour finished or skipped. NULL = the web app opens it at next load (first login).
Storey (dashboard | projects | floor | context) → when its guided tour was finished or skipped. A missing storey = its tour opens the first time the user reaches it.
Show child attributes
Show child attributes