Follow

Get Clients

Overview

This code allows you to obtain a list of clients from Pabau.

Endpoint

GET /OAuth2/clients/get_clients.php

Route

GET/OAuth2/clients/get_clients.php?key=123&date=23-10-2017

Parameters

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

* = Required

Name Description
date required  d-m-Y (the date you wish to retrieve appointments for.
key required  Your API key.
company_id required Your Company ID

 

 
 

Sample Response

appointments": [
{
"contact_id": "13117807",
"Salutation": "None",
"first_name": "George (Sample)",
"last_name": "Best",
"email": "clientemail13@client.com",
"phone": "077 1234 5678",
"mobile": "07781654321",
"lead_source": "",
"DOB": "0000-00-00",
"mailing_street": "101 Victoria Street",
"other_street": "",
"mailing_city": "London",
"mailing_county": "London",
"mailing_country": "United Kingdom",
"MailingPostal": "SW91 9DF",
"gender": "",
"avatar": "https://prelive-crm.pabau.com/1379794389.jpg",
"opt_in_email": null,
"opt_in_phone": null,
"opt_in_post": null,
"opt_in_sms": null,
"opt_in_newsletter": null,
"marketing_source": "0",
"custom_id": "",
"medical_alerts": "",
"contact_custom_fields": {}
},
Was this article helpful?
0 out of 0 found this helpful
Have more questions? Submit a request

0 Comments

Please sign in to leave a comment.