Create a new doctor account for the authenticated institution. If internalCode is provided it acts as an idempotency key — submitting the same value twice returns 409.
Clave API enviada como token Bearer
Request body for creating an institutional doctor account.
254"dr.juan@clinica.com"
1["CARDIOLOGY"]"doctor"
"COLOMBIA"
"es"
"America/Bogota"
500"Dr. Juan Pérez"
255"Sede Norte"
Idempotency key scoped to the institution. Re-submitting the same value returns 409 if the account already exists.
128"DOC-001"
Successful Response
Response body after creating an institutional doctor account.
Account publicId (acc_*). Use this as the identifier in subsequent API calls.
"acc_a1b2c3d4e5f6g7h8"
"dr.juan@clinica.com"
Raw API key for this account. Shown only once — store it securely.
"<shown-once-store-securely>"
"DOC-001"