{
  "info": {
    "_postman_id": "9f82c1e0-2026-4b11-8a04-wacliscalapi",
    "name": "WaclisCAL Event-Scoped REST API v1 ? Colección Oficial Verificada (2026)",
    "description": "Colección Postman v2.1 oficial para WaclisCAL API REST v1 (`Bearer wcal_evt_...`, los 5 scopes reales `availability.read`, `booking.create`, `booking.read`, `booking.reschedule`, `booking.cancel`, e `Idempotency-Key`).",
    "schema": "https://schema.getpostman.com/json/collection/v2.1.0/collection.json"
  },
  "variable": [
    {
      "key": "cal_base_url",
      "value": "https://cal.waclis.com",
      "type": "string"
    },
    {
      "key": "cal_event_key",
      "value": "evt_demo_consultoria_30m",
      "type": "string"
    },
    {
      "key": "cal_event_token",
      "value": "wcal_evt_SYNTHETIC_EXAMPLE_ONLY",
      "type": "string"
    },
    {
      "key": "cal_booking_uid",
      "value": "bk_uid_demo_001",
      "type": "string"
    }
  ],
  "item": [
    {
      "name": "Obtener especificación OpenAPI 3.0.3 oficial en vivo (GET /api/wacliscal/v1/openapi.json)",
      "request": {
        "method": "GET",
        "header": [
          {
            "key": "Authorization",
            "value": "Bearer {{cal_event_token}}",
            "type": "text"
          },
          {
            "key": "Accept",
            "value": "application/json",
            "type": "text"
          }
        ],
        "url": {
          "raw": "{{cal_base_url}}/api/wacliscal/v1/openapi.json"
        },
        "description": "Obtener especificación OpenAPI 3.0.3 oficial en vivo"
      }
    },
    {
      "name": "Consultar información y duración del Tipo de Evento (scope: availability.read) (GET /api/wacliscal/v1/event-types/{externalEventKey}/info)",
      "request": {
        "method": "GET",
        "header": [
          {
            "key": "Authorization",
            "value": "Bearer {{cal_event_token}}",
            "type": "text"
          },
          {
            "key": "Accept",
            "value": "application/json",
            "type": "text"
          }
        ],
        "url": {
          "raw": "{{cal_base_url}}/api/wacliscal/v1/event-types/{{cal_event_key}}/info"
        },
        "description": "Consultar información y duración del Tipo de Evento (scope: availability.read)"
      }
    },
    {
      "name": "Consultar horarios disponibles en un rango de fechas (scope: availability.read) (GET /api/wacliscal/v1/event-types/{externalEventKey}/availability)",
      "request": {
        "method": "GET",
        "header": [
          {
            "key": "Authorization",
            "value": "Bearer {{cal_event_token}}",
            "type": "text"
          },
          {
            "key": "Accept",
            "value": "application/json",
            "type": "text"
          }
        ],
        "url": {
          "raw": "{{cal_base_url}}/api/wacliscal/v1/event-types/{{cal_event_key}}/availability"
        },
        "description": "Consultar horarios disponibles en un rango de fechas (scope: availability.read)"
      }
    },
    {
      "name": "Crear una reserva en el Tipo de Evento (scope: booking.create) (POST /api/wacliscal/v1/event-types/{externalEventKey}/bookings)",
      "request": {
        "method": "POST",
        "header": [
          {
            "key": "Authorization",
            "value": "Bearer {{cal_event_token}}",
            "type": "text"
          },
          {
            "key": "Accept",
            "value": "application/json",
            "type": "text"
          },
          {
            "key": "Content-Type",
            "value": "application/json",
            "type": "text"
          },
          {
            "key": "Idempotency-Key",
            "value": "idem-demo-20261116-001",
            "type": "text"
          }
        ],
        "url": {
          "raw": "{{cal_base_url}}/api/wacliscal/v1/event-types/{{cal_event_key}}/bookings"
        },
        "description": "Crear una reserva en el Tipo de Evento (scope: booking.create)",
        "body": {
          "mode": "raw",
          "raw": "{\n  \"start\": \"2026-11-16T15:00:00-03:00\",\n  \"time_zone\": \"America/Argentina/Buenos_Aires\",\n  \"attendee\": {\n    \"name\": \"Cliente Demo Sintético\",\n    \"email\": \"demo@ejemplo-sintetico.com.ar\",\n    \"phone\": \"+5491155550199\"\n  },\n  \"notes\": \"Reserva de prueba vía API REST v1\"\n}"
        }
      }
    },
    {
      "name": "Consultar estado de una reserva por UID (scope: booking.read) (GET /api/wacliscal/v1/event-types/{externalEventKey}/bookings/{uid})",
      "request": {
        "method": "GET",
        "header": [
          {
            "key": "Authorization",
            "value": "Bearer {{cal_event_token}}",
            "type": "text"
          },
          {
            "key": "Accept",
            "value": "application/json",
            "type": "text"
          }
        ],
        "url": {
          "raw": "{{cal_base_url}}/api/wacliscal/v1/event-types/{{cal_event_key}}/bookings/{{cal_booking_uid}}"
        },
        "description": "Consultar estado de una reserva por UID (scope: booking.read)"
      }
    },
    {
      "name": "Reprogramar una reserva existente (scope: booking.reschedule) (POST /api/wacliscal/v1/event-types/{externalEventKey}/bookings/{uid}/reschedule)",
      "request": {
        "method": "POST",
        "header": [
          {
            "key": "Authorization",
            "value": "Bearer {{cal_event_token}}",
            "type": "text"
          },
          {
            "key": "Accept",
            "value": "application/json",
            "type": "text"
          },
          {
            "key": "Content-Type",
            "value": "application/json",
            "type": "text"
          }
        ],
        "url": {
          "raw": "{{cal_base_url}}/api/wacliscal/v1/event-types/{{cal_event_key}}/bookings/{{cal_booking_uid}}/reschedule"
        },
        "description": "Reprogramar una reserva existente (scope: booking.reschedule)",
        "body": {
          "mode": "raw",
          "raw": "{\n  \"new_start\": \"2026-11-17T16:00:00-03:00\",\n  \"time_zone\": \"America/Argentina/Buenos_Aires\",\n  \"reason\": \"Cambio de horario solicitado por el asistente\"\n}"
        }
      }
    },
    {
      "name": "Cancelar una reserva existente (scope: booking.cancel; método POST con confirmed: true) (POST /api/wacliscal/v1/event-types/{externalEventKey}/bookings/{uid}/cancel)",
      "request": {
        "method": "POST",
        "header": [
          {
            "key": "Authorization",
            "value": "Bearer {{cal_event_token}}",
            "type": "text"
          },
          {
            "key": "Accept",
            "value": "application/json",
            "type": "text"
          },
          {
            "key": "Content-Type",
            "value": "application/json",
            "type": "text"
          }
        ],
        "url": {
          "raw": "{{cal_base_url}}/api/wacliscal/v1/event-types/{{cal_event_key}}/bookings/{{cal_booking_uid}}/cancel"
        },
        "description": "Cancelar una reserva existente (scope: booking.cancel; método POST con confirmed: true)",
        "body": {
          "mode": "raw",
          "raw": "{\n  \"confirmed\": true,\n  \"reason\": \"Cancelación confirmada por el cliente\"\n}"
        }
      }
    }
  ]
}
