Consultar una cita por ID
curl --request GET \
--url https://scribe-api.telepatia.ai/v1/appointments/{appointment_id} \
--header 'Authorization: Bearer <token>'import requests
url = "https://scribe-api.telepatia.ai/v1/appointments/{appointment_id}"
headers = {"Authorization": "Bearer <token>"}
response = requests.get(url, headers=headers)
print(response.text)const options = {method: 'GET', headers: {Authorization: 'Bearer <token>'}};
fetch('https://scribe-api.telepatia.ai/v1/appointments/{appointment_id}', 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://scribe-api.telepatia.ai/v1/appointments/{appointment_id}",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "GET",
CURLOPT_HTTPHEADER => [
"Authorization: Bearer <token>"
],
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}package main
import (
"fmt"
"net/http"
"io"
)
func main() {
url := "https://scribe-api.telepatia.ai/v1/appointments/{appointment_id}"
req, _ := http.NewRequest("GET", url, nil)
req.Header.Add("Authorization", "Bearer <token>")
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}HttpResponse<String> response = Unirest.get("https://scribe-api.telepatia.ai/v1/appointments/{appointment_id}")
.header("Authorization", "Bearer <token>")
.asString();require 'uri'
require 'net/http'
url = URI("https://scribe-api.telepatia.ai/v1/appointments/{appointment_id}")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Get.new(url)
request["Authorization"] = 'Bearer <token>'
response = http.request(request)
puts response.read_body{
"appointmentType": "follow-up",
"consultationInternalId": "CONSULT-12345",
"createdAt": "2026-08-28T12:00:00.000Z",
"end": "2026-09-01T14:30:00.000Z",
"id": "apt_a1b2c3d4e5f6g7h8",
"minutesDuration": 30,
"reason": "Follow-up",
"serviceType": "cardiology",
"start": "2026-09-01T14:00:00.000Z",
"status": "booked"
}{
"error": {
"type": "authentication_error",
"code": "authentication_required",
"message": "Invalid API key.",
"requestId": "3f9a1c2e-5b7d-4a21-9f0c-8e6d4b2a1c30"
}
}{
"error": {
"type": "invalid_request_error",
"code": "resource_not_found",
"message": "No session scribe found for the given consultation ID.",
"requestId": "3f9a1c2e-5b7d-4a21-9f0c-8e6d4b2a1c30"
}
}{
"error": {
"type": "api_error",
"code": "service_unavailable",
"message": "The service is temporarily unavailable. Please try again later.",
"requestId": "3f9a1c2e-5b7d-4a21-9f0c-8e6d4b2a1c30"
}
}Citas
Consultar una cita por ID
Consulta una cita por su id público (apt_) o el consultationInternalId que enviaste al crearla.
GET
/
v1
/
appointments
/
{appointment_id}
Consultar una cita por ID
curl --request GET \
--url https://scribe-api.telepatia.ai/v1/appointments/{appointment_id} \
--header 'Authorization: Bearer <token>'import requests
url = "https://scribe-api.telepatia.ai/v1/appointments/{appointment_id}"
headers = {"Authorization": "Bearer <token>"}
response = requests.get(url, headers=headers)
print(response.text)const options = {method: 'GET', headers: {Authorization: 'Bearer <token>'}};
fetch('https://scribe-api.telepatia.ai/v1/appointments/{appointment_id}', 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://scribe-api.telepatia.ai/v1/appointments/{appointment_id}",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "GET",
CURLOPT_HTTPHEADER => [
"Authorization: Bearer <token>"
],
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}package main
import (
"fmt"
"net/http"
"io"
)
func main() {
url := "https://scribe-api.telepatia.ai/v1/appointments/{appointment_id}"
req, _ := http.NewRequest("GET", url, nil)
req.Header.Add("Authorization", "Bearer <token>")
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}HttpResponse<String> response = Unirest.get("https://scribe-api.telepatia.ai/v1/appointments/{appointment_id}")
.header("Authorization", "Bearer <token>")
.asString();require 'uri'
require 'net/http'
url = URI("https://scribe-api.telepatia.ai/v1/appointments/{appointment_id}")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Get.new(url)
request["Authorization"] = 'Bearer <token>'
response = http.request(request)
puts response.read_body{
"appointmentType": "follow-up",
"consultationInternalId": "CONSULT-12345",
"createdAt": "2026-08-28T12:00:00.000Z",
"end": "2026-09-01T14:30:00.000Z",
"id": "apt_a1b2c3d4e5f6g7h8",
"minutesDuration": 30,
"reason": "Follow-up",
"serviceType": "cardiology",
"start": "2026-09-01T14:00:00.000Z",
"status": "booked"
}{
"error": {
"type": "authentication_error",
"code": "authentication_required",
"message": "Invalid API key.",
"requestId": "3f9a1c2e-5b7d-4a21-9f0c-8e6d4b2a1c30"
}
}{
"error": {
"type": "invalid_request_error",
"code": "resource_not_found",
"message": "No session scribe found for the given consultation ID.",
"requestId": "3f9a1c2e-5b7d-4a21-9f0c-8e6d4b2a1c30"
}
}{
"error": {
"type": "api_error",
"code": "service_unavailable",
"message": "The service is temporarily unavailable. Please try again later.",
"requestId": "3f9a1c2e-5b7d-4a21-9f0c-8e6d4b2a1c30"
}
}Autorizaciones
Clave API enviada como token Bearer
Parámetros de ruta
Respuesta
Respuesta exitosa
A single appointment. id is the stable public id (apt_...).
Stable public identifier.
Ejemplo:
"apt_a1b2c3d4e5f6g7h8"
Ejemplo:
"booked"
ISO-8601 timestamp when the appointment was created.
Ejemplo:
"CONSULT-12345"
Ejemplo:
"2026-09-01T14:00:00.000Z"
Ejemplo:
"2026-09-01T14:30:00.000Z"
Ejemplo:
30
Ejemplo:
"cardiology"
Ejemplo:
"follow-up"
Ejemplo:
"Follow-up"
Ejemplo:
"Routine check"