Skip to main content
PATCH
Update a doctor account

Authorizations

Authorization
string
header
required

API key passed as a Bearer token

Path Parameters

account_id
string
required

Body

application/json

Request body for updating an institutional doctor account. Send only the fields to change; any other field is rejected with 400.

nameFull
string | null
Required string length: 1 - 500
Example:

"Dr. Juan Pérez"

doctorSpecialties
enum<string>[] | null

Replaces the account's specialties. Accepts either the specialty key ('CARDIOLOGY') or value ('cardiology'); always persisted as the value.

Minimum array length: 1
Available options:
acupuncture,
alternativeMedicine,
ayurvedicMedicine,
chiropractic,
herbalMedicine,
homeopathy,
naturopathy,
traditionalChineseMedicine,
cosmeticDentistry,
dentistry,
developmentalBehavioralPediatrics,
endodontics,
forensicDentistry,
maxillofacialProsthodontics,
oralMaxillofacialSurgery,
oralMedicine,
oralPathology,
oralSurgery,
orthodontics,
pediatricDentistry,
periodontics,
prosthodontics,
addictionPsychiatry,
adolescentMedicine,
aerospaceMedicine,
allergyImmunology,
andrology,
anesthesiology,
anesthesiologyCriticalCare,
bariatricSurgery,
breastRadiology,
breastSurgery,
cardiacSurgery,
cardiovascularSurgery,
cardiology,
cardiovascularDisease,
cardiovascularRiskProgram,
childAbusePediatrics,
childAdolescentPsychiatry,
childNeurology,
childWelfareSocialWork,
clinicalNeurophysiology,
clinicalSocialWork,
colorectalSurgery,
communityMedicine,
communitySocialWork,
consultationLiaisonPsychiatry,
cosmeticDermatology,
craniofacialTrauma,
dermatology,
dermoscopy,
diabetes,
diagnosticRadiology,
electrophysiology,
emergencyCriticalCare,
emergencyMedicine,
emergencyPsychiatry,
endocrineSurgery,
endocrinology,
epilepsy,
facialPlasticSurgery,
familyMedicine,
familySocialWork,
footAnkleSurgery,
forensicPsychiatry,
forensicSocialWork,
gastroenterology,
generalMedicine,
generalMedicinePsychiatry,
generalSurgery,
geriatricMedicine,
geriatricPsychiatry,
geriatricSocialWork,
ginecology,
gynecologicOncology,
gynecologicSurgery,
gynecology,
handSurgery,
headNeckSurgery,
headacheMedicine,
heartFailureTransplantCardiology,
hematology,
hepatobiliarySurgery,
hipKneeSurgery,
hospitalist,
infectiousDisease,
internalCriticalCare,
internalMedicine,
interventionalCardiology,
interventionalRadiology,
maternalFetalMedicine,
medicalSocialWork,
militarySocialWork,
minimallyInvasiveGynecologicSurgery,
mohsSurgery,
musculoskeletalRadiology,
neonatology,
nephrology,
neurocriticalCare,
neuroimmunology,
neurology,
neuromuscularMedicine,
neuroradiology,
neurorehabilitation,
neurosurgery,
neurotology,
nuclearMedicine,
obstetrics,
obstetricsGynecology,
occupationalMedicine,
occupationalSocialWork,
oculoplasticSurgery,
oncology,
oncologySocialWork,
ophthalmology,
orthopedicHandSurgery,
orthopedicSportsMedicine,
orthopedicTrauma,
orthopedics,
otolaryngology,
painMedicine,
palliativeMedicine,
palliativeSocialWork,
pediatricAllergyImmunology,
pediatricAnesthesiology,
pediatricCardiology,
pediatricCriticalCare,
pediatricDermatology,
pediatricEmergencyMedicine,
pediatricEndocrinology,
pediatricENT,
pediatricGastroenterology,
pediatricHematologyOncology,
pediatricInfectiousDisease,
pediatricNephrology,
pediatricNeurology,
pediatricCardiacSurgery,
pediatricOncology,
pediatricOphthalmology,
pediatricOrthopedics,
pediatricPalliativeCare,
pediatricPulmonology,
pediatricRadiology,
pediatricRheumatology,
pediatricSocialWork,
pediatricSurgery,
pediatricTrauma,
pediatricUrology,
pediatrics,
perinatalPsychiatry,
physicalMedicineRehab,
plasticSurgery,
prenatalCareProgram,
preventiveMedicine,
psychiatricSocialWork,
psychiatry,
psychosomaticMedicine,
publicHealth,
pulmonaryDisease,
pulmonology,
radiationOncologist,
radiationOncology,
reproductiveEndocrinology,
retinaSurgery,
rheumatology,
riasProgram,
manager,
schoolSocialWork,
shoulderElbowSurgery,
sleepMedicine,
socialWork,
spinalCordInjury,
spinalTrauma,
spineSurgery,
sportsMedicine,
substanceAbuseSocialWork,
surgicalOncology,
telemedicine,
thoracicSurgery,
transplantHepatology,
transplantSurgery,
traumaSurgery,
traumatology,
triage,
unknown,
urgentCare,
urologicOncology,
urology,
vascularSurgery,
nursing,
clinicalNutrition,
eatingDisorderNutrition,
gastroenterologicNutrition,
geriatricNutrition,
nutrition,
oncologyNutrition,
pediatricNutrition,
renalNutrition,
sportsNutrition,
clinicalPsychology,
counselingPsychology,
developmentalPsychology,
forensicPsychology,
geropsychology,
healthPsychology,
industrialOrganizationalPsychology,
militaryPsychology,
neuropsychology,
positivePsychology,
psychology,
rehabilitationPsychology,
schoolPsychology,
sportsPsychology,
occupationalTherapy,
physicalTherapy,
respiratoryTherapy,
speechTherapy,
therapy,
other
Example:
internalCode
string | null

