{
  "name": "Mati API v1",
  "version": "1",
  "items": [
    {
      "name": "Get workspace",
      "request": {
        "method": "GET",
        "url": "https://app.mati-ia.com/api/v1workspaces/:slug",
        "headers": [
          {
            "name": "x-mati-api-key",
            "value": "{{apiKey}}",
            "enabled": true
          }
        ]
      }
    },
    {
      "name": "List services",
      "request": {
        "method": "GET",
        "url": "https://app.mati-ia.com/api/v1workspaces/:slug/services",
        "headers": [
          {
            "name": "x-mati-api-key",
            "value": "{{apiKey}}",
            "enabled": true
          }
        ]
      }
    },
    {
      "name": "Get available slots",
      "request": {
        "method": "GET",
        "url": "https://app.mati-ia.com/api/v1workspaces/:slug/availability",
        "headers": [
          {
            "name": "x-mati-api-key",
            "value": "{{apiKey}}",
            "enabled": true
          }
        ]
      }
    },
    {
      "name": "Get widget config",
      "request": {
        "method": "GET",
        "url": "https://app.mati-ia.com/api/v1workspaces/:slug/config",
        "headers": [
          {
            "name": "x-mati-api-key",
            "value": "{{apiKey}}",
            "enabled": true
          }
        ]
      }
    },
    {
      "name": "List bookings",
      "request": {
        "method": "GET",
        "url": "https://app.mati-ia.com/api/v1workspaces/:slug/bookings",
        "headers": [
          {
            "name": "x-mati-api-key",
            "value": "{{apiKey}}",
            "enabled": true
          }
        ]
      }
    },
    {
      "name": "Create booking",
      "request": {
        "method": "POST",
        "url": "https://app.mati-ia.com/api/v1workspaces/:slug/bookings",
        "headers": [
          {
            "name": "x-mati-api-key",
            "value": "{{apiKey}}",
            "enabled": true
          }
        ],
        "body": {
          "mode": "json",
          "json": "{\n  \"serviceId\": \"string\",\n  \"providerId\": \"string\",\n  \"email\": \"string\",\n  \"name\": \"string\",\n  \"phone\": \"string\",\n  \"date\": \"2026-08-15T10:00:00Z\",\n  \"duration\": 0,\n  \"notes\": \"string\",\n  \"recaptchaToken\": \"string\"\n}"
        }
      }
    },
    {
      "name": "List webhooks",
      "request": {
        "method": "GET",
        "url": "https://app.mati-ia.com/api/v1workspaces/:slug/webhooks",
        "headers": [
          {
            "name": "x-mati-api-key",
            "value": "{{apiKey}}",
            "enabled": true
          }
        ]
      }
    },
    {
      "name": "Create webhook",
      "request": {
        "method": "POST",
        "url": "https://app.mati-ia.com/api/v1workspaces/:slug/webhooks",
        "headers": [
          {
            "name": "x-mati-api-key",
            "value": "{{apiKey}}",
            "enabled": true
          }
        ],
        "body": {
          "mode": "json",
          "json": "{\n  \"name\": \"string\",\n  \"url\": \"string\",\n  \"events\": [\n    \"booking.created\",\n    \"payment.received\"\n  ]\n}"
        }
      }
    },
    {
      "name": "Get webhook",
      "request": {
        "method": "GET",
        "url": "https://app.mati-ia.com/api/v1workspaces/:slug/webhooks/:webhookId",
        "headers": [
          {
            "name": "x-mati-api-key",
            "value": "{{apiKey}}",
            "enabled": true
          }
        ]
      }
    },
    {
      "name": "Update webhook",
      "request": {
        "method": "PATCH",
        "url": "https://app.mati-ia.com/api/v1workspaces/:slug/webhooks/:webhookId",
        "headers": [
          {
            "name": "x-mati-api-key",
            "value": "{{apiKey}}",
            "enabled": true
          }
        ]
      }
    },
    {
      "name": "Delete webhook",
      "request": {
        "method": "DELETE",
        "url": "https://app.mati-ia.com/api/v1workspaces/:slug/webhooks/:webhookId",
        "headers": [
          {
            "name": "x-mati-api-key",
            "value": "{{apiKey}}",
            "enabled": true
          }
        ]
      }
    }
  ]
}