PynathPynath

REST API Reference v1.0

Base URL: https://booking.pynath.com/api/v1

curl -X GET "https://booking.pynath.com/api/v1/bookings?limit=10" \
  -H "Authorization: Bearer pyn_live_98a72b3c4d5e" \
  -H "Content-Type: application/json"

Available Endpoints

GET/api/v1/bookings

Retrieve a paginated list of all bookings. Returns the most recent appointments first.

Query Parameters
ParameterTypeDescription
pageintegerPage number
limitintegerRecords per page (Max 100)
statusstringFilter by status (e.g. CONFIRMED)
serviceIdstringFilter by specific service UUID
POST/api/v1/bookings

Programmatically create a new appointment for a service. Automatically checks availability and updates real-time counters.

GET/api/v1/services

Retrieve all active service offerings configured in your business catalog.

Query Parameters
ParameterTypeDescription
pageinteger
limitinteger
GET/api/v1/customers

Retrieve a paginated list of all customer profiles in your system.

Query Parameters
ParameterTypeDescription
pageinteger
limitinteger