Your institution's code for this account. It can be set only on an account that has no internalCode, for example an account created through an invitation. Sending the stored value again changes nothing. A different value returns 409: contact Telepatia support to change a stored code. Each internalCode identifies one account of your institution.

Required string length: 1 - 128
Example:

"DOC-001"

Response

Successful Response

Response body for fetching an institutional doctor account.

id
string
required

Account publicId (acc_*).

Example:

"acc_a1b2c3d4e5f6g7h8"

email
string
required
Example:

"dr.juan@clinica.com"

doctorSpecialties
enum<string>[]
required
Available options:
acupuncture,
alternativeMedicine,
ayurvedicMedicine,
chiropractic,
herbalMedicine,
homeopathy,
naturopathy,
traditionalChineseMedicine,
cosmeticDentistry,
dentistry,
developmentalBehavioralPediatrics,
endodontics,
forensicDentistry,
maxillofacialProsthodontics,
oralMaxillofacialSurgery,
oralMedicine,
oralPathology,
oralSurgery,
orthodontics,
pediatricDentistry,
periodontics,
prosthodontics,
addictionPsychiatry,
adolescentMedicine,
aerospaceMedicine,
allergyImmunology,
andrology,
anesthesiology,
anesthesiologyCriticalCare,
bariatricSurgery,
breastRadiology,
breastSurgery,
cardiacSurgery,
cardiovascularSurgery,
cardiology,
cardiovascularDisease,
cardiovascularRiskProgram,
childAbusePediatrics,
childAdolescentPsychiatry,
childNeurology,
childWelfareSocialWork,
clinicalNeurophysiology,
clinicalSocialWork,
colorectalSurgery,
communityMedicine,
communitySocialWork,
consultationLiaisonPsychiatry,
cosmeticDermatology,
craniofacialTrauma,
dermatology,
dermoscopy,
diabetes,
diagnosticRadiology,
electrophysiology,
emergencyCriticalCare,
emergencyMedicine,
emergencyPsychiatry,
endocrineSurgery,
endocrinology,
epilepsy,
facialPlasticSurgery,
familyMedicine,
familySocialWork,
footAnkleSurgery,
forensicPsychiatry,
forensicSocialWork,
gastroenterology,
generalMedicine,
generalMedicinePsychiatry,
generalSurgery,
geriatricMedicine,
geriatricPsychiatry,
geriatricSocialWork,
ginecology,
gynecologicOncology,
gynecologicSurgery,
gynecology,
handSurgery,
headNeckSurgery,
headacheMedicine,
heartFailureTransplantCardiology,
hematology,
hepatobiliarySurgery,
hipKneeSurgery,
hospitalist,
infectiousDisease,
internalCriticalCare,
internalMedicine,
interventionalCardiology,
interventionalRadiology,
maternalFetalMedicine,
medicalSocialWork,
militarySocialWork,
minimallyInvasiveGynecologicSurgery,
mohsSurgery,
musculoskeletalRadiology,
neonatology,
nephrology,
neurocriticalCare,
neuroimmunology,
neurology,
neuromuscularMedicine,
neuroradiology,
neurorehabilitation,
neurosurgery,
neurotology,
nuclearMedicine,
obstetrics,
obstetricsGynecology,
occupationalMedicine,
occupationalSocialWork,
oculoplasticSurgery,
oncology,
oncologySocialWork,
ophthalmology,
orthopedicHandSurgery,
orthopedicSportsMedicine,
orthopedicTrauma,
orthopedics,
otolaryngology,
painMedicine,
palliativeMedicine,
palliativeSocialWork,
pediatricAllergyImmunology,
pediatricAnesthesiology,
pediatricCardiology,
pediatricCriticalCare,
pediatricDermatology,
pediatricEmergencyMedicine,
pediatricEndocrinology,
pediatricENT,
pediatricGastroenterology,
pediatricHematologyOncology,
pediatricInfectiousDisease,
pediatricNephrology,
pediatricNeurology,
pediatricCardiacSurgery,
pediatricOncology,
pediatricOphthalmology,
pediatricOrthopedics,
pediatricPalliativeCare,
pediatricPulmonology,
pediatricRadiology,
pediatricRheumatology,
pediatricSocialWork,
pediatricSurgery,
pediatricTrauma,
pediatricUrology,
pediatrics,
perinatalPsychiatry,
physicalMedicineRehab,
plasticSurgery,
prenatalCareProgram,
preventiveMedicine,
psychiatricSocialWork,
psychiatry,
psychosomaticMedicine,
publicHealth,
pulmonaryDisease,
pulmonology,
radiationOncologist,
radiationOncology,
reproductiveEndocrinology,
retinaSurgery,
rheumatology,
riasProgram,
manager,
schoolSocialWork,
shoulderElbowSurgery,
sleepMedicine,
socialWork,
spinalCordInjury,
spinalTrauma,
spineSurgery,
sportsMedicine,
substanceAbuseSocialWork,
surgicalOncology,
telemedicine,
thoracicSurgery,
transplantHepatology,
transplantSurgery,
traumaSurgery,
traumatology,
triage,
unknown,
urgentCare,
urologicOncology,
urology,
vascularSurgery,
nursing,
clinicalNutrition,
eatingDisorderNutrition,
gastroenterologicNutrition,
geriatricNutrition,
nutrition,
oncologyNutrition,
pediatricNutrition,
renalNutrition,
sportsNutrition,
clinicalPsychology,
counselingPsychology,
developmentalPsychology,
forensicPsychology,
geropsychology,
healthPsychology,
industrialOrganizationalPsychology,
militaryPsychology,
neuropsychology,
positivePsychology,
psychology,
rehabilitationPsychology,
schoolPsychology,
sportsPsychology,
occupationalTherapy,
physicalTherapy,
respiratoryTherapy,
speechTherapy,
therapy,
other
Example:
enabled
boolean
required
Example:

true

createdAt
string
required
Example:

"2024-01-15T10:30:00Z"

nameFull
string | null
Example:

"Dr. Juan Pérez"

internalCode
string | null
Example:

"DOC-001"

roles
string[]

Account roles, e.g. doctor or institutional.

Example: