Skip to main content
PATCH

Authorizations

X-API-Key
string
header
required

API key for external access. Format: tp_live_<32-hex-chars>. Create keys in the TalkPilot Dashboard under Settings > API.

Path Parameters

agentId
string<uuid>
required

Agent UUID

employeeId
string<uuid>
required

Employee UUID

Body

application/json

Partial employee update.

name
string
Required string length: 1 - 255
phone_number
string | null
Maximum string length: 30
email
string<email> | null
status
enum<string>

Employee availability status:

  • anwesend — Present / available
  • urlaub — On vacation
  • krank — Sick leave
  • weiterbildung — In training
  • notdienst — Emergency duty
  • im_termin — In a meeting
  • ausser_haus — Out of office
Available options:
anwesend,
urlaub,
krank,
weiterbildung,
notdienst,
im_termin,
ausser_haus
active
boolean
get_mail
boolean
back_at_work_at
string<date> | null
notdienst_bereich
string | null

Only kept when status is notdienst; a status change away from it clears the area

Response

Updated employee

id
string<uuid>
name
string
phone_number
string | null
email
string<email> | null
status
enum<string>

Employee availability status:

  • anwesend — Present / available
  • urlaub — On vacation
  • krank — Sick leave
  • weiterbildung — In training
  • notdienst — Emergency duty
  • im_termin — In a meeting
  • ausser_haus — Out of office
Available options:
anwesend,
urlaub,
krank,
weiterbildung,
notdienst,
im_termin,
ausser_haus
active
boolean
get_mail
boolean

Whether the employee receives email notifications

agent_id
string<uuid> | null
organization_id
string<uuid> | null
read-only
back_at_work_at
string<date> | null

Expected return date (YYYY-MM-DD) while absent

notdienst_bereich
string | null

Emergency-duty area of the current shift (one of the organization's notdienst_bereiche). Cleared automatically when the status leaves notdienst

created_at
string<date-time>
updated_at
string<date-time>