{
  "info": {
    "_postman_id": "9f82c1e0-2026-4b11-8a02-waclisecosys",
    "name": "Waclis Ecosystem APIs — WaclisCAL v1 & Waclis Inbox Quickstart (2026)",
    "description": "Colección oficial complementaria con ejemplos sintéticos verificados para **WaclisCAL API REST v1** (`Bearer wcal_evt_...`) y **Waclis Inbox Application API** (`header api_access_token`).",
    "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": "inbox_base_url",
      "value": "https://inbox.waclis.com",
      "type": "string"
    },
    {
      "key": "inbox_account_id",
      "value": "1001",
      "type": "string"
    },
    {
      "key": "inbox_api_access_token",
      "value": "<TU_API_ACCESS_TOKEN_PERSONAL>",
      "type": "string"
    }
  ],
  "item": [
    {
      "name": "WaclisCAL API v1",
      "item": [
        {
          "name": "Obtener OpenAPI 3.0.3 en vivo",
          "request": {
            "method": "GET",
            "header": [
              {
                "key": "Accept",
                "value": "application/json"
              }
            ],
            "url": {
              "raw": "{{cal_base_url}}/api/wacliscal/v1/openapi.json"
            }
          }
        },
        {
          "name": "Consultar disponibilidad de horarios",
          "request": {
            "method": "GET",
            "header": [
              {
                "key": "Authorization",
                "value": "Bearer {{cal_event_token}}"
              },
              {
                "key": "Accept",
                "value": "application/json"
              }
            ],
            "url": {
              "raw": "{{cal_base_url}}/api/wacliscal/v1/event-types/{{cal_event_key}}/availability?from=2026-11-16&to=2026-11-20&time_zone=America/Argentina/Buenos_Aires"
            }
          }
        },
        {
          "name": "Cancelar reserva por UID (POST confirmed: true)",
          "request": {
            "method": "POST",
            "header": [
              {
                "key": "Authorization",
                "value": "Bearer {{cal_event_token}}"
              },
              {
                "key": "Content-Type",
                "value": "application/json"
              }
            ],
            "body": {
              "mode": "raw",
              "raw": "{\n  \"confirmed\": true,\n  \"reason\": \"Reprogramación solicitada por el cliente\"\n}"
            },
            "url": {
              "raw": "{{cal_base_url}}/api/wacliscal/v1/event-types/{{cal_event_key}}/bookings/uid_demo_001/cancel"
            }
          }
        }
      ]
    },
    {
      "name": "Waclis Inbox Application API",
      "item": [
        {
          "name": "Listar contactos de la cuenta",
          "request": {
            "method": "GET",
            "header": [
              {
                "key": "api_access_token",
                "value": "{{inbox_api_access_token}}"
              },
              {
                "key": "Accept",
                "value": "application/json"
              }
            ],
            "url": {
              "raw": "{{inbox_base_url}}/api/v1/accounts/{{inbox_account_id}}/contacts?page=1"
            }
          }
        },
        {
          "name": "Listar conversaciones abiertas",
          "request": {
            "method": "GET",
            "header": [
              {
                "key": "api_access_token",
                "value": "{{inbox_api_access_token}}"
              },
              {
                "key": "Accept",
                "value": "application/json"
              }
            ],
            "url": {
              "raw": "{{inbox_base_url}}/api/v1/accounts/{{inbox_account_id}}/conversations?status=open&page=1"
            }
          }
        }
      ]
    }
  ]
}
