Retrieve an employee

GET https://api.zenoti.com/v1/employees/{employee_id}

Retrieves the complete profile of a specific employee by their unique identifier.

Before you begin

Permission: Manage API Keys (under Administrator) — Required to access Zenoti APIs.

Endpoint

GET /v1/employees/{employee_id}

Base URL: https://api.zenoti.com

Request

Headers

Header Required Description
Authorization Yes bearer {{access_token}}

Path parameters

Parameter Type Required Description
employee_id string (GUID) Yes Employee identifier

Response

Success (200 OK)

{
  "id": "c1d2e3f4-a5b6-7c8d-9e0f-1a2b3c4d5e6f",
  "code": "EMP001",
  "personal_info": {
    "first_name": "Sarah",
    "last_name": "Johnson",
    "email": "sarah.johnson@example.com",
    "mobile_phone": { "country_code": 1, "number": "2125550456" },
    "gender": 0
  },
  "job_info": {
    "job_id": "d4e5f6a7-b8c9-0d1e-2f3a-4b5c6d7e8f9a",
    "job_name": "Massage Therapist",
    "center_id": "a3614939-16c0-4a7b-bc33-a69b106d855c"
  },
  "error": null
}

Response fields

Field Type Description
id string (GUID) Employee identifier
personal_info object Name, email, phone, gender
job_info object Job title, department, center assignment

Example

curl --request GET \
  --url 'https://api.zenoti.com/v1/employees/c1d2e3f4-a5b6-7c8d-9e0f-1a2b3c4d5e6f' \
  --header 'Authorization: bearer {{access_token}}'
const response = await fetch('https://api.zenoti.com/v1/employees/{employee_id}', {
  method: 'GET',
  headers: {
    'Authorization': 'bearer {{access_token}}'
  },
});
const data = await response.json();
import requests

response = requests.get(
    'https://api.zenoti.com/v1/employees/{employee_id}',
    headers={
        'Authorization': 'bearer {{access_token}}',
    },
)
data = response.json()
using var client = new HttpClient();
client.DefaultRequestHeaders.Add("Authorization", "bearer {{access_token}}");
var response = await client.GetAsync(
    "https://api.zenoti.com/v1/employees/{employee_id}");
var data = await response.Content.ReadAsStringAsync();
require 'net/http'
require 'json'

uri = URI('https://api.zenoti.com/v1/employees/{employee_id}')
http = Net::HTTP.new(uri.host, uri.port)
http.use_ssl = true
request = Net::HTTP::Get.new(uri)
request['Authorization'] = 'bearer {{access_token}}'
response = http.request(request)
data = JSON.parse(response.body)
$ch = curl_init();
curl_setopt($ch, CURLOPT_URL, 'https://api.zenoti.com/v1/employees/{employee_id}');
curl_setopt($ch, CURLOPT_RETURNTRANSFER, true);
curl_setopt($ch, CURLOPT_HTTPHEADER, [
    'Authorization: bearer {{access_token}}'
]);
$response = curl_exec($ch);
curl_close($ch);
$data = json_decode($response, true);

Error codes

Status Description
401 Unauthorized — invalid or expired access token
404 Resource not found
429 Too many requests — rate limit exceeded (60/min)