1. Knowledge Base
  2. API Documentation

[API Endpoint] Locations

Overview

This API endpoint allows you to obtain a list of your registered clinic locations for your PabauCRM clinic.

Endpoint

GET /OAuth2/locations/get_locations_v1.php

Route

GET /OAuth2/locations/get_locations_v1.php?api_key=your_api_key&company=your_company_id&section=locations

Parameters

Below are a list of the attributes you can currently pass into Pabau.

Our API Endpoint expects three parameters:

  • api_key(string)

  • company(int)

  • section(string)

Sample Response

"id": "558871",
"location_name": "Leicester",
"default": 1