Skip to main content
GET
/
clinical-forms
Listar formularios clínicos
curl --request GET \
  --url https://api.linahealthcareplatform.com/api/v1/clinical-forms \
  --header 'Authorization: Bearer <token>'
import requests

url = "https://api.linahealthcareplatform.com/api/v1/clinical-forms"

headers = {"Authorization": "Bearer <token>"}

response = requests.get(url, headers=headers)

print(response.text)
const options = {method: 'GET', headers: {Authorization: 'Bearer <token>'}};

fetch('https://api.linahealthcareplatform.com/api/v1/clinical-forms', 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://api.linahealthcareplatform.com/api/v1/clinical-forms",
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://api.linahealthcareplatform.com/api/v1/clinical-forms"

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://api.linahealthcareplatform.com/api/v1/clinical-forms")
.header("Authorization", "Bearer <token>")
.asString();
require 'uri'
require 'net/http'

url = URI("https://api.linahealthcareplatform.com/api/v1/clinical-forms")

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
{
  "data": [
    {
      "id": "form_abc123",
      "name": "Escala Visual Analógica (EVA)",
      "type": "assessment",
      "description": "Evaluación del nivel de dolor del paciente",
      "fieldsCount": 5,
      "createdAt": "2026-04-01T10:00:00Z",
      "updatedAt": "2026-04-15T12:00:00Z"
    },
    {
      "id": "form_def456",
      "name": "Cuestionario de seguimiento semanal",
      "type": "followup",
      "description": "Seguimiento post-operatorio estándar",
      "fieldsCount": 12,
      "createdAt": "2026-03-20T08:00:00Z",
      "updatedAt": "2026-05-01T09:00:00Z"
    }
  ],
  "pagination": {
    "cursor": "eyJpZCI6ImZvcm1fZGVmNDU2In0=",
    "hasMore": false,
    "limit": 20
  }
}

Query Parameters

limit
integer
default:"20"
Número de resultados por página (máximo 100).
cursor
string
Cursor de paginación.
type
string
Filtra por tipo de formulario. Valores: survey, assessment, intake, followup.
{
  "data": [
    {
      "id": "form_abc123",
      "name": "Escala Visual Analógica (EVA)",
      "type": "assessment",
      "description": "Evaluación del nivel de dolor del paciente",
      "fieldsCount": 5,
      "createdAt": "2026-04-01T10:00:00Z",
      "updatedAt": "2026-04-15T12:00:00Z"
    },
    {
      "id": "form_def456",
      "name": "Cuestionario de seguimiento semanal",
      "type": "followup",
      "description": "Seguimiento post-operatorio estándar",
      "fieldsCount": 12,
      "createdAt": "2026-03-20T08:00:00Z",
      "updatedAt": "2026-05-01T09:00:00Z"
    }
  ],
  "pagination": {
    "cursor": "eyJpZCI6ImZvcm1fZGVmNDU2In0=",
    "hasMore": false,
    "limit": 20
  }
}
data
array
Lista de formularios disponibles.
data[].fieldsCount
integer
Número de campos que contiene el formulario.

Authorizations

Authorization
string
header
required

Token JWT obtenido via POST /auth/token

Query Parameters

limit
integer
cursor
string

Response

200 - application/json

Formularios

data
object[]