GET
/api/public/v1/appointment-services

List appointment services

List bookable services for a business.

Query Parameters

NameTypeRequiredDescription
businessIdstring
Required
Business to query.
GETExample request
curl
curl -X GET "https://www.pxb.app/api/public/v1/appointment-services" \
  -H "X-Organization-Id: your_org_id" \
  -H "X-API-Key: your_api_key"
200Example response
json
{
  "message": "Appointment services retrieved successfully!",
  "content": {
    "services": [
      {
        "id": "svc_1",
        "name": "Consultation",
        "duration": 30,
        "price": 5000,
        "isActive": true
      }
    ]
  }
}