Skip to content
Documentation
pozyskajpacjentaDocs

API v1 · 1.18.0 · SDK 0.17.0

Build on a clinic's live data

The pozyskajpacjenta.pl API gives your frontend the data the clinic's own site is rendered from: pages and blocks, treatments, the team, case studies, posts, the theme and the clinic profile. It books appointments in the clinic's calendar and sends enquiries to its CRM. Everything the clinic publishes in its panel is in the API at once.

Base URL
https://app.pozyskajpacjenta.pl/api/v1
Auth
Bearer key pp_live_…
Rate limit
120 requests per minute per key
Your first request
curl "https://app.pozyskajpacjenta.pl/api/v1/site" \
  -H "Authorization: Bearer $PP_API_KEY"
200 OK (excerpt)
{
  "site": {
    "name": "Klinika Wzorcowa",
    "primaryDomain": "wzorcowa.pozyskajpacjenta.pl",
    "menu": [
      {
        "label": "Strona główna",
        "path": "/"
      },
      {
        "label": "Zabiegi",
        "path": "/zabiegi"
      }
    ],
    "profile": {
      "phone": "+48 22 100 20 30",
      "address": {
        "street": "ul. Przykładowa 12",
        "postalCode": "00-950",
        "city": "Warszawa",
        "district": "Mokotów",
        "accessNote": "Wejście od podwórza, parter, winda."
      },
      "openingHours": {
        "mon": [
          {
            "opens": "08:00",
            "closes": "20:00"
          }
        ]
      }
    },
    "noindex": false
  }
}

Start here

API reference

Six tags. Every endpoint page has request samples in cURL, TypeScript and PHP (WordPress), responses recorded from a running server, and its errors by code.

Versions

API v1 is 1.18.0 and changes only by addition: new endpoints, optional parameters and new fields. A change that tightens behaviour is marked in the changelog. The SDK is 0.17.0. Versioning · Changelog