{
	"info": {
		"_postman_id": "62f187e1-8037-4e29-9cba-362cd7f22a34",
		"name": "Setster Scheduling API",
		"description": "The Setster API is used to control your account’s data programmatically. The API is organized around REST and standard HTTP verbs. A consistent envelope is used for all responses alongside response codes to indicate the status of the message and any error codes. JSON is returned on all our API responses with a consistent structure for all messages.",
		"schema": "https://schema.getpostman.com/json/collection/v2.1.0/collection.json",
		"_exporter_id": "5302990"
	},
	"item": [
		{
			"name": "Authentication",
			"item": [
				{
					"name": "Authenticate Get Session Token",
					"event": [
						{
							"listen": "test",
							"script": {
								"exec": [
									"var jsonData = JSON.parse(responseBody);",
									"pm.collectionVariables.set(\"SESSION_TOKEN\", jsonData.data.session_token);",
									"pm.collectionVariables.set(\"company_id\", jsonData.data.user.company_id);"
								],
								"type": "text/javascript"
							}
						}
					],
					"request": {
						"method": "POST",
						"header": [],
						"url": {
							"raw": "{{baseUrl}}/account/authenticate?email={{email}}&token={{API_TOKEN}}&company_id={{company_id}}",
							"host": [
								"{{baseUrl}}"
							],
							"path": [
								"account",
								"authenticate"
							],
							"query": [
								{
									"key": "email",
									"value": "{{email}}",
									"description": "(Required) Account owner email address"
								},
								{
									"key": "token",
									"value": "{{API_TOKEN}}",
									"description": "(Required) API key"
								},
								{
									"key": "company_id",
									"value": "{{company_id}}"
								}
							]
						},
						"description": "The first step to using the Setster API is to authenticate. \nAuthentication is done using your secret API Key and the account-owner email. \nIn the returned response, the session_token should be used for all consecutive API calls. \nPlease note the session, and the session_token expires periodically, and re-authentication will be required. We recommended you follow standard practices and develop an authentication methodology within your application to keep the connection open."
					},
					"response": [
						{
							"name": "successful operation",
							"originalRequest": {
								"method": "POST",
								"header": [],
								"url": {
									"raw": "{{baseUrl}}/account/authenticate?email=<email>&token=<string>",
									"host": [
										"{{baseUrl}}"
									],
									"path": [
										"account",
										"authenticate"
									],
									"query": [
										{
											"key": "email",
											"value": "<email>"
										},
										{
											"key": "token",
											"value": "<string>"
										}
									]
								}
							},
							"status": "OK",
							"code": 200,
							"_postman_previewlanguage": "json",
							"header": [
								{
									"key": "Content-Type",
									"value": "application/json"
								}
							],
							"cookie": [],
							"body": "{\n \"statusCode\": \"<integer>\",\n \"statusDescriptions\": \"<string>\",\n \"data\": {\n  \"user\": {\n   \"id\": \"<integer>\",\n   \"company_id\": \"<integer>\",\n   \"account_type\": \"<integer>\",\n   \"enable_locations\": \"<boolean>\",\n   \"intuit_user_id\": \"<integer>\",\n   \"nick_name\": \"<string>\",\n   \"is_owner\": \"<boolean>\",\n   \"enabled\": \"<boolean>\"\n  },\n  \"session_token\": \"<string>\"\n }\n}"
						},
						{
							"name": "Account is not active or Incorrect API key",
							"originalRequest": {
								"method": "POST",
								"header": [],
								"url": {
									"raw": "{{baseUrl}}/account/authenticate?email=<email>&token=<string>",
									"host": [
										"{{baseUrl}}"
									],
									"path": [
										"account",
										"authenticate"
									],
									"query": [
										{
											"key": "email",
											"value": "<email>"
										},
										{
											"key": "token",
											"value": "<string>"
										}
									]
								}
							},
							"status": "Unauthorized",
							"code": 401,
							"_postman_previewlanguage": "json",
							"header": [
								{
									"key": "Content-Type",
									"value": "application/json"
								}
							],
							"cookie": [],
							"body": "{\n \"statusCode\": \"<integer>\",\n \"statusDescriptions\": \"<string>\",\n \"data\": \"<object>\"\n}"
						}
					]
				}
			]
		},
		{
			"name": "Basic Appointment Booking",
			"item": [
				{
					"name": "1. Authenticate Get Session Token",
					"event": [
						{
							"listen": "test",
							"script": {
								"exec": [
									"var jsonData = JSON.parse(responseBody);",
									"pm.collectionVariables.set(\"SESSION_TOKEN\", jsonData.data.session_token);",
									"pm.collectionVariables.set(\"company_id\", jsonData.data.user.company_id);",
									"",
									"",
									""
								],
								"type": "text/javascript"
							}
						}
					],
					"request": {
						"method": "POST",
						"header": [],
						"url": {
							"raw": "{{baseUrl}}/account/authenticate?email={{email}}&token={{API_TOKEN}}&company_id={{company_id}}",
							"host": [
								"{{baseUrl}}"
							],
							"path": [
								"account",
								"authenticate"
							],
							"query": [
								{
									"key": "email",
									"value": "{{email}}",
									"description": "(Required) Account owner email address"
								},
								{
									"key": "token",
									"value": "{{API_TOKEN}}",
									"description": "(Required) API key"
								},
								{
									"key": "company_id",
									"value": "{{company_id}}"
								}
							]
						},
						"description": "The first step to using the Setster API is to authenticate. \nAuthentication is done using your secret API Key and the account-owner email. \nIn the returned response, the session_token should be used for all consecutive API calls. \nPlease note the session, and the session_token expires periodically, and re-authentication will be required. We recommended you follow standard practices and develop an authentication methodology within your application to keep the connection open."
					},
					"response": [
						{
							"name": "successful operation",
							"originalRequest": {
								"method": "POST",
								"header": [],
								"url": {
									"raw": "{{baseUrl}}/account/authenticate?email=<email>&token=<string>",
									"host": [
										"{{baseUrl}}"
									],
									"path": [
										"account",
										"authenticate"
									],
									"query": [
										{
											"key": "email",
											"value": "<email>"
										},
										{
											"key": "token",
											"value": "<string>"
										}
									]
								}
							},
							"status": "OK",
							"code": 200,
							"_postman_previewlanguage": "json",
							"header": [
								{
									"key": "Content-Type",
									"value": "application/json"
								}
							],
							"cookie": [],
							"body": "{\n \"statusCode\": \"<integer>\",\n \"statusDescriptions\": \"<string>\",\n \"data\": {\n  \"user\": {\n   \"id\": \"<integer>\",\n   \"company_id\": \"<integer>\",\n   \"account_type\": \"<integer>\",\n   \"enable_locations\": \"<boolean>\",\n   \"intuit_user_id\": \"<integer>\",\n   \"nick_name\": \"<string>\",\n   \"is_owner\": \"<boolean>\",\n   \"enabled\": \"<boolean>\"\n  },\n  \"session_token\": \"<string>\"\n }\n}"
						},
						{
							"name": "Account is not active or Incorrect API key",
							"originalRequest": {
								"method": "POST",
								"header": [],
								"url": {
									"raw": "{{baseUrl}}/account/authenticate?email=<email>&token=<string>",
									"host": [
										"{{baseUrl}}"
									],
									"path": [
										"account",
										"authenticate"
									],
									"query": [
										{
											"key": "email",
											"value": "<email>"
										},
										{
											"key": "token",
											"value": "<string>"
										}
									]
								}
							},
							"status": "Unauthorized",
							"code": 401,
							"_postman_previewlanguage": "json",
							"header": [
								{
									"key": "Content-Type",
									"value": "application/json"
								}
							],
							"cookie": [],
							"body": "{\n \"statusCode\": \"<integer>\",\n \"statusDescriptions\": \"<string>\",\n \"data\": \"<object>\"\n}"
						}
					]
				},
				{
					"name": "2. List Locations (Select Location)",
					"request": {
						"auth": {
							"type": "apikey",
							"apikey": [
								{
									"key": "value",
									"value": "{{SESSION_TOKEN}}",
									"type": "string"
								},
								{
									"key": "key",
									"value": "session_token",
									"type": "string"
								},
								{
									"key": "in",
									"value": "query",
									"type": "string"
								}
							]
						},
						"method": "GET",
						"header": [],
						"url": {
							"raw": "{{baseUrl}}/location?company_id={{company_id}}",
							"host": [
								"{{baseUrl}}"
							],
							"path": [
								"location"
							],
							"query": [
								{
									"key": "id",
									"value": "<integer>",
									"description": "Location ID",
									"disabled": true
								},
								{
									"key": "company_id",
									"value": "{{company_id}}",
									"description": "(Required) Company id"
								},
								{
									"key": "name",
									"value": "<string>",
									"disabled": true
								},
								{
									"key": "description",
									"value": "<string>",
									"disabled": true
								},
								{
									"key": "street1",
									"value": "<string>",
									"disabled": true
								},
								{
									"key": "street2",
									"value": "<string>",
									"disabled": true
								},
								{
									"key": "city",
									"value": "<string>",
									"disabled": true
								},
								{
									"key": "state",
									"value": "<string>",
									"disabled": true
								},
								{
									"key": "zip",
									"value": "<string>",
									"disabled": true
								},
								{
									"key": "phone",
									"value": "<string>",
									"disabled": true
								},
								{
									"key": "email",
									"value": "<string>",
									"disabled": true
								},
								{
									"key": "website",
									"value": "<string>",
									"disabled": true
								},
								{
									"key": "lat",
									"value": "<number>",
									"disabled": true
								},
								{
									"key": "lng",
									"value": "<number>",
									"disabled": true
								},
								{
									"key": "country",
									"value": "<string>",
									"disabled": true
								},
								{
									"key": "tags",
									"value": "<string>",
									"disabled": true
								},
								{
									"key": "photo",
									"value": "<string>",
									"disabled": true
								},
								{
									"key": "paypal_email",
									"value": "<string>",
									"disabled": true
								},
								{
									"key": "timezone_id",
									"value": "<integer>",
									"description": "The timezone id",
									"disabled": true
								},
								{
									"key": "virtual",
									"value": "<boolean>",
									"disabled": true
								},
								{
									"key": "tmp_default",
									"value": "<boolean>",
									"disabled": true
								},
								{
									"key": "has_links",
									"value": "<boolean>",
									"disabled": true
								},
								{
									"key": "include_links",
									"value": "<boolean>",
									"disabled": true
								}
							]
						},
						"description": "Get a list of all locations and their attributes."
					},
					"response": [
						{
							"name": "successful operation",
							"originalRequest": {
								"method": "GET",
								"header": [],
								"url": {
									"raw": "{{baseUrl}}/location?id=<integer>&company_id=<integer>&name=<string>&description=<string>&street1=<string>&street2=<string>&city=<string>&state=<string>&zip=<string>&phone=<string>&email=<string>&website=<string>&lat=<number>&lng=<number>&country=<string>&tags=<string>&photo=<string>&paypal_email=<string>&timezone_id=<integer>&virtual=<boolean>&tmp_default=<boolean>&has_links=<boolean>&include_links=<boolean>&session_token=<API Key>",
									"host": [
										"{{baseUrl}}"
									],
									"path": [
										"location"
									],
									"query": [
										{
											"key": "id",
											"value": "<integer>"
										},
										{
											"key": "company_id",
											"value": "<integer>"
										},
										{
											"key": "name",
											"value": "<string>"
										},
										{
											"key": "description",
											"value": "<string>"
										},
										{
											"key": "street1",
											"value": "<string>"
										},
										{
											"key": "street2",
											"value": "<string>"
										},
										{
											"key": "city",
											"value": "<string>"
										},
										{
											"key": "state",
											"value": "<string>"
										},
										{
											"key": "zip",
											"value": "<string>"
										},
										{
											"key": "phone",
											"value": "<string>"
										},
										{
											"key": "email",
											"value": "<string>"
										},
										{
											"key": "website",
											"value": "<string>"
										},
										{
											"key": "lat",
											"value": "<number>"
										},
										{
											"key": "lng",
											"value": "<number>"
										},
										{
											"key": "country",
											"value": "<string>"
										},
										{
											"key": "tags",
											"value": "<string>"
										},
										{
											"key": "photo",
											"value": "<string>"
										},
										{
											"key": "paypal_email",
											"value": "<string>"
										},
										{
											"key": "timezone_id",
											"value": "<integer>"
										},
										{
											"key": "virtual",
											"value": "<boolean>"
										},
										{
											"key": "tmp_default",
											"value": "<boolean>"
										},
										{
											"key": "has_links",
											"value": "<boolean>"
										},
										{
											"key": "include_links",
											"value": "<boolean>"
										},
										{
											"key": "session_token",
											"value": "<API Key>"
										}
									]
								}
							},
							"status": "OK",
							"code": 200,
							"_postman_previewlanguage": "json",
							"header": [
								{
									"key": "Content-Type",
									"value": "application/json"
								}
							],
							"cookie": [],
							"body": "{\n \"statusCode\": \"<integer>\",\n \"statusDescriptions\": \"<string>\",\n \"data\": [\n  {\n   \"company_id\": \"<long>\",\n   \"name\": \"<string>\",\n   \"id\": \"<long>\",\n   \"description\": \"\",\n   \"is_main\": false,\n   \"virtual\": false,\n   \"street1\": \"<string>\",\n   \"street2\": \"<string>\",\n   \"city\": \"<string>\",\n   \"state\": \"<string>\",\n   \"zip\": \"<string>\",\n   \"country\": \"<string>\",\n   \"photo\": \"<uri>\",\n   \"phone\": \"\",\n   \"email\": \"<email>\",\n   \"website\": \"<uri>\",\n   \"tags\": \"\",\n   \"paypal_email\": \"<email>\",\n   \"timezone_id\": \"<string>\",\n   \"lat\": \"<float>\",\n   \"lng\": \"<float>\",\n   \"ord\": 0\n  },\n  {\n   \"company_id\": \"<long>\",\n   \"name\": \"<string>\",\n   \"id\": \"<long>\",\n   \"description\": \"\",\n   \"is_main\": false,\n   \"virtual\": false,\n   \"street1\": \"<string>\",\n   \"street2\": \"<string>\",\n   \"city\": \"<string>\",\n   \"state\": \"<string>\",\n   \"zip\": \"<string>\",\n   \"country\": \"<string>\",\n   \"photo\": \"<uri>\",\n   \"phone\": \"\",\n   \"email\": \"<email>\",\n   \"website\": \"<uri>\",\n   \"tags\": \"\",\n   \"paypal_email\": \"<email>\",\n   \"timezone_id\": \"<string>\",\n   \"lat\": \"<float>\",\n   \"lng\": \"<float>\",\n   \"ord\": 0\n  }\n ]\n}"
						}
					]
				},
				{
					"name": "3. List Employees (Select an Employee) - Optional",
					"request": {
						"auth": {
							"type": "apikey",
							"apikey": [
								{
									"key": "value",
									"value": "{{SESSION_TOKEN}}",
									"type": "string"
								},
								{
									"key": "key",
									"value": "session_token",
									"type": "string"
								},
								{
									"key": "in",
									"value": "query",
									"type": "string"
								}
							]
						},
						"method": "GET",
						"header": [],
						"url": {
							"raw": "{{baseUrl}}/employee?company_id={{company_id}}",
							"host": [
								"{{baseUrl}}"
							],
							"path": [
								"employee"
							],
							"query": [
								{
									"key": "id",
									"value": "<integer>",
									"description": "Employee id",
									"disabled": true
								},
								{
									"key": "company_id",
									"value": "{{company_id}}",
									"description": "(Required) Company id"
								},
								{
									"key": "statuses",
									"value": "<string>",
									"description": "By default only active employees are returned. This filter allows to return all the employees, including the inactive ones",
									"disabled": true
								},
								{
									"key": "status",
									"value": "<integer>",
									"disabled": true
								},
								{
									"key": "include_links",
									"value": "<boolean>",
									"disabled": true
								},
								{
									"key": "email",
									"value": "<string>",
									"disabled": true
								},
								{
									"key": "first_name",
									"value": "<string>",
									"disabled": true
								},
								{
									"key": "last_name",
									"value": "<string>",
									"disabled": true
								},
								{
									"key": "job",
									"value": "<string>",
									"disabled": true
								},
								{
									"key": "bio",
									"value": "<string>",
									"disabled": true
								},
								{
									"key": "phone",
									"value": "<string>",
									"disabled": true
								},
								{
									"key": "photo_url",
									"value": "<string>",
									"disabled": true
								},
								{
									"key": "public_email",
									"value": "<boolean>",
									"disabled": true
								},
								{
									"key": "public_phone",
									"value": "<boolean>",
									"disabled": true
								},
								{
									"key": "receivesms",
									"value": "<boolean>",
									"disabled": true
								},
								{
									"key": "sms_email",
									"value": "<string>",
									"disabled": true
								},
								{
									"key": "intuit_user_id",
									"value": "<string>",
									"disabled": true
								},
								{
									"key": "ipp_mode",
									"value": "<integer>",
									"disabled": true
								},
								{
									"key": "intuit_auth_id",
									"value": "<string>",
									"disabled": true
								},
								{
									"key": "intuit_realm_id",
									"value": "<string>",
									"disabled": true
								},
								{
									"key": "intuit_ticket_id",
									"value": "<string>",
									"disabled": true
								},
								{
									"key": "newsletter",
									"value": "<boolean>",
									"disabled": true
								},
								{
									"key": "is_owner",
									"value": "<boolean>",
									"disabled": true
								},
								{
									"key": "ics_service",
									"value": "<string>",
									"disabled": true
								},
								{
									"key": "ics_export_service",
									"value": "<string>",
									"disabled": true
								},
								{
									"key": "ics_url",
									"value": "<string>",
									"disabled": true
								},
								{
									"key": "ics_export_hash",
									"value": "<string>",
									"disabled": true
								},
								{
									"key": "google_export_canceled",
									"value": "<boolean>",
									"disabled": true
								},
								{
									"key": "google_export_add_pt",
									"value": "<boolean>",
									"disabled": true
								},
								{
									"key": "username",
									"value": "<string>",
									"disabled": true
								},
								{
									"key": "nickname",
									"value": "<string>",
									"disabled": true
								},
								{
									"key": "linkedin",
									"value": "<uri>",
									"disabled": true
								},
								{
									"key": "yelp",
									"value": "<uri>",
									"disabled": true
								},
								{
									"key": "pinterest",
									"value": "<uri>",
									"disabled": true
								},
								{
									"key": "vimeo",
									"value": "<uri>",
									"disabled": true
								},
								{
									"key": "youtube",
									"value": "<uri>",
									"disabled": true
								},
								{
									"key": "twitter",
									"value": "<uri>",
									"disabled": true
								},
								{
									"key": "facebook",
									"value": "<uri>",
									"disabled": true
								}
							]
						},
						"description": "Get a list of all employees and their attributes."
					},
					"response": [
						{
							"name": "successful operation",
							"originalRequest": {
								"method": "GET",
								"header": [],
								"url": {
									"raw": "{{baseUrl}}/employee?id=<integer>&company_id=<integer>&statuses=<string>&status=<integer>&include_links=<boolean>&email=<string>&first_name=<string>&last_name=<string>&job=<string>&bio=<string>&phone=<string>&photo_url=<string>&public_email=<boolean>&public_phone=<boolean>&receivesms=<boolean>&sms_email=<string>&intuit_user_id=<string>&ipp_mode=<integer>&intuit_auth_id=<string>&intuit_realm_id=<string>&intuit_ticket_id=<string>&newsletter=<boolean>&is_owner=<boolean>&ics_service=<string>&ics_export_service=<string>&ics_url=<string>&ics_export_hash=<string>&google_export_canceled=<boolean>&google_export_add_pt=<boolean>&username=<string>&nickname=<string>&linkedin=<uri>&yelp=<uri>&pinterest=<uri>&vimeo=<uri>&youtube=<uri>&twitter=<uri>&facebook=<uri>&session_token=<API Key>",
									"host": [
										"{{baseUrl}}"
									],
									"path": [
										"employee"
									],
									"query": [
										{
											"key": "id",
											"value": "<integer>"
										},
										{
											"key": "company_id",
											"value": "<integer>"
										},
										{
											"key": "statuses",
											"value": "<string>"
										},
										{
											"key": "status",
											"value": "<integer>"
										},
										{
											"key": "include_links",
											"value": "<boolean>"
										},
										{
											"key": "email",
											"value": "<string>"
										},
										{
											"key": "first_name",
											"value": "<string>"
										},
										{
											"key": "last_name",
											"value": "<string>"
										},
										{
											"key": "job",
											"value": "<string>"
										},
										{
											"key": "bio",
											"value": "<string>"
										},
										{
											"key": "phone",
											"value": "<string>"
										},
										{
											"key": "photo_url",
											"value": "<string>"
										},
										{
											"key": "public_email",
											"value": "<boolean>"
										},
										{
											"key": "public_phone",
											"value": "<boolean>"
										},
										{
											"key": "receivesms",
											"value": "<boolean>"
										},
										{
											"key": "sms_email",
											"value": "<string>"
										},
										{
											"key": "intuit_user_id",
											"value": "<string>"
										},
										{
											"key": "ipp_mode",
											"value": "<integer>"
										},
										{
											"key": "intuit_auth_id",
											"value": "<string>"
										},
										{
											"key": "intuit_realm_id",
											"value": "<string>"
										},
										{
											"key": "intuit_ticket_id",
											"value": "<string>"
										},
										{
											"key": "newsletter",
											"value": "<boolean>"
										},
										{
											"key": "is_owner",
											"value": "<boolean>"
										},
										{
											"key": "ics_service",
											"value": "<string>"
										},
										{
											"key": "ics_export_service",
											"value": "<string>"
										},
										{
											"key": "ics_url",
											"value": "<string>"
										},
										{
											"key": "ics_export_hash",
											"value": "<string>"
										},
										{
											"key": "google_export_canceled",
											"value": "<boolean>"
										},
										{
											"key": "google_export_add_pt",
											"value": "<boolean>"
										},
										{
											"key": "username",
											"value": "<string>"
										},
										{
											"key": "nickname",
											"value": "<string>"
										},
										{
											"key": "linkedin",
											"value": "<uri>"
										},
										{
											"key": "yelp",
											"value": "<uri>"
										},
										{
											"key": "pinterest",
											"value": "<uri>"
										},
										{
											"key": "vimeo",
											"value": "<uri>"
										},
										{
											"key": "youtube",
											"value": "<uri>"
										},
										{
											"key": "twitter",
											"value": "<uri>"
										},
										{
											"key": "facebook",
											"value": "<uri>"
										},
										{
											"key": "session_token",
											"value": "<API Key>"
										}
									]
								}
							},
							"status": "OK",
							"code": 200,
							"_postman_previewlanguage": "json",
							"header": [
								{
									"key": "Content-Type",
									"value": "application/json"
								}
							],
							"cookie": [],
							"body": "{\n \"statusCode\": \"<integer>\",\n \"statusDescriptions\": \"<string>\",\n \"data\": [\n  {\n   \"company_id\": \"<long>\",\n   \"email\": \"<email>\",\n   \"first_name\": \"<string>\",\n   \"last_name\": \"<string>\",\n   \"id\": \"<long>\",\n   \"job\": \"<string>\",\n   \"bio\": \"<string>\",\n   \"phone\": \"<string>\",\n   \"photo_url\": \"<uri>\",\n   \"public_email\": false,\n   \"public_phone\": false,\n   \"status\": false,\n   \"username\": \"<string>\",\n   \"nickname\": \"<string>\",\n   \"linkedin\": \"\",\n   \"yelp\": \"<uri>\",\n   \"pinterest\": \"<uri>\",\n   \"vimeo\": \"<uri>\",\n   \"youtube\": \"<uri>\",\n   \"twitter\": \"<uri>\",\n   \"facebook\": \"<uri>\",\n   \"receivesms\": false,\n   \"sms_email\": \"<email>\",\n   \"intuit_user_id\": \"<string>\",\n   \"ipp_mode\": \"<integer>\",\n   \"intuit_auth_id\": \"<string>\",\n   \"intuit_db_id\": \"<string>\",\n   \"intuit_realm_id\": \"<string>\",\n   \"intuit_ticket_id\": \"<string>\",\n   \"newsletter\": \"<integer>\",\n   \"is_owner\": false,\n   \"ics_service\": 0,\n   \"ics_export_service\": 0,\n   \"ics_url\": \"<uri>\",\n   \"ics_export_hash\": \"<string>\",\n   \"google_export_canceled\": 0,\n   \"google_export_add_pt\": 0,\n   \"ord\": 0,\n   \"ics_export_url\": \"<string>\",\n   \"permissions\": \"<string>\",\n   \"can_login\": \"<boolean>\"\n  },\n  {\n   \"company_id\": \"<long>\",\n   \"email\": \"<email>\",\n   \"first_name\": \"<string>\",\n   \"last_name\": \"<string>\",\n   \"id\": \"<long>\",\n   \"job\": \"<string>\",\n   \"bio\": \"<string>\",\n   \"phone\": \"<string>\",\n   \"photo_url\": \"<uri>\",\n   \"public_email\": false,\n   \"public_phone\": false,\n   \"status\": false,\n   \"username\": \"<string>\",\n   \"nickname\": \"<string>\",\n   \"linkedin\": \"\",\n   \"yelp\": \"<uri>\",\n   \"pinterest\": \"<uri>\",\n   \"vimeo\": \"<uri>\",\n   \"youtube\": \"<uri>\",\n   \"twitter\": \"<uri>\",\n   \"facebook\": \"<uri>\",\n   \"receivesms\": false,\n   \"sms_email\": \"<email>\",\n   \"intuit_user_id\": \"<string>\",\n   \"ipp_mode\": \"<integer>\",\n   \"intuit_auth_id\": \"<string>\",\n   \"intuit_db_id\": \"<string>\",\n   \"intuit_realm_id\": \"<string>\",\n   \"intuit_ticket_id\": \"<string>\",\n   \"newsletter\": \"<integer>\",\n   \"is_owner\": false,\n   \"ics_service\": 0,\n   \"ics_export_service\": 0,\n   \"ics_url\": \"<uri>\",\n   \"ics_export_hash\": \"<string>\",\n   \"google_export_canceled\": 0,\n   \"google_export_add_pt\": 0,\n   \"ord\": 0,\n   \"ics_export_url\": \"<string>\",\n   \"permissions\": \"<string>\",\n   \"can_login\": \"<boolean>\"\n  }\n ]\n}"
						}
					]
				},
				{
					"name": "4. List services (Select a Service)",
					"request": {
						"auth": {
							"type": "apikey",
							"apikey": [
								{
									"key": "value",
									"value": "{{SESSION_TOKEN}}",
									"type": "string"
								},
								{
									"key": "key",
									"value": "session_token",
									"type": "string"
								},
								{
									"key": "in",
									"value": "query",
									"type": "string"
								}
							]
						},
						"method": "GET",
						"header": [],
						"url": {
							"raw": "{{baseUrl}}/service?company_id={{company_id}}",
							"host": [
								"{{baseUrl}}"
							],
							"path": [
								"service"
							],
							"query": [
								{
									"key": "id",
									"value": "<integer>",
									"description": "Service id",
									"disabled": true
								},
								{
									"key": "company_id",
									"value": "{{company_id}}",
									"description": "(Required) Company id"
								},
								{
									"key": "location_id",
									"value": "<integer>",
									"description": "Location id",
									"disabled": true
								},
								{
									"key": "active_services",
									"value": "false",
									"description": "Return only active services",
									"disabled": true
								},
								{
									"key": "description",
									"value": "<string>",
									"disabled": true
								},
								{
									"key": "auto_confirm",
									"value": "<boolean>",
									"disabled": true
								},
								{
									"key": "is_subservice",
									"value": "<boolean>",
									"disabled": true
								},
								{
									"key": "duration",
									"value": "<integer>",
									"disabled": true
								},
								{
									"key": "duration_padding",
									"value": "<integer>",
									"disabled": true
								},
								{
									"key": "max_clients",
									"value": "<integer>",
									"disabled": true
								},
								{
									"key": "prior_notice",
									"value": "<integer>",
									"disabled": true
								},
								{
									"key": "after_notice",
									"value": "<integer>",
									"disabled": true
								},
								{
									"key": "cancel_appointment",
									"value": "<integer>",
									"disabled": true
								},
								{
									"key": "reschedule_appointment",
									"value": "<integer>",
									"disabled": true
								},
								{
									"key": "send_reminder",
									"value": "<integer>",
									"disabled": true
								},
								{
									"key": "start_step",
									"value": "<integer>",
									"disabled": true
								},
								{
									"key": "set_schedule",
									"value": "<integer>",
									"disabled": true
								},
								{
									"key": "price",
									"value": "<integer>",
									"disabled": true
								},
								{
									"key": "payment_min_amount",
									"value": "<number>",
									"disabled": true
								},
								{
									"key": "allow_cash_payment",
									"value": "<boolean>",
									"disabled": true
								},
								{
									"key": "group_session",
									"value": "<integer>",
									"disabled": true
								},
								{
									"key": "waiting_list",
									"value": "<integer>",
									"disabled": true
								},
								{
									"key": "client_instructions",
									"value": "<string>",
									"disabled": true
								},
								{
									"key": "widget_message",
									"value": "<string>",
									"disabled": true
								},
								{
									"key": "password",
									"value": "<string>",
									"disabled": true
								},
								{
									"key": "active_from",
									"value": "<dateTime>",
									"disabled": true
								},
								{
									"key": "active_until",
									"value": "<dateTime>",
									"disabled": true
								},
								{
									"key": "active_interval_status",
									"value": "<boolean>",
									"disabled": true
								},
								{
									"key": "status",
									"value": "<boolean>",
									"disabled": true
								},
								{
									"key": "photo",
									"value": "<string>",
									"disabled": true
								},
								{
									"key": "active_rules",
									"value": "<boolean>",
									"disabled": true
								},
								{
									"key": "tmp_default",
									"value": "<boolean>",
									"disabled": true
								}
							]
						},
						"description": "Get a list of all services and their attributes."
					},
					"response": [
						{
							"name": "successful operation",
							"originalRequest": {
								"method": "GET",
								"header": [],
								"url": {
									"raw": "{{baseUrl}}/service?id=<integer>&company_id=<integer>&location_id=<integer>&active_services=false&description=<string>&auto_confirm=<boolean>&is_subservice=<boolean>&duration=<integer>&duration_padding=<integer>&max_clients=<integer>&prior_notice=<integer>&after_notice=<integer>&cancel_appointment=<integer>&reschedule_appointment=<integer>&send_reminder=<integer>&start_step=<integer>&set_schedule=<integer>&price=<integer>&payment_min_amount=<number>&allow_cash_payment=<boolean>&group_session=<integer>&waiting_list=<integer>&client_instructions=<string>&widget_message=<string>&password=<string>&active_from=<dateTime>&active_until=<dateTime>&active_interval_status=<boolean>&status=<boolean>&photo=<string>&active_rules=<boolean>&tmp_default=<boolean>&session_token=<API Key>",
									"host": [
										"{{baseUrl}}"
									],
									"path": [
										"service"
									],
									"query": [
										{
											"key": "id",
											"value": "<integer>"
										},
										{
											"key": "company_id",
											"value": "<integer>"
										},
										{
											"key": "location_id",
											"value": "<integer>"
										},
										{
											"key": "active_services",
											"value": "false"
										},
										{
											"key": "description",
											"value": "<string>"
										},
										{
											"key": "auto_confirm",
											"value": "<boolean>"
										},
										{
											"key": "is_subservice",
											"value": "<boolean>"
										},
										{
											"key": "duration",
											"value": "<integer>"
										},
										{
											"key": "duration_padding",
											"value": "<integer>"
										},
										{
											"key": "max_clients",
											"value": "<integer>"
										},
										{
											"key": "prior_notice",
											"value": "<integer>"
										},
										{
											"key": "after_notice",
											"value": "<integer>"
										},
										{
											"key": "cancel_appointment",
											"value": "<integer>"
										},
										{
											"key": "reschedule_appointment",
											"value": "<integer>"
										},
										{
											"key": "send_reminder",
											"value": "<integer>"
										},
										{
											"key": "start_step",
											"value": "<integer>"
										},
										{
											"key": "set_schedule",
											"value": "<integer>"
										},
										{
											"key": "price",
											"value": "<integer>"
										},
										{
											"key": "payment_min_amount",
											"value": "<number>"
										},
										{
											"key": "allow_cash_payment",
											"value": "<boolean>"
										},
										{
											"key": "group_session",
											"value": "<integer>"
										},
										{
											"key": "waiting_list",
											"value": "<integer>"
										},
										{
											"key": "client_instructions",
											"value": "<string>"
										},
										{
											"key": "widget_message",
											"value": "<string>"
										},
										{
											"key": "password",
											"value": "<string>"
										},
										{
											"key": "active_from",
											"value": "<dateTime>"
										},
										{
											"key": "active_until",
											"value": "<dateTime>"
										},
										{
											"key": "active_interval_status",
											"value": "<boolean>"
										},
										{
											"key": "status",
											"value": "<boolean>"
										},
										{
											"key": "photo",
											"value": "<string>"
										},
										{
											"key": "active_rules",
											"value": "<boolean>"
										},
										{
											"key": "tmp_default",
											"value": "<boolean>"
										},
										{
											"key": "session_token",
											"value": "<API Key>"
										}
									]
								}
							},
							"status": "OK",
							"code": 200,
							"_postman_previewlanguage": "json",
							"header": [
								{
									"key": "Content-Type",
									"value": "application/json"
								}
							],
							"cookie": [],
							"body": "{\n \"statusCode\": \"<integer>\",\n \"statusDescriptions\": \"<string>\",\n \"data\": [\n  {\n   \"company_id\": \"<long>\",\n   \"name\": \"<string>\",\n   \"duration\": 60,\n   \"id\": \"<long>\",\n   \"description\": \"<string>\",\n   \"auto_confirm\": false,\n   \"is_subservice\": false,\n   \"duration_padding\": 0,\n   \"max_clients\": 0,\n   \"prior_notice\": 0,\n   \"after_notice\": 0,\n   \"cancel_appointment\": 0,\n   \"reschedule_appointment\": 0,\n   \"send_reminder\": 0,\n   \"start_step\": 0,\n   \"set_schedule\": false,\n   \"schedule\": [\n    {\n     \"repeat\": \"<integer>\",\n     \"start_date\": \"<date>\",\n     \"start_time\": {\n      \"hour\": \"<integer>\",\n      \"min\": \"<integer>\",\n      \"am\": \"<string>\"\n     },\n     \"end_date\": \"<date>\",\n     \"end_time\": {\n      \"hour\": \"<integer>\",\n      \"min\": \"<integer>\",\n      \"am\": \"<string>\"\n     },\n     \"days\": \"<object>\"\n    },\n    {\n     \"repeat\": \"<integer>\",\n     \"start_date\": \"<date>\",\n     \"start_time\": {\n      \"hour\": \"<integer>\",\n      \"min\": \"<integer>\",\n      \"am\": \"<string>\"\n     },\n     \"end_date\": \"<date>\",\n     \"end_time\": {\n      \"hour\": \"<integer>\",\n      \"min\": \"<integer>\",\n      \"am\": \"<string>\"\n     },\n     \"days\": \"<object>\"\n    }\n   ],\n   \"price\": 0,\n   \"payment_min_amount\": 0,\n   \"allow_cash_payment\": false,\n   \"group_session\": 0,\n   \"waiting_list\": 0,\n   \"client_instructions\": \"<string>\",\n   \"widget_message\": \"<string>\",\n   \"password\": \"<string>\",\n   \"ord\": \"<integer>\",\n   \"created_at\": \"<dateTime>\",\n   \"active_from\": \"<date>\",\n   \"active_until\": \"<date>\",\n   \"active_interval_status\": true,\n   \"status\": true,\n   \"active_rules\": 1,\n   \"photo\": \"<string>\"\n  },\n  {\n   \"company_id\": \"<long>\",\n   \"name\": \"<string>\",\n   \"duration\": 60,\n   \"id\": \"<long>\",\n   \"description\": \"<string>\",\n   \"auto_confirm\": false,\n   \"is_subservice\": false,\n   \"duration_padding\": 0,\n   \"max_clients\": 0,\n   \"prior_notice\": 0,\n   \"after_notice\": 0,\n   \"cancel_appointment\": 0,\n   \"reschedule_appointment\": 0,\n   \"send_reminder\": 0,\n   \"start_step\": 0,\n   \"set_schedule\": false,\n   \"schedule\": [\n    {\n     \"repeat\": \"<integer>\",\n     \"start_date\": \"<date>\",\n     \"start_time\": {\n      \"hour\": \"<integer>\",\n      \"min\": \"<integer>\",\n      \"am\": \"<string>\"\n     },\n     \"end_date\": \"<date>\",\n     \"end_time\": {\n      \"hour\": \"<integer>\",\n      \"min\": \"<integer>\",\n      \"am\": \"<string>\"\n     },\n     \"days\": \"<object>\"\n    },\n    {\n     \"repeat\": \"<integer>\",\n     \"start_date\": \"<date>\",\n     \"start_time\": {\n      \"hour\": \"<integer>\",\n      \"min\": \"<integer>\",\n      \"am\": \"<string>\"\n     },\n     \"end_date\": \"<date>\",\n     \"end_time\": {\n      \"hour\": \"<integer>\",\n      \"min\": \"<integer>\",\n      \"am\": \"<string>\"\n     },\n     \"days\": \"<object>\"\n    }\n   ],\n   \"price\": 0,\n   \"payment_min_amount\": 0,\n   \"allow_cash_payment\": false,\n   \"group_session\": 0,\n   \"waiting_list\": 0,\n   \"client_instructions\": \"<string>\",\n   \"widget_message\": \"<string>\",\n   \"password\": \"<string>\",\n   \"ord\": \"<integer>\",\n   \"created_at\": \"<dateTime>\",\n   \"active_from\": \"<date>\",\n   \"active_until\": \"<date>\",\n   \"active_interval_status\": true,\n   \"status\": true,\n   \"active_rules\": 1,\n   \"photo\": \"<string>\"\n  }\n ]\n}"
						}
					]
				},
				{
					"name": "5. Get Availability (Select Date Time)",
					"request": {
						"auth": {
							"type": "apikey",
							"apikey": [
								{
									"key": "value",
									"value": "{{SESSION_TOKEN}}",
									"type": "string"
								},
								{
									"key": "key",
									"value": "session_token",
									"type": "string"
								},
								{
									"key": "in",
									"value": "query",
									"type": "string"
								}
							]
						},
						"method": "GET",
						"header": [],
						"url": {
							"raw": "{{baseUrl}}/availability?service_id={{service_id}}&start_date={{start_date}}&t=daily&return=times&company_id={{company_id}}",
							"host": [
								"{{baseUrl}}"
							],
							"path": [
								"availability"
							],
							"query": [
								{
									"key": "service_id",
									"value": "{{service_id}}",
									"description": "(Required) The ID of the selected service"
								},
								{
									"key": "subservices",
									"value": "<integer>",
									"description": "The IDs of the selected subservices",
									"disabled": true
								},
								{
									"key": "subservices",
									"value": "<integer>",
									"description": "The IDs of the selected subservices",
									"disabled": true
								},
								{
									"key": "location_id",
									"value": "{{location_id}}",
									"description": "The ID of the selected location",
									"disabled": true
								},
								{
									"key": "provider_id",
									"value": "{{employee_id}}",
									"description": "The ID of the provider (employee)",
									"disabled": true
								},
								{
									"key": "start_date",
									"value": "{{start_date}}",
									"description": "(Required) (YYYY-mm-dd) The day for which the availability is requested"
								},
								{
									"key": "t",
									"value": "daily",
									"description": "(Required)  - If 'weekly', then the availability for the whole week of 'start_date' will be returned.\n- If 'daily', only the availability for 'start_date' will be returned"
								},
								{
									"key": "return",
									"value": "times",
									"description": "(Required)  - If 'boxes', the availability will be returned as a set of boxes representing fractions of an hour.\n- If 'times', the availability will be returned as times when the availability slots begin. "
								},
								{
									"key": "timezone_id",
									"value": "<integer>",
									"description": "The ID of the timezone relative to which the availability is calculated. Defaults to the location timezone.",
									"disabled": true
								},
								{
									"key": "first_available",
									"value": "<boolean>",
									"description": "When there is no availability from start_date to the end of the interval(t - daily/weekly), whole agenda is scanned until a first available time slot is returned.",
									"disabled": true
								},
								{
									"key": "available_seats",
									"value": "<boolean>",
									"description": "Retrieve available seats for an appointment start time. This will return the number of seats for an employee. If none is provided, a random employee will be selected and the number of seats for that employee will be returned.",
									"disabled": true
								},
								{
									"key": "total_seats",
									"value": "<boolean>",
									"description": "Use this parameter to get the total number of seats for all employees",
									"disabled": true
								},
								{
									"key": "no_of_weeks",
									"value": "<integer>",
									"description": "Used to retreive the availability for one month. Accepted values are between 1 and 5",
									"disabled": true
								},
								{
									"key": "company_id",
									"value": "{{company_id}}"
								}
							]
						},
						"description": "Get the available times to schedule an appointment."
					},
					"response": [
						{
							"name": "successful operation",
							"originalRequest": {
								"method": "GET",
								"header": [],
								"url": {
									"raw": "{{baseUrl}}/availability?service_id=<long>&subservices=<integer>&subservices=<integer>&location_id=<long>&provider_id=<long>&start_date=<date>&t=<string>&return=<string>&timezone_id=<integer>&first_available=<boolean>&available_seats=<boolean>&total_seats=<boolean>&no_of_weeks=<integer>&session_token=<API Key>",
									"host": [
										"{{baseUrl}}"
									],
									"path": [
										"availability"
									],
									"query": [
										{
											"key": "service_id",
											"value": "<long>"
										},
										{
											"key": "subservices",
											"value": "<integer>"
										},
										{
											"key": "subservices",
											"value": "<integer>"
										},
										{
											"key": "location_id",
											"value": "<long>"
										},
										{
											"key": "provider_id",
											"value": "<long>"
										},
										{
											"key": "start_date",
											"value": "<date>"
										},
										{
											"key": "t",
											"value": "<string>"
										},
										{
											"key": "return",
											"value": "<string>"
										},
										{
											"key": "timezone_id",
											"value": "<integer>"
										},
										{
											"key": "first_available",
											"value": "<boolean>"
										},
										{
											"key": "available_seats",
											"value": "<boolean>"
										},
										{
											"key": "total_seats",
											"value": "<boolean>"
										},
										{
											"key": "no_of_weeks",
											"value": "<integer>"
										},
										{
											"key": "session_token",
											"value": "<API Key>"
										}
									]
								}
							},
							"status": "OK",
							"code": 200,
							"_postman_previewlanguage": "json",
							"header": [
								{
									"key": "Content-Type",
									"value": "application/json"
								}
							],
							"cookie": [],
							"body": "{\n \"statusCode\": \"<integer>\",\n \"statusDescriptions\": \"<string>\",\n \"data\": {\n  \"interval\": \"<integer>\",\n  \"boxInterval\": \"<integer>\",\n  \"padding\": \"<integer>\",\n  \"day\": \"<integer>\",\n  \"month\": \"<integer>\",\n  \"year\": \"<integer>\",\n  \"times\": [\n   \"<string>\",\n   \"<string>\"\n  ]\n }\n}"
						}
					]
				},
				{
					"name": "6. Create appointment",
					"request": {
						"auth": {
							"type": "apikey",
							"apikey": [
								{
									"key": "value",
									"value": "{{SESSION_TOKEN}}",
									"type": "string"
								},
								{
									"key": "key",
									"value": "session_token",
									"type": "string"
								},
								{
									"key": "in",
									"value": "query",
									"type": "string"
								}
							]
						},
						"method": "POST",
						"header": [
							{
								"key": "Content-Type",
								"value": "application/json"
							}
						],
						"body": {
							"mode": "raw",
							"raw": "{\n    \"company_id\": {{company_id}},\n    \"client_email\": \"{{client_email}}\",\n    \"client_name\": \"{{client_name}}\",\n    \"service_id\": {{service_id}},\n    \"start_date\": \"{{start_date}} {{available_time}}\",\n    \"client_phone\": \"<string>\",\n    \"client_address\": \"<string>\",\n    \"employee_id\": \"<long>\",\n    \"location_id\": \"<long>\",\n    \"duration\": 15,\n    \"note\": \"<string>\",\n    \"status\": \"<integer>\",\n    \"subservices\": \"<string>\",\n    \"paid\": false,\n    \"price\": 0,\n    \"ews_id\": \"\",\n    \"custom_data\": \"<object>\",\n    \"timezone_id\": \"<integer>\"\n}",
							"options": {
								"raw": {
									"language": "json"
								}
							}
						},
						"url": {
							"raw": "{{baseUrl}}/appointment?company_id={{company_id}}",
							"host": [
								"{{baseUrl}}"
							],
							"path": [
								"appointment"
							],
							"query": [
								{
									"key": "company_id",
									"value": "{{company_id}}"
								}
							]
						},
						"description": "Create a new appointment."
					},
					"response": [
						{
							"name": "The appointment has been created",
							"originalRequest": {
								"method": "POST",
								"header": [],
								"body": {
									"mode": "raw",
									"raw": "{\n    \"data\": {\n        \"company_id\": \"<long>\",\n        \"client_email\": \"<email>\",\n        \"client_name\": \"<string>\",\n        \"service_id\": \"<long>\",\n        \"start_date\": \"<string>\",\n        \"client_phone\": \"<string>\",\n        \"client_address\": \"<string>\",\n        \"employee_id\": \"<long>\",\n        \"location_id\": \"<long>\",\n        \"duration\": 15,\n        \"note\": \"<string>\",\n        \"status\": \"<integer>\",\n        \"subservices\": \"<string>\",\n        \"paid\": false,\n        \"price\": 0,\n        \"ews_id\": \"\",\n        \"custom_fields\": \"<object>\",\n        \"timezone_id\": \"<integer>\"\n    }\n}"
								},
								"url": {
									"raw": "{{baseUrl}}/appointment?session_token=<API Key>",
									"host": [
										"{{baseUrl}}"
									],
									"path": [
										"appointment"
									],
									"query": [
										{
											"key": "session_token",
											"value": "<API Key>"
										}
									]
								}
							},
							"status": "OK",
							"code": 200,
							"_postman_previewlanguage": "json",
							"header": [
								{
									"key": "Content-Type",
									"value": "application/json"
								}
							],
							"cookie": [],
							"body": "{\n \"statusCode\": \"<integer>\",\n \"statusDescriptions\": \"<string>\",\n \"data\": {\n  \"company_id\": \"<long>\",\n  \"client_email\": \"<email>\",\n  \"client_name\": \"<string>\",\n  \"service_id\": \"<long>\",\n  \"start_date\": \"<string>\",\n  \"id\": \"<long>\",\n  \"client_id\": \"<long>\",\n  \"client_phone\": \"<string>\",\n  \"client_address\": \"<string>\",\n  \"employee_id\": \"<long>\",\n  \"location_id\": \"<long>\",\n  \"end_date\": \"<string>\",\n  \"length\": \"<integer>\",\n  \"duration_padding\": 0,\n  \"note\": \"<string>\",\n  \"status\": \"<integer>\",\n  \"type\": \"<string>\",\n  \"last_updated\": \"<dateTime>\",\n  \"created_at\": \"<dateTime>\",\n  \"subservices\": \"<string>\",\n  \"paid\": false,\n  \"price\": 0,\n  \"ews_id\": \"\",\n  \"custom_fields\": \"<object>\",\n  \"timezone_short\": \"<string>\",\n  \"timezone_offset_seconds\": \"<integer>\",\n  \"timezone_id\": \"<integer>\"\n }\n}"
						},
						{
							"name": "The appointment can not be created",
							"originalRequest": {
								"method": "POST",
								"header": [],
								"body": {
									"mode": "raw",
									"raw": "{\n    \"data\": {\n        \"company_id\": \"<long>\",\n        \"client_email\": \"<email>\",\n        \"client_name\": \"<string>\",\n        \"service_id\": \"<long>\",\n        \"start_date\": \"<string>\",\n        \"client_phone\": \"<string>\",\n        \"client_address\": \"<string>\",\n        \"employee_id\": \"<long>\",\n        \"location_id\": \"<long>\",\n        \"duration\": 15,\n        \"note\": \"<string>\",\n        \"status\": \"<integer>\",\n        \"subservices\": \"<string>\",\n        \"paid\": false,\n        \"price\": 0,\n        \"ews_id\": \"\",\n        \"custom_fields\": \"<object>\",\n        \"timezone_id\": \"<integer>\"\n    }\n}"
								},
								"url": {
									"raw": "{{baseUrl}}/appointment?session_token=<API Key>",
									"host": [
										"{{baseUrl}}"
									],
									"path": [
										"appointment"
									],
									"query": [
										{
											"key": "session_token",
											"value": "<API Key>"
										}
									]
								}
							},
							"status": "Forbidden",
							"code": 403,
							"_postman_previewlanguage": "json",
							"header": [
								{
									"key": "Content-Type",
									"value": "application/json"
								}
							],
							"cookie": [],
							"body": "{\n \"statusCode\": \"<integer>\",\n \"statusDescriptions\": \"<string>\",\n \"data\": \"<object>\"\n}"
						}
					]
				}
			]
		},
		{
			"name": "API Reference",
			"item": [
				{
					"name": "account",
					"item": [
						{
							"name": "Get account info summary",
							"request": {
								"auth": {
									"type": "apikey",
									"apikey": [
										{
											"key": "value",
											"value": "{{SESSION_TOKEN}}",
											"type": "string"
										},
										{
											"key": "key",
											"value": "session_token",
											"type": "string"
										},
										{
											"key": "in",
											"value": "query",
											"type": "string"
										}
									]
								},
								"method": "GET",
								"header": [],
								"url": {
									"raw": "{{baseUrl}}/account?company_id={{company_id}}",
									"host": [
										"{{baseUrl}}"
									],
									"path": [
										"account"
									],
									"query": [
										{
											"key": "company_id",
											"value": "{{company_id}}",
											"description": "(Required) "
										}
									]
								},
								"description": "Retrieve a specific account's summary."
							},
							"response": [
								{
									"name": "successful operation",
									"originalRequest": {
										"method": "GET",
										"header": [],
										"url": {
											"raw": "{{baseUrl}}/account?company_id=<integer>&session_token=<API Key>",
											"host": [
												"{{baseUrl}}"
											],
											"path": [
												"account"
											],
											"query": [
												{
													"key": "company_id",
													"value": "<integer>"
												},
												{
													"key": "session_token",
													"value": "<API Key>"
												}
											]
										}
									},
									"status": "OK",
									"code": 200,
									"_postman_previewlanguage": "json",
									"header": [
										{
											"key": "Content-Type",
											"value": "application/json"
										}
									],
									"cookie": [],
									"body": "{\n \"statusCode\": \"<integer>\",\n \"statusDescriptions\": \"<string>\",\n \"data\": {\n  \"company_id\": \"<long>\",\n  \"company_name\": \"<string>\",\n  \"email\": \"<email>\",\n  \"nick_name\": \"<string>\",\n  \"password\": \"<password>\",\n  \"website\": \"<uri>\",\n  \"contact\": \"<email>\",\n  \"facebook\": \"<uri>\",\n  \"linkedin\": \"<uri>\",\n  \"twitter\": \"<uri>\",\n  \"skype_name\": \"<string>\",\n  \"yelp\": \"<string>\",\n  \"pinterest\": \"<string>\",\n  \"vimeo\": \"<string>\",\n  \"youtube\": \"<string>\",\n  \"phone\": \"<string>\",\n  \"timezone_id\": 553,\n  \"fax\": \"<string>\",\n  \"industry\": \"<string>\",\n  \"logo\": \"<string>\",\n  \"paragraph\": \"<string>\",\n  \"first_name\": \"<string>\",\n  \"last_name\": \"<string>\",\n  \"id\": \"<integer>\",\n  \"created_by\": \"<long>\",\n  \"address_city\": \"<string>\",\n  \"address_country\": \"<string>\",\n  \"address_state\": \"<string>\",\n  \"address_street1\": \"<string>\",\n  \"address_street2\": \"<string>\",\n  \"addresszip\": \"<string>\",\n  \"send_to_contact\": 0,\n  \"show_map_profile\": false,\n  \"splash\": \"<string>\",\n  \"map_url\": \"<uri>\",\n  \"return_url\": \"<string>\",\n  \"policies\": \"<string>\",\n  \"account_type\": \"<integer>\",\n  \"date_created\": \"<dateTime>\",\n  \"no_views\": \"<string>\",\n  \"notify_app_unconfirmed\": true,\n  \"notify_app_unpaid\": true,\n  \"lang\": \"en\",\n  \"enable_locations\": true,\n  \"capture_leads\": \"<string>\",\n  \"settings\": \"<json>\",\n  \"status\": 0,\n  \"directory\": 0,\n  \"max_providers\": 0,\n  \"business_hours_label\": \"<string>\",\n  \"policies_label\": \"<string>\",\n  \"paragraph_label\": \"<string>\",\n  \"timezone\": 0,\n  \"exchange_sync_settings\": {\n   \"host\": \"<string>\",\n   \"account\": \"<string>\",\n   \"password\": \"<password>\",\n   \"sync_period\": \"<integer>\"\n  }\n }\n}"
								}
							]
						},
						{
							"name": "Create sub-account",
							"request": {
								"auth": {
									"type": "apikey",
									"apikey": [
										{
											"key": "value",
											"value": "{{SESSION_TOKEN}}",
											"type": "string"
										},
										{
											"key": "key",
											"value": "session_token",
											"type": "string"
										},
										{
											"key": "in",
											"value": "query",
											"type": "string"
										}
									]
								},
								"method": "POST",
								"header": [
									{
										"key": "Content-Type",
										"value": "application/json"
									}
								],
								"body": {
									"mode": "raw",
									"raw": "{\n        \"company_name\": \"<string>\",\n        \"email\": \"<email>\",\n        \"nick_name\": \"<string>\",\n        \"password\": \"<password>\",\n        \"website\": \"<uri>\",\n        \"contact\": \"<email>\",\n        \"facebook\": \"<uri>\",\n        \"linkedin\": \"<uri>\",\n        \"twitter\": \"<uri>\",\n        \"skype_name\": \"<string>\",\n        \"yelp\": \"<string>\",\n        \"pinterest\": \"<string>\",\n        \"vimeo\": \"<string>\",\n        \"youtube\": \"<string>\",\n        \"phone\": \"<string>\",\n        \"timezone_id\": 553,\n        \"fax\": \"<string>\",\n        \"industry\": \"<string>\",\n        \"logo\": \"<string>\",\n        \"paragraph\": \"<string>\",\n        \"business_hours\": \"<string>\",\n        \"first_name\": \"<string>\",\n        \"last_name\": \"<string>\",\n        \"address_city\": \"<string>\",\n        \"address_country\": \"<string>\",\n        \"address_state\": \"<string>\",\n        \"address_street1\": \"<string>\",\n        \"address_street2\": \"<string>\",\n        \"addresszip\": \"<string>\",\n        \"send_to_contact\": 0,\n        \"show_map_profile\": false,\n        \"splash\": \"<string>\",\n        \"map_url\": \"<uri>\",\n        \"return_url\": \"<string>\",\n        \"policies\": \"<string>\",\n        \"account_type\": \"<integer>\",\n        \"notify_app_unconfirmed\": true,\n        \"notify_app_unpaid\": true,\n        \"lang\": \"en\",\n        \"enable_locations\": true,\n        \"capture_leads\": \"<string>\",\n        \"directory\": 0,\n        \"max_providers\": 0,\n        \"business_hours_label\": \"<string>\",\n        \"policies_label\": \"<string>\",\n        \"paragraph_label\": \"<string>\",\n        \"timezone\": 0\n}"
								},
								"url": {
									"raw": "{{baseUrl}}/account?company_id={{company_id}}",
									"host": [
										"{{baseUrl}}"
									],
									"path": [
										"account"
									],
									"query": [
										{
											"key": "company_id",
											"value": "{{company_id}}"
										}
									]
								},
								"description": "Create a child account under an existing parent account.\n<div class='ui grey icon message'><div class='content'><i class='info icon'></i><p>Requires sub-account privileges. To activate sub-account privileges, please contact the Setster support team.</p></div></div>"
							},
							"response": [
								{
									"name": "successful operation",
									"originalRequest": {
										"method": "POST",
										"header": [],
										"body": {
											"mode": "raw",
											"raw": "{\n    \"data\": {\n        \"company_name\": \"<string>\",\n        \"email\": \"<email>\",\n        \"nick_name\": \"<string>\",\n        \"password\": \"<password>\",\n        \"website\": \"<uri>\",\n        \"contact\": \"<email>\",\n        \"facebook\": \"<uri>\",\n        \"linkedin\": \"<uri>\",\n        \"twitter\": \"<uri>\",\n        \"skype_name\": \"<string>\",\n        \"yelp\": \"<string>\",\n        \"pinterest\": \"<string>\",\n        \"vimeo\": \"<string>\",\n        \"youtube\": \"<string>\",\n        \"phone\": \"<string>\",\n        \"timezone_id\": 553,\n        \"fax\": \"<string>\",\n        \"industry\": \"<string>\",\n        \"logo\": \"<string>\",\n        \"paragraph\": \"<string>\",\n        \"business_hours\": \"<string>\",\n        \"first_name\": \"<string>\",\n        \"last_name\": \"<string>\",\n        \"address_city\": \"<string>\",\n        \"address_country\": \"<string>\",\n        \"address_state\": \"<string>\",\n        \"address_street1\": \"<string>\",\n        \"address_street2\": \"<string>\",\n        \"addresszip\": \"<string>\",\n        \"send_to_contact\": 0,\n        \"show_map_profile\": false,\n        \"splash\": \"<string>\",\n        \"map_url\": \"<uri>\",\n        \"return_url\": \"<string>\",\n        \"policies\": \"<string>\",\n        \"account_type\": \"<integer>\",\n        \"notify_app_unconfirmed\": true,\n        \"notify_app_unpaid\": true,\n        \"lang\": \"en\",\n        \"enable_locations\": true,\n        \"capture_leads\": \"<string>\",\n        \"directory\": 0,\n        \"max_providers\": 0,\n        \"business_hours_label\": \"<string>\",\n        \"policies_label\": \"<string>\",\n        \"paragraph_label\": \"<string>\",\n        \"timezone\": 0\n    }\n}"
										},
										"url": {
											"raw": "{{baseUrl}}/account?session_token=<API Key>",
											"host": [
												"{{baseUrl}}"
											],
											"path": [
												"account"
											],
											"query": [
												{
													"key": "session_token",
													"value": "<API Key>"
												}
											]
										}
									},
									"status": "OK",
									"code": 200,
									"_postman_previewlanguage": "json",
									"header": [
										{
											"key": "Content-Type",
											"value": "application/json"
										}
									],
									"cookie": [],
									"body": "{\n \"statusCode\": \"<integer>\",\n \"statusDescriptions\": \"<string>\",\n \"data\": {\n  \"company_id\": \"<long>\",\n  \"company_name\": \"<string>\",\n  \"email\": \"<email>\",\n  \"nick_name\": \"<string>\",\n  \"password\": \"<password>\",\n  \"website\": \"<uri>\",\n  \"contact\": \"<email>\",\n  \"facebook\": \"<uri>\",\n  \"linkedin\": \"<uri>\",\n  \"twitter\": \"<uri>\",\n  \"skype_name\": \"<string>\",\n  \"yelp\": \"<string>\",\n  \"pinterest\": \"<string>\",\n  \"vimeo\": \"<string>\",\n  \"youtube\": \"<string>\",\n  \"phone\": \"<string>\",\n  \"timezone_id\": 553,\n  \"fax\": \"<string>\",\n  \"industry\": \"<string>\",\n  \"logo\": \"<string>\",\n  \"paragraph\": \"<string>\",\n  \"first_name\": \"<string>\",\n  \"last_name\": \"<string>\",\n  \"id\": \"<integer>\",\n  \"created_by\": \"<long>\",\n  \"address_city\": \"<string>\",\n  \"address_country\": \"<string>\",\n  \"address_state\": \"<string>\",\n  \"address_street1\": \"<string>\",\n  \"address_street2\": \"<string>\",\n  \"addresszip\": \"<string>\",\n  \"send_to_contact\": 0,\n  \"show_map_profile\": false,\n  \"splash\": \"<string>\",\n  \"map_url\": \"<uri>\",\n  \"return_url\": \"<string>\",\n  \"policies\": \"<string>\",\n  \"account_type\": \"<integer>\",\n  \"date_created\": \"<dateTime>\",\n  \"no_views\": \"<string>\",\n  \"notify_app_unconfirmed\": true,\n  \"notify_app_unpaid\": true,\n  \"lang\": \"en\",\n  \"enable_locations\": true,\n  \"capture_leads\": \"<string>\",\n  \"settings\": \"<json>\",\n  \"status\": 0,\n  \"directory\": 0,\n  \"max_providers\": 0,\n  \"business_hours_label\": \"<string>\",\n  \"policies_label\": \"<string>\",\n  \"paragraph_label\": \"<string>\",\n  \"timezone\": 0,\n  \"exchange_sync_settings\": {\n   \"host\": \"<string>\",\n   \"account\": \"<string>\",\n   \"password\": \"<password>\",\n   \"sync_period\": \"<integer>\"\n  }\n }\n}"
								}
							]
						},
						{
							"name": "Authenticate",
							"event": [
								{
									"listen": "test",
									"script": {
										"exec": [
											"var jsonData = JSON.parse(responseBody);",
											"pm.collectionVariables.set(\"SESSION_TOKEN\", jsonData.data.session_token);",
											"pm.collectionVariables.set(\"company_id\", jsonData.data.user.company_id);",
											"",
											"",
											""
										],
										"type": "text/javascript"
									}
								}
							],
							"request": {
								"method": "POST",
								"header": [],
								"url": {
									"raw": "{{baseUrl}}/account/authenticate?email={{email}}&token={{API_TOKEN}}&company_id={{company_id}}",
									"host": [
										"{{baseUrl}}"
									],
									"path": [
										"account",
										"authenticate"
									],
									"query": [
										{
											"key": "email",
											"value": "{{email}}",
											"description": "(Required) Account owner email address"
										},
										{
											"key": "token",
											"value": "{{API_TOKEN}}",
											"description": "(Required) API key"
										},
										{
											"key": "company_id",
											"value": "{{company_id}}"
										}
									]
								},
								"description": "The first step to using the Setster API is to authenticate. \nAuthentication is done using your secret API Key and the account-owner email. \nIn the returned response, the session_token should be used for all consecutive API calls. \nPlease note the session, and the session_token expires periodically, and re-authentication will be required. We recommended you follow standard practices and develop an authentication methodology within your application to keep the connection open."
							},
							"response": [
								{
									"name": "successful operation",
									"originalRequest": {
										"method": "POST",
										"header": [],
										"url": {
											"raw": "{{baseUrl}}/account/authenticate?email=<email>&token=<string>",
											"host": [
												"{{baseUrl}}"
											],
											"path": [
												"account",
												"authenticate"
											],
											"query": [
												{
													"key": "email",
													"value": "<email>"
												},
												{
													"key": "token",
													"value": "<string>"
												}
											]
										}
									},
									"status": "OK",
									"code": 200,
									"_postman_previewlanguage": "json",
									"header": [
										{
											"key": "Content-Type",
											"value": "application/json"
										}
									],
									"cookie": [],
									"body": "{\n \"statusCode\": \"<integer>\",\n \"statusDescriptions\": \"<string>\",\n \"data\": {\n  \"user\": {\n   \"id\": \"<integer>\",\n   \"company_id\": \"<integer>\",\n   \"account_type\": \"<integer>\",\n   \"enable_locations\": \"<boolean>\",\n   \"intuit_user_id\": \"<integer>\",\n   \"nick_name\": \"<string>\",\n   \"is_owner\": \"<boolean>\",\n   \"enabled\": \"<boolean>\"\n  },\n  \"session_token\": \"<string>\"\n }\n}"
								},
								{
									"name": "Account is not active or Incorrect API key",
									"originalRequest": {
										"method": "POST",
										"header": [],
										"url": {
											"raw": "{{baseUrl}}/account/authenticate?email=<email>&token=<string>",
											"host": [
												"{{baseUrl}}"
											],
											"path": [
												"account",
												"authenticate"
											],
											"query": [
												{
													"key": "email",
													"value": "<email>"
												},
												{
													"key": "token",
													"value": "<string>"
												}
											]
										}
									},
									"status": "Unauthorized",
									"code": 401,
									"_postman_previewlanguage": "json",
									"header": [
										{
											"key": "Content-Type",
											"value": "application/json"
										}
									],
									"cookie": [],
									"body": "{\n \"statusCode\": \"<integer>\",\n \"statusDescriptions\": \"<string>\",\n \"data\": \"<object>\"\n}"
								}
							]
						},
						{
							"name": "List sub-accounts",
							"request": {
								"auth": {
									"type": "apikey",
									"apikey": [
										{
											"key": "value",
											"value": "{{SESSION_TOKEN}}",
											"type": "string"
										},
										{
											"key": "key",
											"value": "session_token",
											"type": "string"
										},
										{
											"key": "in",
											"value": "query",
											"type": "string"
										}
									]
								},
								"method": "GET",
								"header": [],
								"url": {
									"raw": "{{baseUrl}}/account/companies?company_id={{company_id}}",
									"host": [
										"{{baseUrl}}"
									],
									"path": [
										"account",
										"companies"
									],
									"query": [
										{
											"key": "company_id",
											"value": "{{company_id}}"
										}
									]
								},
								"description": "Get a list of all sub-accounts and their attributes."
							},
							"response": [
								{
									"name": "successful operation",
									"originalRequest": {
										"method": "GET",
										"header": [],
										"url": {
											"raw": "{{baseUrl}}/account/companies?session_token=<API Key>",
											"host": [
												"{{baseUrl}}"
											],
											"path": [
												"account",
												"companies"
											],
											"query": [
												{
													"key": "session_token",
													"value": "<API Key>"
												}
											]
										}
									},
									"status": "OK",
									"code": 200,
									"_postman_previewlanguage": "json",
									"header": [
										{
											"key": "Content-Type",
											"value": "application/json"
										}
									],
									"cookie": [],
									"body": "{\n \"statusCode\": \"<integer>\",\n \"statusDescriptions\": \"<string>\",\n \"data\": [\n  {\n   \"company_id\": \"<integer>\",\n   \"company_name\": \"<string>\"\n  },\n  {\n   \"company_id\": \"<integer>\",\n   \"company_name\": \"<string>\"\n  }\n ]\n}"
								}
							]
						},
						{
							"name": "Save business info",
							"request": {
								"auth": {
									"type": "apikey",
									"apikey": [
										{
											"key": "value",
											"value": "{{SESSION_TOKEN}}",
											"type": "string"
										},
										{
											"key": "key",
											"value": "session_token",
											"type": "string"
										},
										{
											"key": "in",
											"value": "query",
											"type": "string"
										}
									]
								},
								"method": "POST",
								"header": [
									{
										"key": "Content-Type",
										"value": "application/json"
									}
								],
								"body": {
									"mode": "raw",
									"raw": "{\n    \"company_name\": \"<string>\",\n    \"nick_name\": \"<string>\",\n    \"website\": \"<uri>\",\n    \"contact\": \"<email>\",\n    \"facebook\": \"<uri>\",\n    \"linkedin\": \"<uri>\",\n    \"twitter\": \"<uri>\",\n    \"skype_name\": \"<string>\",\n    \"yelp\": \"<string>\",\n    \"pinterest\": \"<string>\",\n    \"vimeo\": \"<string>\",\n    \"youtube\": \"<string>\",\n    \"phone\": \"<string>\",\n    \"timezone_id\": 553,\n    \"fax\": \"<string>\",\n    \"industry\": \"<string>\",\n    \"logo\": \"<string>\",\n    \"paragraph\": \"<string>\",\n    \"business_hours\": \"<string>\"\n}"
								},
								"url": {
									"raw": "{{baseUrl}}/account/saveBussinessInfo?company_id={{company_id}}",
									"host": [
										"{{baseUrl}}"
									],
									"path": [
										"account",
										"saveBussinessInfo"
									],
									"query": [
										{
											"key": "company_id",
											"value": "{{company_id}}"
										}
									]
								},
								"description": "Modify the attributes of the business profile."
							},
							"response": [
								{
									"name": "successful operation",
									"originalRequest": {
										"method": "POST",
										"header": [],
										"body": {
											"mode": "raw",
											"raw": "{\n    \"data\": {\n        \"company_name\": \"<string>\",\n        \"nick_name\": \"<string>\",\n        \"website\": \"<uri>\",\n        \"contact\": \"<email>\",\n        \"facebook\": \"<uri>\",\n        \"linkedin\": \"<uri>\",\n        \"twitter\": \"<uri>\",\n        \"skype_name\": \"<string>\",\n        \"yelp\": \"<string>\",\n        \"pinterest\": \"<string>\",\n        \"vimeo\": \"<string>\",\n        \"youtube\": \"<string>\",\n        \"phone\": \"<string>\",\n        \"timezone_id\": 553,\n        \"fax\": \"<string>\",\n        \"industry\": \"<string>\",\n        \"logo\": \"<string>\",\n        \"paragraph\": \"<string>\",\n        \"business_hours\": \"<string>\"\n    }\n}"
										},
										"url": {
											"raw": "{{baseUrl}}/account/saveBussinessInfo?session_token=<API Key>",
											"host": [
												"{{baseUrl}}"
											],
											"path": [
												"account",
												"saveBussinessInfo"
											],
											"query": [
												{
													"key": "session_token",
													"value": "<API Key>"
												}
											]
										}
									},
									"status": "OK",
									"code": 200,
									"_postman_previewlanguage": "json",
									"header": [
										{
											"key": "Content-Type",
											"value": "application/json"
										}
									],
									"cookie": [],
									"body": "{\n \"statusCode\": \"<integer>\",\n \"statusDescriptions\": \"<string>\",\n \"data\": {\n  \"company_id\": \"<long>\",\n  \"company_name\": \"<string>\",\n  \"email\": \"<email>\",\n  \"nick_name\": \"<string>\",\n  \"password\": \"<password>\",\n  \"website\": \"<uri>\",\n  \"contact\": \"<email>\",\n  \"facebook\": \"<uri>\",\n  \"linkedin\": \"<uri>\",\n  \"twitter\": \"<uri>\",\n  \"skype_name\": \"<string>\",\n  \"yelp\": \"<string>\",\n  \"pinterest\": \"<string>\",\n  \"vimeo\": \"<string>\",\n  \"youtube\": \"<string>\",\n  \"phone\": \"<string>\",\n  \"timezone_id\": 553,\n  \"fax\": \"<string>\",\n  \"industry\": \"<string>\",\n  \"logo\": \"<string>\",\n  \"paragraph\": \"<string>\",\n  \"first_name\": \"<string>\",\n  \"last_name\": \"<string>\",\n  \"id\": \"<integer>\",\n  \"created_by\": \"<long>\",\n  \"address_city\": \"<string>\",\n  \"address_country\": \"<string>\",\n  \"address_state\": \"<string>\",\n  \"address_street1\": \"<string>\",\n  \"address_street2\": \"<string>\",\n  \"addresszip\": \"<string>\",\n  \"send_to_contact\": 0,\n  \"show_map_profile\": false,\n  \"splash\": \"<string>\",\n  \"map_url\": \"<uri>\",\n  \"return_url\": \"<string>\",\n  \"policies\": \"<string>\",\n  \"account_type\": \"<integer>\",\n  \"date_created\": \"<dateTime>\",\n  \"no_views\": \"<string>\",\n  \"notify_app_unconfirmed\": true,\n  \"notify_app_unpaid\": true,\n  \"lang\": \"en\",\n  \"enable_locations\": true,\n  \"capture_leads\": \"<string>\",\n  \"settings\": \"<json>\",\n  \"status\": 0,\n  \"directory\": 0,\n  \"max_providers\": 0,\n  \"business_hours_label\": \"<string>\",\n  \"policies_label\": \"<string>\",\n  \"paragraph_label\": \"<string>\",\n  \"timezone\": 0,\n  \"exchange_sync_settings\": {\n   \"host\": \"<string>\",\n   \"account\": \"<string>\",\n   \"password\": \"<password>\",\n   \"sync_period\": \"<integer>\"\n  }\n }\n}"
								}
							]
						},
						{
							"name": "Get full account info",
							"request": {
								"auth": {
									"type": "apikey",
									"apikey": [
										{
											"key": "value",
											"value": "{{SESSION_TOKEN}}",
											"type": "string"
										},
										{
											"key": "key",
											"value": "session_token",
											"type": "string"
										},
										{
											"key": "in",
											"value": "query",
											"type": "string"
										}
									]
								},
								"method": "GET",
								"header": [],
								"url": {
									"raw": "{{baseUrl}}/account/getAccountInfo?company_id={{company_id}}",
									"host": [
										"{{baseUrl}}"
									],
									"path": [
										"account",
										"getAccountInfo"
									],
									"query": [
										{
											"key": "company_id",
											"value": "{{company_id}}",
											"description": "(Required) "
										}
									]
								},
								"description": "Retrieve a specific account's complete data."
							},
							"response": [
								{
									"name": "successful operation",
									"originalRequest": {
										"method": "GET",
										"header": [],
										"url": {
											"raw": "{{baseUrl}}/account/getAccountInfo?company_id=<integer>&session_token=<API Key>",
											"host": [
												"{{baseUrl}}"
											],
											"path": [
												"account",
												"getAccountInfo"
											],
											"query": [
												{
													"key": "company_id",
													"value": "<integer>"
												},
												{
													"key": "session_token",
													"value": "<API Key>"
												}
											]
										}
									},
									"status": "OK",
									"code": 200,
									"_postman_previewlanguage": "json",
									"header": [
										{
											"key": "Content-Type",
											"value": "application/json"
										}
									],
									"cookie": [],
									"body": "{\n \"statusCode\": \"<integer>\",\n \"statusDescriptions\": \"<string>\",\n \"data\": {\n  \"company_id\": \"<long>\",\n  \"company_name\": \"<string>\",\n  \"email\": \"<email>\",\n  \"nick_name\": \"<string>\",\n  \"password\": \"<password>\",\n  \"website\": \"<uri>\",\n  \"contact\": \"<email>\",\n  \"facebook\": \"<uri>\",\n  \"linkedin\": \"<uri>\",\n  \"twitter\": \"<uri>\",\n  \"skype_name\": \"<string>\",\n  \"yelp\": \"<string>\",\n  \"pinterest\": \"<string>\",\n  \"vimeo\": \"<string>\",\n  \"youtube\": \"<string>\",\n  \"phone\": \"<string>\",\n  \"timezone_id\": 553,\n  \"fax\": \"<string>\",\n  \"industry\": \"<string>\",\n  \"logo\": \"<string>\",\n  \"paragraph\": \"<string>\",\n  \"first_name\": \"<string>\",\n  \"last_name\": \"<string>\",\n  \"id\": \"<integer>\",\n  \"created_by\": \"<long>\",\n  \"address_city\": \"<string>\",\n  \"address_country\": \"<string>\",\n  \"address_state\": \"<string>\",\n  \"address_street1\": \"<string>\",\n  \"address_street2\": \"<string>\",\n  \"addresszip\": \"<string>\",\n  \"send_to_contact\": 0,\n  \"show_map_profile\": false,\n  \"splash\": \"<string>\",\n  \"map_url\": \"<uri>\",\n  \"return_url\": \"<string>\",\n  \"policies\": \"<string>\",\n  \"account_type\": \"<integer>\",\n  \"date_created\": \"<dateTime>\",\n  \"no_views\": \"<string>\",\n  \"notify_app_unconfirmed\": true,\n  \"notify_app_unpaid\": true,\n  \"lang\": \"en\",\n  \"enable_locations\": true,\n  \"capture_leads\": \"<string>\",\n  \"settings\": \"<json>\",\n  \"status\": 0,\n  \"directory\": 0,\n  \"max_providers\": 0,\n  \"business_hours_label\": \"<string>\",\n  \"policies_label\": \"<string>\",\n  \"paragraph_label\": \"<string>\",\n  \"timezone\": 0,\n  \"exchange_sync_settings\": {\n   \"host\": \"<string>\",\n   \"account\": \"<string>\",\n   \"password\": \"<password>\",\n   \"sync_period\": \"<integer>\"\n  },\n  \"holidays\": [\n   \"<string>\",\n   \"<string>\"\n  ],\n  \"business_hours\": \"<string>\",\n  \"company_business_hours\": \"<string>\"\n }\n}"
								}
							]
						},
						{
							"name": "Update booking options",
							"request": {
								"auth": {
									"type": "apikey",
									"apikey": [
										{
											"key": "value",
											"value": "{{SESSION_TOKEN}}",
											"type": "string"
										},
										{
											"key": "key",
											"value": "session_token",
											"type": "string"
										},
										{
											"key": "in",
											"value": "query",
											"type": "string"
										}
									]
								},
								"method": "POST",
								"header": [
									{
										"key": "Content-Type",
										"value": "application/json"
									}
								],
								"body": {
									"mode": "raw",
									"raw": "{\n    \"company_id\": \"{{company_id}}\",\n    \"email_settings\": {\n        \"widget_send_client_emails\": \"<integer>\",\n        \"widget_send_provider_emails\": \"<integer>\",\n        \"send_reminder\": \"<integer>\",\n        \"aliquadf\": false\n    },\n    \"currency\": \"<string>\",\n    \"hide_contact\": 0,\n    \"hide_about\": 0,\n    \"show_email\": 0,\n    \"show_provider_image\": 0,\n    \"providers_tab_option\": \"<string>\",\n    \"select_single_service\": 1,\n    \"default_calendar_view\": \"d\",\n    \"month_view_availability\": \"<integer>\",\n    \"email_confirmation\": \"<integer>\",\n    \"book_another_appointment\": 0,\n    \"display_google_map_on_locations\": 0,\n    \"hide_timezone_alert\": \"<boolean>\",\n    \"select_single_location\": 1,\n    \"show_in_host_or_client_time\": 0,\n    \"email_timezone_alert\": 0,\n    \"widget_customBookingFields\": \"<string>\",\n    \"enable_mobile_widget\": 1,\n    \"any_available_provider\": \"<string>\",\n    \"show_staff_photo\": \"<boolean>\",\n    \"auto_confirm\": \"<boolean>\",\n    \"prior_notice\": \"<integer>\",\n    \"prior_cancel_appointment\": \"<integer>\",\n    \"prior_reschedule_appointment\": \"<integer>\",\n    \"duration_padding\": \"<integer>\",\n    \"start_step\": \"<integer>\",\n    \"after_notice\": \"<integer>\",\n    \"allow_cash_payment\": \"<boolean>\",\n    \"waiting_list\": \"<boolean>\",\n    \"layout_params\": \"<string>\",\n    \"style_params\": \"\",\n    \"new_style\": \"<integer>\",\n    \"new_mobile_style\": \"<integer>\",\n    \"widget_send_client_emails\": \"<boolean>\",\n    \"widget_send_provider_emails\": \"<boolean>\",\n    \"send_reminder\": \"<boolean>\",\n    \"notify_app_unconfirmed\": \"<boolean>\",\n    \"send_to_contact\": \"<boolean>\",\n    \"notify_app_unpaid\": \"<boolean>\",\n    \"lang\": \"en\",\n    \"timezone_id\": \"<integer>\",\n    \"currenciesStripe\": [\n        \"<string>\",\n        \"<string>\"\n    ],\n    \"currenciesPaypal\": [\n        \"<string>\",\n        \"<string>\"\n    ],\n    \"stripe_client_id\": \"<string>\"\n}"
								},
								"url": {
									"raw": "{{baseUrl}}/account/saveOptions?company_id={{company_id}}",
									"host": [
										"{{baseUrl}}"
									],
									"path": [
										"account",
										"saveOptions"
									],
									"query": [
										{
											"key": "company_id",
											"value": "{{company_id}}"
										}
									]
								},
								"description": "Modify the set booking options."
							},
							"response": [
								{
									"name": "successful operation",
									"originalRequest": {
										"method": "POST",
										"header": [],
										"body": {
											"mode": "raw",
											"raw": "{\n    \"data\": {\n        \"company_id\": \"<integer>\",\n        \"email_settings\": {\n            \"widget_send_client_emails\": \"<integer>\",\n            \"widget_send_provider_emails\": \"<integer>\",\n            \"send_reminder\": \"<integer>\",\n            \"ex8\": -49830503.838190675\n        },\n        \"currency\": \"<string>\",\n        \"hide_contact\": 0,\n        \"hide_about\": 0,\n        \"show_email\": 0,\n        \"show_provider_image\": 0,\n        \"providers_tab_option\": \"<string>\",\n        \"select_single_service\": 1,\n        \"default_calendar_view\": \"d\",\n        \"month_view_availability\": \"<integer>\",\n        \"email_confirmation\": \"<integer>\",\n        \"book_another_appointment\": 0,\n        \"display_google_map_on_locations\": 0,\n        \"hide_timezone_alert\": \"<boolean>\",\n        \"select_single_location\": 1,\n        \"show_in_host_or_client_time\": 0,\n        \"email_timezone_alert\": 0,\n        \"widget_customBookingFields\": \"<string>\",\n        \"enable_mobile_widget\": 1,\n        \"any_available_provider\": \"<string>\",\n        \"show_staff_photo\": \"<boolean>\",\n        \"auto_confirm\": \"<boolean>\",\n        \"prior_notice\": \"<integer>\",\n        \"prior_cancel_appointment\": \"<integer>\",\n        \"prior_reschedule_appointment\": \"<integer>\",\n        \"duration_padding\": \"<integer>\",\n        \"start_step\": \"<integer>\",\n        \"after_notice\": \"<integer>\",\n        \"allow_cash_payment\": \"<boolean>\",\n        \"waiting_list\": \"<boolean>\",\n        \"layout_params\": \"<string>\",\n        \"style_params\": \"\",\n        \"new_style\": \"<integer>\",\n        \"new_mobile_style\": \"<integer>\",\n        \"widget_send_client_emails\": \"<boolean>\",\n        \"widget_send_provider_emails\": \"<boolean>\",\n        \"send_reminder\": \"<boolean>\",\n        \"notify_app_unconfirmed\": \"<boolean>\",\n        \"send_to_contact\": \"<boolean>\",\n        \"notify_app_unpaid\": \"<boolean>\",\n        \"lang\": \"en\",\n        \"timezone_id\": \"<integer>\",\n        \"currenciesStripe\": [\n            \"<string>\",\n            \"<string>\"\n        ],\n        \"currenciesPaypal\": [\n            \"<string>\",\n            \"<string>\"\n        ],\n        \"stripe_client_id\": \"<string>\"\n    }\n}"
										},
										"url": {
											"raw": "{{baseUrl}}/account/saveOptions?session_token=<API Key>",
											"host": [
												"{{baseUrl}}"
											],
											"path": [
												"account",
												"saveOptions"
											],
											"query": [
												{
													"key": "session_token",
													"value": "<API Key>"
												}
											]
										}
									},
									"status": "OK",
									"code": 200,
									"_postman_previewlanguage": "json",
									"header": [
										{
											"key": "Content-Type",
											"value": "application/json"
										}
									],
									"cookie": [],
									"body": "{\n \"statusCode\": \"<integer>\",\n \"statusDescriptions\": \"<string>\",\n \"data\": {\n  \"company_id\": \"<integer>\",\n  \"currency\": \"<string>\",\n  \"hide_contact\": 0,\n  \"hide_about\": 0,\n  \"show_email\": 0,\n  \"show_provider_image\": 0,\n  \"providers_tab_option\": \"<string>\",\n  \"select_single_service\": 1,\n  \"default_calendar_view\": \"d\",\n  \"month_view_availability\": \"<integer>\",\n  \"email_confirmation\": \"<integer>\",\n  \"book_another_appointment\": 0,\n  \"display_google_map_on_locations\": 0,\n  \"hide_timezone_alert\": \"<boolean>\",\n  \"select_single_location\": 1,\n  \"show_in_host_or_client_time\": 0,\n  \"email_timezone_alert\": 0,\n  \"widget_customBookingFields\": \"<string>\",\n  \"enable_mobile_widget\": 1,\n  \"any_available_provider\": \"<string>\",\n  \"show_staff_photo\": \"<boolean>\",\n  \"auto_confirm\": \"<boolean>\",\n  \"prior_notice\": \"<integer>\",\n  \"prior_cancel_appointment\": \"<integer>\",\n  \"prior_reschedule_appointment\": \"<integer>\",\n  \"duration_padding\": \"<integer>\",\n  \"start_step\": \"<integer>\",\n  \"after_notice\": \"<integer>\",\n  \"allow_cash_payment\": \"<boolean>\",\n  \"waiting_list\": \"<boolean>\",\n  \"layout_params\": \"<string>\",\n  \"style_params\": \"\",\n  \"new_style\": \"<integer>\",\n  \"new_mobile_style\": \"<integer>\",\n  \"widget_send_client_emails\": \"<boolean>\",\n  \"widget_send_provider_emails\": \"<boolean>\",\n  \"send_reminder\": \"<boolean>\",\n  \"notify_app_unconfirmed\": \"<boolean>\",\n  \"send_to_contact\": \"<boolean>\",\n  \"notify_app_unpaid\": \"<boolean>\",\n  \"lang\": \"en\",\n  \"timezone_id\": \"<integer>\",\n  \"currenciesStripe\": [\n   \"<string>\",\n   \"<string>\"\n  ],\n  \"currenciesPaypal\": [\n   \"<string>\",\n   \"<string>\"\n  ],\n  \"stripe_client_id\": \"<string>\"\n }\n}"
								}
							]
						},
						{
							"name": "Get booking options",
							"request": {
								"auth": {
									"type": "apikey",
									"apikey": [
										{
											"key": "value",
											"value": "{{SESSION_TOKEN}}",
											"type": "string"
										},
										{
											"key": "key",
											"value": "session_token",
											"type": "string"
										},
										{
											"key": "in",
											"value": "query",
											"type": "string"
										}
									]
								},
								"method": "GET",
								"header": [],
								"url": {
									"raw": "{{baseUrl}}/account/getOptions?company_id={{company_id}}",
									"host": [
										"{{baseUrl}}"
									],
									"path": [
										"account",
										"getOptions"
									],
									"query": [
										{
											"key": "company_id",
											"value": "{{company_id}}",
											"description": "(Required) "
										}
									]
								},
								"description": "Get the currently set booking options."
							},
							"response": [
								{
									"name": "successful operation",
									"originalRequest": {
										"method": "GET",
										"header": [],
										"url": {
											"raw": "{{baseUrl}}/account/getOptions?company_id=<integer>&session_token=<API Key>",
											"host": [
												"{{baseUrl}}"
											],
											"path": [
												"account",
												"getOptions"
											],
											"query": [
												{
													"key": "company_id",
													"value": "<integer>"
												},
												{
													"key": "session_token",
													"value": "<API Key>"
												}
											]
										}
									},
									"status": "OK",
									"code": 200,
									"_postman_previewlanguage": "json",
									"header": [
										{
											"key": "Content-Type",
											"value": "application/json"
										}
									],
									"cookie": [],
									"body": "{\n \"statusCode\": \"<integer>\",\n \"statusDescriptions\": \"<string>\",\n \"data\": {\n  \"company_id\": \"<integer>\",\n  \"currency\": \"<string>\",\n  \"hide_contact\": 0,\n  \"hide_about\": 0,\n  \"show_email\": 0,\n  \"show_provider_image\": 0,\n  \"providers_tab_option\": \"<string>\",\n  \"select_single_service\": 1,\n  \"default_calendar_view\": \"d\",\n  \"month_view_availability\": \"<integer>\",\n  \"email_confirmation\": \"<integer>\",\n  \"book_another_appointment\": 0,\n  \"display_google_map_on_locations\": 0,\n  \"hide_timezone_alert\": \"<boolean>\",\n  \"select_single_location\": 1,\n  \"show_in_host_or_client_time\": 0,\n  \"email_timezone_alert\": 0,\n  \"widget_customBookingFields\": \"<string>\",\n  \"enable_mobile_widget\": 1,\n  \"any_available_provider\": \"<string>\",\n  \"show_staff_photo\": \"<boolean>\",\n  \"auto_confirm\": \"<boolean>\",\n  \"prior_notice\": \"<integer>\",\n  \"prior_cancel_appointment\": \"<integer>\",\n  \"prior_reschedule_appointment\": \"<integer>\",\n  \"duration_padding\": \"<integer>\",\n  \"start_step\": \"<integer>\",\n  \"after_notice\": \"<integer>\",\n  \"allow_cash_payment\": \"<boolean>\",\n  \"waiting_list\": \"<boolean>\",\n  \"layout_params\": \"<string>\",\n  \"style_params\": \"\",\n  \"new_style\": \"<integer>\",\n  \"new_mobile_style\": \"<integer>\",\n  \"widget_send_client_emails\": \"<boolean>\",\n  \"widget_send_provider_emails\": \"<boolean>\",\n  \"send_reminder\": \"<boolean>\",\n  \"notify_app_unconfirmed\": \"<boolean>\",\n  \"send_to_contact\": \"<boolean>\",\n  \"notify_app_unpaid\": \"<boolean>\",\n  \"lang\": \"en\",\n  \"timezone_id\": \"<integer>\",\n  \"currenciesStripe\": [\n   \"<string>\",\n   \"<string>\"\n  ],\n  \"currenciesPaypal\": [\n   \"<string>\",\n   \"<string>\"\n  ],\n  \"stripe_client_id\": \"<string>\"\n }\n}"
								}
							]
						},
						{
							"name": "Save personal info",
							"request": {
								"method": "POST",
								"header": [
									{
										"key": "Content-Type",
										"value": "application/json"
									}
								],
								"body": {
									"mode": "raw",
									"raw": "{\n    \"email\": \"<email>\",\n    \"password\": \"<password>\",\n    \"first_name\": \"<string>\",\n    \"last_name\": \"<string>\",\n    \"phone\": \"<string>\"\n}"
								},
								"url": {
									"raw": "{{baseUrl}}/account/savePersonalInfo?company_id={{company_id}}",
									"host": [
										"{{baseUrl}}"
									],
									"path": [
										"account",
										"savePersonalInfo"
									],
									"query": [
										{
											"key": "company_id",
											"value": "{{company_id}}"
										}
									]
								},
								"description": "Modify the attributes of the account owner."
							},
							"response": [
								{
									"name": "successful operation",
									"originalRequest": {
										"method": "POST",
										"header": [],
										"body": {
											"mode": "raw",
											"raw": "{\n    \"data\": {\n        \"email\": \"<email>\",\n        \"password\": \"<password>\",\n        \"first_name\": \"<string>\",\n        \"last_name\": \"<string>\",\n        \"phone\": \"<string>\"\n    }\n}"
										},
										"url": {
											"raw": "{{baseUrl}}/account/savePersonalInfo",
											"host": [
												"{{baseUrl}}"
											],
											"path": [
												"account",
												"savePersonalInfo"
											]
										}
									},
									"status": "OK",
									"code": 200,
									"_postman_previewlanguage": "json",
									"header": [
										{
											"key": "Content-Type",
											"value": "application/json"
										}
									],
									"cookie": [],
									"body": "{\n \"statusCode\": \"<integer>\",\n \"statusDescriptions\": \"<string>\",\n \"data\": {\n  \"company_id\": \"<long>\",\n  \"company_name\": \"<string>\",\n  \"email\": \"<email>\",\n  \"nick_name\": \"<string>\",\n  \"password\": \"<password>\",\n  \"website\": \"<uri>\",\n  \"contact\": \"<email>\",\n  \"facebook\": \"<uri>\",\n  \"linkedin\": \"<uri>\",\n  \"twitter\": \"<uri>\",\n  \"skype_name\": \"<string>\",\n  \"yelp\": \"<string>\",\n  \"pinterest\": \"<string>\",\n  \"vimeo\": \"<string>\",\n  \"youtube\": \"<string>\",\n  \"phone\": \"<string>\",\n  \"timezone_id\": 553,\n  \"fax\": \"<string>\",\n  \"industry\": \"<string>\",\n  \"logo\": \"<string>\",\n  \"paragraph\": \"<string>\",\n  \"first_name\": \"<string>\",\n  \"last_name\": \"<string>\",\n  \"id\": \"<integer>\",\n  \"created_by\": \"<long>\",\n  \"address_city\": \"<string>\",\n  \"address_country\": \"<string>\",\n  \"address_state\": \"<string>\",\n  \"address_street1\": \"<string>\",\n  \"address_street2\": \"<string>\",\n  \"addresszip\": \"<string>\",\n  \"send_to_contact\": 0,\n  \"show_map_profile\": false,\n  \"splash\": \"<string>\",\n  \"map_url\": \"<uri>\",\n  \"return_url\": \"<string>\",\n  \"policies\": \"<string>\",\n  \"account_type\": \"<integer>\",\n  \"date_created\": \"<dateTime>\",\n  \"no_views\": \"<string>\",\n  \"notify_app_unconfirmed\": true,\n  \"notify_app_unpaid\": true,\n  \"lang\": \"en\",\n  \"enable_locations\": true,\n  \"capture_leads\": \"<string>\",\n  \"settings\": \"<json>\",\n  \"status\": 0,\n  \"directory\": 0,\n  \"max_providers\": 0,\n  \"business_hours_label\": \"<string>\",\n  \"policies_label\": \"<string>\",\n  \"paragraph_label\": \"<string>\",\n  \"timezone\": 0,\n  \"exchange_sync_settings\": {\n   \"host\": \"<string>\",\n   \"account\": \"<string>\",\n   \"password\": \"<password>\",\n   \"sync_period\": \"<integer>\"\n  }\n }\n}"
								}
							]
						},
						{
							"name": "Get personal info",
							"request": {
								"auth": {
									"type": "apikey",
									"apikey": [
										{
											"key": "value",
											"value": "{{SESSION_TOKEN}}",
											"type": "string"
										},
										{
											"key": "key",
											"value": "session_token",
											"type": "string"
										},
										{
											"key": "in",
											"value": "query",
											"type": "string"
										}
									]
								},
								"method": "GET",
								"header": [],
								"url": {
									"raw": "{{baseUrl}}/account/getPersonalInfo?company_id={{company_id}}",
									"host": [
										"{{baseUrl}}"
									],
									"path": [
										"account",
										"getPersonalInfo"
									],
									"query": [
										{
											"key": "company_id",
											"value": "{{company_id}}"
										}
									]
								},
								"description": "Get the personal information of the account owner and the used licenses of the account."
							},
							"response": [
								{
									"name": "successful operation",
									"originalRequest": {
										"method": "GET",
										"header": [],
										"url": {
											"raw": "{{baseUrl}}/account/getPersonalInfo?session_token=<API Key>",
											"host": [
												"{{baseUrl}}"
											],
											"path": [
												"account",
												"getPersonalInfo"
											],
											"query": [
												{
													"key": "session_token",
													"value": "<API Key>"
												}
											]
										}
									},
									"status": "OK",
									"code": 200,
									"_postman_previewlanguage": "json",
									"header": [
										{
											"key": "Content-Type",
											"value": "application/json"
										}
									],
									"cookie": [],
									"body": "{\n \"statusCode\": \"<integer>\",\n \"statusDescriptions\": \"<string>\",\n \"data\": [\n  {\n   \"email\": \"<email>\",\n   \"phone\": \"<string>\",\n   \"first_name\": \"<string>\",\n   \"last_name\": \"<string>\",\n   \"permissions\": \"<string>\",\n   \"authority\": \"<string>\",\n   \"is_owner\": \"<boolean>\",\n   \"status\": \"<integer>\",\n   \"currency\": \"<string>\",\n   \"can_login\": \"<boolean>\",\n   \"used_licenses\": \"<integer>\",\n   \"locations\": \"<integer>\",\n   \"employees\": \"<integer>\",\n   \"company_id\": \"<integer>\"\n  },\n  {\n   \"email\": \"<email>\",\n   \"phone\": \"<string>\",\n   \"first_name\": \"<string>\",\n   \"last_name\": \"<string>\",\n   \"permissions\": \"<string>\",\n   \"authority\": \"<string>\",\n   \"is_owner\": \"<boolean>\",\n   \"status\": \"<integer>\",\n   \"currency\": \"<string>\",\n   \"can_login\": \"<boolean>\",\n   \"used_licenses\": \"<integer>\",\n   \"locations\": \"<integer>\",\n   \"employees\": \"<integer>\",\n   \"company_id\": \"<integer>\"\n  }\n ]\n}"
								}
							]
						},
						{
							"name": "Upload account logo",
							"request": {
								"auth": {
									"type": "apikey",
									"apikey": [
										{
											"key": "value",
											"value": "{{SESSION_TOKEN}}",
											"type": "string"
										},
										{
											"key": "key",
											"value": "session_token",
											"type": "string"
										},
										{
											"key": "in",
											"value": "query",
											"type": "string"
										}
									]
								},
								"method": "POST",
								"header": [
									{
										"key": "Content-Type",
										"value": "multipart/form-data"
									}
								],
								"body": {
									"mode": "formdata",
									"formdata": [
										{
											"key": "logo",
											"value": "<string>",
											"type": "text"
										}
									]
								},
								"url": {
									"raw": "{{baseUrl}}/account/uploadLogo?company_id={{company_id}}",
									"host": [
										"{{baseUrl}}"
									],
									"path": [
										"account",
										"uploadLogo"
									],
									"query": [
										{
											"key": "company_id",
											"value": "{{company_id}}"
										}
									]
								},
								"description": "Add or update the account logo."
							},
							"response": [
								{
									"name": "successful operation",
									"originalRequest": {
										"method": "POST",
										"header": [],
										"body": {
											"mode": "formdata",
											"formdata": [
												{
													"key": "logo",
													"value": "<string>",
													"type": "text"
												}
											]
										},
										"url": {
											"raw": "{{baseUrl}}/account/uploadLogo?session_token=<API Key>",
											"host": [
												"{{baseUrl}}"
											],
											"path": [
												"account",
												"uploadLogo"
											],
											"query": [
												{
													"key": "session_token",
													"value": "<API Key>"
												}
											]
										}
									},
									"status": "OK",
									"code": 200,
									"_postman_previewlanguage": "json",
									"header": [
										{
											"key": "Content-Type",
											"value": "application/json"
										}
									],
									"cookie": [],
									"body": "{\n \"statusCode\": \"<integer>\",\n \"statusDescriptions\": \"<string>\",\n \"data\": {\n  \"upload_id\": \"<integer>\",\n  \"file_name\": \"<string>\",\n  \"file_location\": \"<string>\"\n }\n}"
								}
							]
						},
						{
							"name": "Get Stripe",
							"request": {
								"auth": {
									"type": "apikey",
									"apikey": [
										{
											"key": "value",
											"value": "{{SESSION_TOKEN}}",
											"type": "string"
										},
										{
											"key": "key",
											"value": "session_token",
											"type": "string"
										},
										{
											"key": "in",
											"value": "query",
											"type": "string"
										}
									]
								},
								"method": "GET",
								"header": [],
								"url": {
									"raw": "{{baseUrl}}/account/getStripe?company_id={{company_id}}",
									"host": [
										"{{baseUrl}}"
									],
									"path": [
										"account",
										"getStripe"
									],
									"query": [
										{
											"key": "company_id",
											"value": "{{company_id}}"
										}
									]
								},
								"description": "Get Stripe connection data."
							},
							"response": [
								{
									"name": "successful operation",
									"originalRequest": {
										"method": "GET",
										"header": [],
										"url": {
											"raw": "{{baseUrl}}/account/getStripe?session_token=<API Key>",
											"host": [
												"{{baseUrl}}"
											],
											"path": [
												"account",
												"getStripe"
											],
											"query": [
												{
													"key": "session_token",
													"value": "<API Key>"
												}
											]
										}
									},
									"status": "OK",
									"code": 200,
									"_postman_previewlanguage": "json",
									"header": [
										{
											"key": "Content-Type",
											"value": "application/json"
										}
									],
									"cookie": [],
									"body": "{\n \"statusCode\": \"<integer>\",\n \"statusDescriptions\": \"<string>\",\n \"data\": {\n  \"stripePublishableKey\": \"<string>\"\n }\n}"
								}
							]
						},
						{
							"name": "Get PayPal email",
							"request": {
								"auth": {
									"type": "apikey",
									"apikey": [
										{
											"key": "value",
											"value": "{{SESSION_TOKEN}}",
											"type": "string"
										},
										{
											"key": "key",
											"value": "session_token",
											"type": "string"
										},
										{
											"key": "in",
											"value": "query",
											"type": "string"
										}
									]
								},
								"method": "GET",
								"header": [],
								"url": {
									"raw": "{{baseUrl}}/account/getPaypal?company_id={{company_id}}",
									"host": [
										"{{baseUrl}}"
									],
									"path": [
										"account",
										"getPaypal"
									],
									"query": [
										{
											"key": "company_id",
											"value": "{{company_id}}"
										}
									]
								},
								"description": "Get the PayPal email address of the account."
							},
							"response": [
								{
									"name": "successful operation",
									"originalRequest": {
										"method": "GET",
										"header": [],
										"url": {
											"raw": "{{baseUrl}}/account/getPaypal?session_token=<API Key>",
											"host": [
												"{{baseUrl}}"
											],
											"path": [
												"account",
												"getPaypal"
											],
											"query": [
												{
													"key": "session_token",
													"value": "<API Key>"
												}
											]
										}
									},
									"status": "OK",
									"code": 200,
									"_postman_previewlanguage": "json",
									"header": [
										{
											"key": "Content-Type",
											"value": "application/json"
										}
									],
									"cookie": [],
									"body": "{\n \"statusCode\": \"<integer>\",\n \"statusDescriptions\": \"<string>\",\n \"data\": {\n  \"paypal_email\": \"<email>\"\n }\n}"
								}
							]
						},
						{
							"name": "Get widget code",
							"request": {
								"auth": {
									"type": "apikey",
									"apikey": [
										{
											"key": "value",
											"value": "{{SESSION_TOKEN}}",
											"type": "string"
										},
										{
											"key": "key",
											"value": "session_token",
											"type": "string"
										},
										{
											"key": "in",
											"value": "query",
											"type": "string"
										}
									]
								},
								"method": "GET",
								"header": [],
								"url": {
									"raw": "{{baseUrl}}/account/getWidgetCode?company_id={{company_id}}&overlay_option=overlay&position=right&button_name=Appointment&button_color=ff0000&defaultService=<string>&defaultProvider=<string>&defaultLocation=<string>&returnUrl=<url>&locations_map=0&no_code=0&send_to=<email>",
									"host": [
										"{{baseUrl}}"
									],
									"path": [
										"account",
										"getWidgetCode"
									],
									"query": [
										{
											"key": "company_id",
											"value": "{{company_id}}",
											"description": "(Required) "
										},
										{
											"key": "overlay_option",
											"value": "overlay"
										},
										{
											"key": "position",
											"value": "right"
										},
										{
											"key": "button_name",
											"value": "Appointment"
										},
										{
											"key": "button_color",
											"value": "ff0000"
										},
										{
											"key": "defaultService",
											"value": "<string>"
										},
										{
											"key": "defaultProvider",
											"value": "<string>"
										},
										{
											"key": "defaultLocation",
											"value": "<string>"
										},
										{
											"key": "returnUrl",
											"value": "<url>"
										},
										{
											"key": "locations_map",
											"value": "0"
										},
										{
											"key": "no_code",
											"value": "0"
										},
										{
											"key": "send_to",
											"value": "<email>"
										}
									]
								},
								"description": "Get a copy of the Setster plug-and-play widget code. Find more info on the Setster widget here."
							},
							"response": [
								{
									"name": "successful operation",
									"originalRequest": {
										"method": "GET",
										"header": [],
										"url": {
											"raw": "{{baseUrl}}/account/getWidgetCode?company_id=<integer>&overlay_option=overlay&position=right&button_name=Appointment&button_color=ff0000&defaultService=<string>&defaultProvider=<string>&defaultLocation=<string>&returnUrl=<url>&locations_map=0&no_code=0&send_to=<email>&session_token=<API Key>",
											"host": [
												"{{baseUrl}}"
											],
											"path": [
												"account",
												"getWidgetCode"
											],
											"query": [
												{
													"key": "company_id",
													"value": "<integer>"
												},
												{
													"key": "overlay_option",
													"value": "overlay"
												},
												{
													"key": "position",
													"value": "right"
												},
												{
													"key": "button_name",
													"value": "Appointment"
												},
												{
													"key": "button_color",
													"value": "ff0000"
												},
												{
													"key": "defaultService",
													"value": "<string>"
												},
												{
													"key": "defaultProvider",
													"value": "<string>"
												},
												{
													"key": "defaultLocation",
													"value": "<string>"
												},
												{
													"key": "returnUrl",
													"value": "<url>"
												},
												{
													"key": "locations_map",
													"value": "0"
												},
												{
													"key": "no_code",
													"value": "0"
												},
												{
													"key": "send_to",
													"value": "<email>"
												},
												{
													"key": "session_token",
													"value": "<API Key>"
												}
											]
										}
									},
									"status": "OK",
									"code": 200,
									"_postman_previewlanguage": "json",
									"header": [
										{
											"key": "Content-Type",
											"value": "application/json"
										}
									],
									"cookie": [],
									"body": "{\n \"statusCode\": \"<integer>\",\n \"statusDescriptions\": \"<string>\",\n \"data\": {\n  \"html\": \"<html>\"\n }\n}"
								}
							]
						},
						{
							"name": "Request password reset",
							"request": {
								"method": "POST",
								"header": [],
								"url": {
									"raw": "{{baseUrl}}/account/request_password_reset?email=<email>&confirmation_url=<uri>&company_id={{company_id}}",
									"host": [
										"{{baseUrl}}"
									],
									"path": [
										"account",
										"request_password_reset"
									],
									"query": [
										{
											"key": "email",
											"value": "<email>",
											"description": "(Required) "
										},
										{
											"key": "confirmation_url",
											"value": "<uri>",
											"description": "(Required) The base url used to generate the confirmation link in the email message that is sent to the client. Confirmation link = confirmation_url + '?email={userEmail}&hash_code={hashCode}'"
										},
										{
											"key": "company_id",
											"value": "{{company_id}}"
										}
									]
								},
								"description": "Initiates the password reset process. In order to reset the password a pre request must be made."
							},
							"response": [
								{
									"name": "successful operation",
									"originalRequest": {
										"method": "POST",
										"header": [],
										"url": {
											"raw": "{{baseUrl}}/account/request_password_reset?email=<email>&confirmation_url=<uri>",
											"host": [
												"{{baseUrl}}"
											],
											"path": [
												"account",
												"request_password_reset"
											],
											"query": [
												{
													"key": "email",
													"value": "<email>"
												},
												{
													"key": "confirmation_url",
													"value": "<uri>"
												}
											]
										}
									},
									"status": "OK",
									"code": 200,
									"_postman_previewlanguage": "json",
									"header": [
										{
											"key": "Content-Type",
											"value": "application/json"
										}
									],
									"cookie": [],
									"body": "{\n \"statusCode\": \"<integer>\",\n \"statusDescriptions\": \"<string>\",\n \"data\": \"<object>\"\n}"
								}
							]
						},
						{
							"name": "Logout",
							"request": {
								"auth": {
									"type": "apikey",
									"apikey": [
										{
											"key": "value",
											"value": "{{SESSION_TOKEN}}",
											"type": "string"
										},
										{
											"key": "key",
											"value": "session_token",
											"type": "string"
										},
										{
											"key": "in",
											"value": "query",
											"type": "string"
										}
									]
								},
								"method": "GET",
								"header": [],
								"url": {
									"raw": "{{baseUrl}}/account/logout?company_id={{company_id}}",
									"host": [
										"{{baseUrl}}"
									],
									"path": [
										"account",
										"logout"
									],
									"query": [
										{
											"key": "company_id",
											"value": "{{company_id}}"
										}
									]
								},
								"description": "Perform an account log out and terminate the current active session."
							},
							"response": [
								{
									"name": "Logout successful",
									"originalRequest": {
										"method": "GET",
										"header": [],
										"url": {
											"raw": "{{baseUrl}}/account/logout?session_token=<API Key>",
											"host": [
												"{{baseUrl}}"
											],
											"path": [
												"account",
												"logout"
											],
											"query": [
												{
													"key": "session_token",
													"value": "<API Key>"
												}
											]
										}
									},
									"status": "Moved Permanently",
									"code": 301,
									"_postman_previewlanguage": "text",
									"header": [
										{
											"key": "Content-Type",
											"value": "text/plain"
										}
									],
									"cookie": [],
									"body": ""
								}
							]
						},
						{
							"name": "Update account password",
							"request": {
								"method": "POST",
								"header": [],
								"url": {
									"raw": "{{baseUrl}}/account/reset_password?email=<email>&hash_code=<string>&new_password=<password>&company_id={{company_id}}",
									"host": [
										"{{baseUrl}}"
									],
									"path": [
										"account",
										"reset_password"
									],
									"query": [
										{
											"key": "email",
											"value": "<email>",
											"description": "(Required) "
										},
										{
											"key": "hash_code",
											"value": "<string>",
											"description": "(Required) "
										},
										{
											"key": "new_password",
											"value": "<password>",
											"description": "(Required) "
										},
										{
											"key": "company_id",
											"value": "{{company_id}}"
										}
									]
								},
								"description": "Modifies the account owner's password using the valid hash_code that was used when initiating the password reset process. The Request Password Reset call should be performed beforehand.\n\n "
							},
							"response": [
								{
									"name": "successful operation",
									"originalRequest": {
										"method": "POST",
										"header": [],
										"url": {
											"raw": "{{baseUrl}}/account/reset_password?email=<email>&hash_code=<string>&new_password=<password>",
											"host": [
												"{{baseUrl}}"
											],
											"path": [
												"account",
												"reset_password"
											],
											"query": [
												{
													"key": "email",
													"value": "<email>"
												},
												{
													"key": "hash_code",
													"value": "<string>"
												},
												{
													"key": "new_password",
													"value": "<password>"
												}
											]
										}
									},
									"status": "OK",
									"code": 200,
									"_postman_previewlanguage": "json",
									"header": [
										{
											"key": "Content-Type",
											"value": "application/json"
										}
									],
									"cookie": [],
									"body": "{\n \"statusCode\": \"<integer>\",\n \"statusDescriptions\": \"<string>\",\n \"data\": \"<object>\"\n}"
								}
							]
						},
						{
							"name": "Check nickname availability",
							"request": {
								"method": "GET",
								"header": [],
								"url": {
									"raw": "{{baseUrl}}/account/checknickname/:nickname?company_id={{company_id}}",
									"host": [
										"{{baseUrl}}"
									],
									"path": [
										"account",
										"checknickname",
										":nickname"
									],
									"query": [
										{
											"key": "company_id",
											"value": "{{company_id}}"
										}
									],
									"variable": [
										{
											"key": "nickname",
											"value": "<string>",
											"description": "(Required) "
										}
									]
								},
								"description": "Check whether a nickname (nick_name) is already in use. Nicknames within the Setster service must be unique and create the URL under the Setster domain. Example demo.setster.com."
							},
							"response": [
								{
									"name": "successful operation",
									"originalRequest": {
										"method": "GET",
										"header": [],
										"url": {
											"raw": "{{baseUrl}}/account/checknickname/:nickname",
											"host": [
												"{{baseUrl}}"
											],
											"path": [
												"account",
												"checknickname",
												":nickname"
											],
											"variable": [
												{
													"key": "nickname"
												}
											]
										}
									},
									"status": "OK",
									"code": 200,
									"_postman_previewlanguage": "json",
									"header": [
										{
											"key": "Content-Type",
											"value": "application/json"
										}
									],
									"cookie": [],
									"body": "{\n \"statusCode\": \"<integer>\",\n \"statusDescriptions\": \"<string>\",\n \"data\": \"<object>\"\n}"
								}
							]
						},
						{
							"name": "Check email availability",
							"request": {
								"method": "GET",
								"header": [],
								"url": {
									"raw": "{{baseUrl}}/account/checkemail/:email?company_id={{company_id}}",
									"host": [
										"{{baseUrl}}"
									],
									"path": [
										"account",
										"checkemail",
										":email"
									],
									"query": [
										{
											"key": "company_id",
											"value": "{{company_id}}"
										}
									],
									"variable": [
										{
											"key": "email",
											"value": "<email>",
											"description": "(Required) "
										}
									]
								},
								"description": "Check whether an email is already in use. Emails within the Setster service are required to be unique."
							},
							"response": [
								{
									"name": "successful operation",
									"originalRequest": {
										"method": "GET",
										"header": [],
										"url": {
											"raw": "{{baseUrl}}/account/checkemail/:email",
											"host": [
												"{{baseUrl}}"
											],
											"path": [
												"account",
												"checkemail",
												":email"
											],
											"variable": [
												{
													"key": "email"
												}
											]
										}
									},
									"status": "OK",
									"code": 200,
									"_postman_previewlanguage": "json",
									"header": [
										{
											"key": "Content-Type",
											"value": "application/json"
										}
									],
									"cookie": [],
									"body": "{\n \"statusCode\": \"<integer>\",\n \"statusDescriptions\": \"<string>\",\n \"data\": \"<object>\"\n}"
								}
							]
						}
					]
				},
				{
					"name": "location",
					"item": [
						{
							"name": "{id}",
							"item": [
								{
									"name": "Get a location",
									"request": {
										"auth": {
											"type": "apikey",
											"apikey": [
												{
													"key": "value",
													"value": "{{SESSION_TOKEN}}",
													"type": "string"
												},
												{
													"key": "key",
													"value": "session_token",
													"type": "string"
												},
												{
													"key": "in",
													"value": "query",
													"type": "string"
												}
											]
										},
										"method": "GET",
										"header": [],
										"url": {
											"raw": "{{baseUrl}}/location/:id?company_id={{company_id}}",
											"host": [
												"{{baseUrl}}"
											],
											"path": [
												"location",
												":id"
											],
											"query": [
												{
													"key": "company_id",
													"value": "{{company_id}}"
												}
											],
											"variable": [
												{
													"key": "id",
													"value": "<long>",
													"description": "(Required) Location id"
												}
											]
										},
										"description": "Get the attributes of a specific location."
									},
									"response": [
										{
											"name": "successful operation",
											"originalRequest": {
												"method": "GET",
												"header": [],
												"url": {
													"raw": "{{baseUrl}}/location/:id?session_token=<API Key>",
													"host": [
														"{{baseUrl}}"
													],
													"path": [
														"location",
														":id"
													],
													"query": [
														{
															"key": "session_token",
															"value": "<API Key>"
														}
													],
													"variable": [
														{
															"key": "id"
														}
													]
												}
											},
											"status": "OK",
											"code": 200,
											"_postman_previewlanguage": "json",
											"header": [
												{
													"key": "Content-Type",
													"value": "application/json"
												}
											],
											"cookie": [],
											"body": "{\n \"statusCode\": \"<integer>\",\n \"statusDescriptions\": \"<string>\",\n \"data\": [\n  {\n   \"company_id\": \"<long>\",\n   \"name\": \"<string>\",\n   \"id\": \"<long>\",\n   \"description\": \"\",\n   \"is_main\": false,\n   \"virtual\": false,\n   \"street1\": \"<string>\",\n   \"street2\": \"<string>\",\n   \"city\": \"<string>\",\n   \"state\": \"<string>\",\n   \"zip\": \"<string>\",\n   \"country\": \"<string>\",\n   \"photo\": \"<uri>\",\n   \"phone\": \"\",\n   \"email\": \"<email>\",\n   \"website\": \"<uri>\",\n   \"tags\": \"\",\n   \"paypal_email\": \"<email>\",\n   \"timezone_id\": \"<string>\",\n   \"lat\": \"<float>\",\n   \"lng\": \"<float>\",\n   \"ord\": 0\n  },\n  {\n   \"company_id\": \"<long>\",\n   \"name\": \"<string>\",\n   \"id\": \"<long>\",\n   \"description\": \"\",\n   \"is_main\": false,\n   \"virtual\": false,\n   \"street1\": \"<string>\",\n   \"street2\": \"<string>\",\n   \"city\": \"<string>\",\n   \"state\": \"<string>\",\n   \"zip\": \"<string>\",\n   \"country\": \"<string>\",\n   \"photo\": \"<uri>\",\n   \"phone\": \"\",\n   \"email\": \"<email>\",\n   \"website\": \"<uri>\",\n   \"tags\": \"\",\n   \"paypal_email\": \"<email>\",\n   \"timezone_id\": \"<string>\",\n   \"lat\": \"<float>\",\n   \"lng\": \"<float>\",\n   \"ord\": 0\n  }\n ]\n}"
										}
									]
								},
								{
									"name": "Modify location",
									"request": {
										"auth": {
											"type": "apikey",
											"apikey": [
												{
													"key": "value",
													"value": "{{SESSION_TOKEN}}",
													"type": "string"
												},
												{
													"key": "key",
													"value": "session_token",
													"type": "string"
												},
												{
													"key": "in",
													"value": "query",
													"type": "string"
												}
											]
										},
										"method": "PUT",
										"header": [
											{
												"key": "Content-Type",
												"value": "application/json"
											}
										],
										"body": {
											"mode": "raw",
											"raw": "{\n    \"company_id\": \"{{company_id}}\",\n    \"name\": \"<string>\",\n    \"description\": \"\",\n    \"virtual\": false,\n    \"street1\": \"<string>\",\n    \"street2\": \"<string>\",\n    \"city\": \"<string>\",\n    \"state\": \"<string>\",\n    \"zip\": \"<string>\",\n    \"country\": \"<string>\",\n    \"photo\": \"<uri>\",\n    \"phone\": \"\",\n    \"email\": \"<email>\",\n    \"website\": \"<uri>\",\n    \"tags\": \"\",\n    \"paypal_email\": \"<email>\",\n    \"timezone_id\": \"<string>\",\n    \"lat\": \"<float>\",\n    \"lng\": \"<float>\",\n    \"update_lat_lng\": false,\n    \"links\": \"<string>\"\n}"
										},
										"url": {
											"raw": "{{baseUrl}}/location/:id?company_id={{company_id}}",
											"host": [
												"{{baseUrl}}"
											],
											"path": [
												"location",
												":id"
											],
											"query": [
												{
													"key": "company_id",
													"value": "{{company_id}}"
												}
											],
											"variable": [
												{
													"key": "id",
													"value": "<long>",
													"description": "(Required) Location id"
												}
											]
										},
										"description": "Modify the attributes of an existing location."
									},
									"response": [
										{
											"name": "successful operation",
											"originalRequest": {
												"method": "PUT",
												"header": [],
												"body": {
													"mode": "raw",
													"raw": "{\n    \"data\": {\n        \"company_id\": \"<long>\",\n        \"name\": \"<string>\",\n        \"description\": \"\",\n        \"virtual\": false,\n        \"street1\": \"<string>\",\n        \"street2\": \"<string>\",\n        \"city\": \"<string>\",\n        \"state\": \"<string>\",\n        \"zip\": \"<string>\",\n        \"country\": \"<string>\",\n        \"photo\": \"<uri>\",\n        \"phone\": \"\",\n        \"email\": \"<email>\",\n        \"website\": \"<uri>\",\n        \"tags\": \"\",\n        \"paypal_email\": \"<email>\",\n        \"timezone_id\": \"<string>\",\n        \"lat\": \"<float>\",\n        \"lng\": \"<float>\",\n        \"update_lat_lng\": false,\n        \"links\": \"<string>\"\n    }\n}"
												},
												"url": {
													"raw": "{{baseUrl}}/location/:id?session_token=<API Key>",
													"host": [
														"{{baseUrl}}"
													],
													"path": [
														"location",
														":id"
													],
													"query": [
														{
															"key": "session_token",
															"value": "<API Key>"
														}
													],
													"variable": [
														{
															"key": "id"
														}
													]
												}
											},
											"status": "OK",
											"code": 200,
											"_postman_previewlanguage": "json",
											"header": [
												{
													"key": "Content-Type",
													"value": "application/json"
												}
											],
											"cookie": [],
											"body": "{\n \"statusCode\": \"<integer>\",\n \"statusDescriptions\": \"<string>\",\n \"data\": [\n  {\n   \"company_id\": \"<long>\",\n   \"name\": \"<string>\",\n   \"id\": \"<long>\",\n   \"description\": \"\",\n   \"is_main\": false,\n   \"virtual\": false,\n   \"street1\": \"<string>\",\n   \"street2\": \"<string>\",\n   \"city\": \"<string>\",\n   \"state\": \"<string>\",\n   \"zip\": \"<string>\",\n   \"country\": \"<string>\",\n   \"photo\": \"<uri>\",\n   \"phone\": \"\",\n   \"email\": \"<email>\",\n   \"website\": \"<uri>\",\n   \"tags\": \"\",\n   \"paypal_email\": \"<email>\",\n   \"timezone_id\": \"<string>\",\n   \"lat\": \"<float>\",\n   \"lng\": \"<float>\",\n   \"ord\": 0\n  },\n  {\n   \"company_id\": \"<long>\",\n   \"name\": \"<string>\",\n   \"id\": \"<long>\",\n   \"description\": \"\",\n   \"is_main\": false,\n   \"virtual\": false,\n   \"street1\": \"<string>\",\n   \"street2\": \"<string>\",\n   \"city\": \"<string>\",\n   \"state\": \"<string>\",\n   \"zip\": \"<string>\",\n   \"country\": \"<string>\",\n   \"photo\": \"<uri>\",\n   \"phone\": \"\",\n   \"email\": \"<email>\",\n   \"website\": \"<uri>\",\n   \"tags\": \"\",\n   \"paypal_email\": \"<email>\",\n   \"timezone_id\": \"<string>\",\n   \"lat\": \"<float>\",\n   \"lng\": \"<float>\",\n   \"ord\": 0\n  }\n ]\n}"
										}
									]
								},
								{
									"name": "Delete a location",
									"request": {
										"auth": {
											"type": "apikey",
											"apikey": [
												{
													"key": "value",
													"value": "{{SESSION_TOKEN}}",
													"type": "string"
												},
												{
													"key": "key",
													"value": "session_token",
													"type": "string"
												},
												{
													"key": "in",
													"value": "query",
													"type": "string"
												}
											]
										},
										"method": "DELETE",
										"header": [],
										"url": {
											"raw": "{{baseUrl}}/location/:id?company_id={{company_id}}",
											"host": [
												"{{baseUrl}}"
											],
											"path": [
												"location",
												":id"
											],
											"query": [
												{
													"key": "company_id",
													"value": "{{company_id}}"
												}
											],
											"variable": [
												{
													"key": "id",
													"value": "<long>",
													"description": "(Required) Location id"
												}
											]
										},
										"description": "Delete an existing location."
									},
									"response": [
										{
											"name": "successful operation",
											"originalRequest": {
												"method": "DELETE",
												"header": [],
												"url": {
													"raw": "{{baseUrl}}/location/:id?session_token=<API Key>",
													"host": [
														"{{baseUrl}}"
													],
													"path": [
														"location",
														":id"
													],
													"query": [
														{
															"key": "session_token",
															"value": "<API Key>"
														}
													],
													"variable": [
														{
															"key": "id"
														}
													]
												}
											},
											"status": "OK",
											"code": 200,
											"_postman_previewlanguage": "json",
											"header": [
												{
													"key": "Content-Type",
													"value": "application/json"
												}
											],
											"cookie": [],
											"body": "{\n \"statusCode\": \"<integer>\",\n \"statusDescriptions\": \"<string>\",\n \"data\": \"<object>\"\n}"
										}
									]
								}
							]
						},
						{
							"name": "List locations",
							"request": {
								"auth": {
									"type": "apikey",
									"apikey": [
										{
											"key": "value",
											"value": "{{SESSION_TOKEN}}",
											"type": "string"
										},
										{
											"key": "key",
											"value": "session_token",
											"type": "string"
										},
										{
											"key": "in",
											"value": "query",
											"type": "string"
										}
									]
								},
								"method": "GET",
								"header": [],
								"url": {
									"raw": "{{baseUrl}}/location?id=<integer>&company_id={{company_id}}&name=<string>&description=<string>&street1=<string>&street2=<string>&city=<string>&state=<string>&zip=<string>&phone=<string>&email=<string>&website=<string>&lat=<number>&lng=<number>&country=<string>&tags=<string>&photo=<string>&paypal_email=<string>&timezone_id=<integer>&virtual=<boolean>&tmp_default=<boolean>&has_links=<boolean>&include_links=<boolean>",
									"host": [
										"{{baseUrl}}"
									],
									"path": [
										"location"
									],
									"query": [
										{
											"key": "id",
											"value": "<integer>",
											"description": "Location ID"
										},
										{
											"key": "company_id",
											"value": "{{company_id}}",
											"description": "(Required) Company id"
										},
										{
											"key": "name",
											"value": "<string>"
										},
										{
											"key": "description",
											"value": "<string>"
										},
										{
											"key": "street1",
											"value": "<string>"
										},
										{
											"key": "street2",
											"value": "<string>"
										},
										{
											"key": "city",
											"value": "<string>"
										},
										{
											"key": "state",
											"value": "<string>"
										},
										{
											"key": "zip",
											"value": "<string>"
										},
										{
											"key": "phone",
											"value": "<string>"
										},
										{
											"key": "email",
											"value": "<string>"
										},
										{
											"key": "website",
											"value": "<string>"
										},
										{
											"key": "lat",
											"value": "<number>"
										},
										{
											"key": "lng",
											"value": "<number>"
										},
										{
											"key": "country",
											"value": "<string>"
										},
										{
											"key": "tags",
											"value": "<string>"
										},
										{
											"key": "photo",
											"value": "<string>"
										},
										{
											"key": "paypal_email",
											"value": "<string>"
										},
										{
											"key": "timezone_id",
											"value": "<integer>",
											"description": "The timezone id"
										},
										{
											"key": "virtual",
											"value": "<boolean>"
										},
										{
											"key": "tmp_default",
											"value": "<boolean>"
										},
										{
											"key": "has_links",
											"value": "<boolean>"
										},
										{
											"key": "include_links",
											"value": "<boolean>"
										}
									]
								},
								"description": "Get a list of all locations and their attributes."
							},
							"response": [
								{
									"name": "successful operation",
									"originalRequest": {
										"method": "GET",
										"header": [],
										"url": {
											"raw": "{{baseUrl}}/location?id=<integer>&company_id=<integer>&name=<string>&description=<string>&street1=<string>&street2=<string>&city=<string>&state=<string>&zip=<string>&phone=<string>&email=<string>&website=<string>&lat=<number>&lng=<number>&country=<string>&tags=<string>&photo=<string>&paypal_email=<string>&timezone_id=<integer>&virtual=<boolean>&tmp_default=<boolean>&has_links=<boolean>&include_links=<boolean>&session_token=<API Key>",
											"host": [
												"{{baseUrl}}"
											],
											"path": [
												"location"
											],
											"query": [
												{
													"key": "id",
													"value": "<integer>"
												},
												{
													"key": "company_id",
													"value": "<integer>"
												},
												{
													"key": "name",
													"value": "<string>"
												},
												{
													"key": "description",
													"value": "<string>"
												},
												{
													"key": "street1",
													"value": "<string>"
												},
												{
													"key": "street2",
													"value": "<string>"
												},
												{
													"key": "city",
													"value": "<string>"
												},
												{
													"key": "state",
													"value": "<string>"
												},
												{
													"key": "zip",
													"value": "<string>"
												},
												{
													"key": "phone",
													"value": "<string>"
												},
												{
													"key": "email",
													"value": "<string>"
												},
												{
													"key": "website",
													"value": "<string>"
												},
												{
													"key": "lat",
													"value": "<number>"
												},
												{
													"key": "lng",
													"value": "<number>"
												},
												{
													"key": "country",
													"value": "<string>"
												},
												{
													"key": "tags",
													"value": "<string>"
												},
												{
													"key": "photo",
													"value": "<string>"
												},
												{
													"key": "paypal_email",
													"value": "<string>"
												},
												{
													"key": "timezone_id",
													"value": "<integer>"
												},
												{
													"key": "virtual",
													"value": "<boolean>"
												},
												{
													"key": "tmp_default",
													"value": "<boolean>"
												},
												{
													"key": "has_links",
													"value": "<boolean>"
												},
												{
													"key": "include_links",
													"value": "<boolean>"
												},
												{
													"key": "session_token",
													"value": "<API Key>"
												}
											]
										}
									},
									"status": "OK",
									"code": 200,
									"_postman_previewlanguage": "json",
									"header": [
										{
											"key": "Content-Type",
											"value": "application/json"
										}
									],
									"cookie": [],
									"body": "{\n \"statusCode\": \"<integer>\",\n \"statusDescriptions\": \"<string>\",\n \"data\": [\n  {\n   \"company_id\": \"<long>\",\n   \"name\": \"<string>\",\n   \"id\": \"<long>\",\n   \"description\": \"\",\n   \"is_main\": false,\n   \"virtual\": false,\n   \"street1\": \"<string>\",\n   \"street2\": \"<string>\",\n   \"city\": \"<string>\",\n   \"state\": \"<string>\",\n   \"zip\": \"<string>\",\n   \"country\": \"<string>\",\n   \"photo\": \"<uri>\",\n   \"phone\": \"\",\n   \"email\": \"<email>\",\n   \"website\": \"<uri>\",\n   \"tags\": \"\",\n   \"paypal_email\": \"<email>\",\n   \"timezone_id\": \"<string>\",\n   \"lat\": \"<float>\",\n   \"lng\": \"<float>\",\n   \"ord\": 0\n  },\n  {\n   \"company_id\": \"<long>\",\n   \"name\": \"<string>\",\n   \"id\": \"<long>\",\n   \"description\": \"\",\n   \"is_main\": false,\n   \"virtual\": false,\n   \"street1\": \"<string>\",\n   \"street2\": \"<string>\",\n   \"city\": \"<string>\",\n   \"state\": \"<string>\",\n   \"zip\": \"<string>\",\n   \"country\": \"<string>\",\n   \"photo\": \"<uri>\",\n   \"phone\": \"\",\n   \"email\": \"<email>\",\n   \"website\": \"<uri>\",\n   \"tags\": \"\",\n   \"paypal_email\": \"<email>\",\n   \"timezone_id\": \"<string>\",\n   \"lat\": \"<float>\",\n   \"lng\": \"<float>\",\n   \"ord\": 0\n  }\n ]\n}"
								}
							]
						},
						{
							"name": "Create location",
							"request": {
								"auth": {
									"type": "apikey",
									"apikey": [
										{
											"key": "value",
											"value": "{{SESSION_TOKEN}}",
											"type": "string"
										},
										{
											"key": "key",
											"value": "session_token",
											"type": "string"
										},
										{
											"key": "in",
											"value": "query",
											"type": "string"
										}
									]
								},
								"method": "POST",
								"header": [
									{
										"key": "Content-Type",
										"value": "application/json"
									}
								],
								"body": {
									"mode": "raw",
									"raw": "{\n    \"company_id\": \"{{company_id}}\",\n    \"name\": \"<string>\",\n    \"description\": \"\",\n    \"virtual\": false,\n    \"street1\": \"<string>\",\n    \"street2\": \"<string>\",\n    \"city\": \"<string>\",\n    \"state\": \"<string>\",\n    \"zip\": \"<string>\",\n    \"country\": \"<string>\",\n    \"photo\": \"<uri>\",\n    \"phone\": \"\",\n    \"email\": \"<email>\",\n    \"website\": \"<uri>\",\n    \"tags\": \"\",\n    \"paypal_email\": \"<email>\",\n    \"timezone_id\": \"<string>\",\n    \"lat\": \"<float>\",\n    \"lng\": \"<float>\",\n    \"update_lat_lng\": false,\n    \"links\": \"<string>\"\n}"
								},
								"url": {
									"raw": "{{baseUrl}}/location?company_id={{company_id}}",
									"host": [
										"{{baseUrl}}"
									],
									"path": [
										"location"
									],
									"query": [
										{
											"key": "company_id",
											"value": "{{company_id}}"
										}
									]
								},
								"description": "Create a new location."
							},
							"response": [
								{
									"name": "successful operation",
									"originalRequest": {
										"method": "POST",
										"header": [],
										"body": {
											"mode": "raw",
											"raw": "{\n    \"data\": {\n        \"company_id\": \"<long>\",\n        \"name\": \"<string>\",\n        \"description\": \"\",\n        \"virtual\": false,\n        \"street1\": \"<string>\",\n        \"street2\": \"<string>\",\n        \"city\": \"<string>\",\n        \"state\": \"<string>\",\n        \"zip\": \"<string>\",\n        \"country\": \"<string>\",\n        \"photo\": \"<uri>\",\n        \"phone\": \"\",\n        \"email\": \"<email>\",\n        \"website\": \"<uri>\",\n        \"tags\": \"\",\n        \"paypal_email\": \"<email>\",\n        \"timezone_id\": \"<string>\",\n        \"lat\": \"<float>\",\n        \"lng\": \"<float>\",\n        \"update_lat_lng\": false,\n        \"links\": \"<string>\"\n    }\n}"
										},
										"url": {
											"raw": "{{baseUrl}}/location?session_token=<API Key>",
											"host": [
												"{{baseUrl}}"
											],
											"path": [
												"location"
											],
											"query": [
												{
													"key": "session_token",
													"value": "<API Key>"
												}
											]
										}
									},
									"status": "OK",
									"code": 200,
									"_postman_previewlanguage": "json",
									"header": [
										{
											"key": "Content-Type",
											"value": "application/json"
										}
									],
									"cookie": [],
									"body": "{\n \"statusCode\": \"<integer>\",\n \"statusDescriptions\": \"<string>\",\n \"data\": [\n  {\n   \"company_id\": \"<long>\",\n   \"name\": \"<string>\",\n   \"id\": \"<long>\",\n   \"description\": \"\",\n   \"is_main\": false,\n   \"virtual\": false,\n   \"street1\": \"<string>\",\n   \"street2\": \"<string>\",\n   \"city\": \"<string>\",\n   \"state\": \"<string>\",\n   \"zip\": \"<string>\",\n   \"country\": \"<string>\",\n   \"photo\": \"<uri>\",\n   \"phone\": \"\",\n   \"email\": \"<email>\",\n   \"website\": \"<uri>\",\n   \"tags\": \"\",\n   \"paypal_email\": \"<email>\",\n   \"timezone_id\": \"<string>\",\n   \"lat\": \"<float>\",\n   \"lng\": \"<float>\",\n   \"ord\": 0\n  },\n  {\n   \"company_id\": \"<long>\",\n   \"name\": \"<string>\",\n   \"id\": \"<long>\",\n   \"description\": \"\",\n   \"is_main\": false,\n   \"virtual\": false,\n   \"street1\": \"<string>\",\n   \"street2\": \"<string>\",\n   \"city\": \"<string>\",\n   \"state\": \"<string>\",\n   \"zip\": \"<string>\",\n   \"country\": \"<string>\",\n   \"photo\": \"<uri>\",\n   \"phone\": \"\",\n   \"email\": \"<email>\",\n   \"website\": \"<uri>\",\n   \"tags\": \"\",\n   \"paypal_email\": \"<email>\",\n   \"timezone_id\": \"<string>\",\n   \"lat\": \"<float>\",\n   \"lng\": \"<float>\",\n   \"ord\": 0\n  }\n ]\n}"
								}
							]
						},
						{
							"name": "Assign all services and employees to a location",
							"request": {
								"auth": {
									"type": "apikey",
									"apikey": [
										{
											"key": "value",
											"value": "{{SESSION_TOKEN}}",
											"type": "string"
										},
										{
											"key": "key",
											"value": "session_token",
											"type": "string"
										},
										{
											"key": "in",
											"value": "query",
											"type": "string"
										}
									]
								},
								"method": "POST",
								"header": [
									{
										"key": "Content-Type",
										"value": "application/json"
									}
								],
								"body": {
									"mode": "raw",
									"raw": "{\n    \"<EMPLOYEE_ID>\": [\n        \"<SERVICE_1_ID>\",\n        \"<SERVICE_2_ID>\"\n    ]\n}"
								},
								"url": {
									"raw": "{{baseUrl}}/location/assignServices?location_id=<long>&company_id={{company_id}}",
									"host": [
										"{{baseUrl}}"
									],
									"path": [
										"location",
										"assignServices"
									],
									"query": [
										{
											"key": "location_id",
											"value": "<long>",
											"description": "Location id"
										},
										{
											"key": "company_id",
											"value": "{{company_id}}"
										}
									]
								},
								"description": "Link or assign a specific location to all existing employees and services."
							},
							"response": [
								{
									"name": "successful operation",
									"originalRequest": {
										"method": "POST",
										"header": [],
										"body": {
											"mode": "raw",
											"raw": "{\n    \"data\": \"<object>\"\n}"
										},
										"url": {
											"raw": "{{baseUrl}}/location/assignServices?location_id=<long>&session_token=<API Key>",
											"host": [
												"{{baseUrl}}"
											],
											"path": [
												"location",
												"assignServices"
											],
											"query": [
												{
													"key": "location_id",
													"value": "<long>"
												},
												{
													"key": "session_token",
													"value": "<API Key>"
												}
											]
										}
									},
									"status": "OK",
									"code": 200,
									"_postman_previewlanguage": "json",
									"header": [
										{
											"key": "Content-Type",
											"value": "application/json"
										}
									],
									"cookie": [],
									"body": "{\n \"statusCode\": \"<integer>\",\n \"statusDescriptions\": \"<string>\",\n \"data\": \"<object>\"\n}"
								}
							]
						},
						{
							"name": "Upload location photo",
							"request": {
								"auth": {
									"type": "apikey",
									"apikey": [
										{
											"key": "value",
											"value": "{{SESSION_TOKEN}}",
											"type": "string"
										},
										{
											"key": "key",
											"value": "session_token",
											"type": "string"
										},
										{
											"key": "in",
											"value": "query",
											"type": "string"
										}
									]
								},
								"method": "POST",
								"header": [
									{
										"key": "Content-Type",
										"value": "multipart/form-data"
									}
								],
								"body": {
									"mode": "formdata",
									"formdata": [
										{
											"key": "photo",
											"value": "<binary>",
											"type": "text"
										}
									]
								},
								"url": {
									"raw": "{{baseUrl}}/location/uploadPhoto?location=<long>&company_id={{company_id}}",
									"host": [
										"{{baseUrl}}"
									],
									"path": [
										"location",
										"uploadPhoto"
									],
									"query": [
										{
											"key": "location",
											"value": "<long>",
											"description": "Location id"
										},
										{
											"key": "company_id",
											"value": "{{company_id}}"
										}
									]
								},
								"description": "Add or update the image of a specific location."
							},
							"response": [
								{
									"name": "successful operation",
									"originalRequest": {
										"method": "POST",
										"header": [],
										"body": {
											"mode": "formdata",
											"formdata": [
												{
													"key": "photo",
													"value": "<binary>",
													"type": "text"
												}
											]
										},
										"url": {
											"raw": "{{baseUrl}}/location/uploadPhoto?location=<long>&session_token=<API Key>",
											"host": [
												"{{baseUrl}}"
											],
											"path": [
												"location",
												"uploadPhoto"
											],
											"query": [
												{
													"key": "location",
													"value": "<long>"
												},
												{
													"key": "session_token",
													"value": "<API Key>"
												}
											]
										}
									},
									"status": "OK",
									"code": 200,
									"_postman_previewlanguage": "json",
									"header": [
										{
											"key": "Content-Type",
											"value": "application/json"
										}
									],
									"cookie": [],
									"body": "{\n \"statusCode\": \"<integer>\",\n \"statusDescriptions\": \"<string>\",\n \"data\": {\n  \"upload_id\": \"<long>\",\n  \"file_name\": \"<string>\",\n  \"file_location\": \"<string>\"\n }\n}"
								}
							]
						},
						{
							"name": "Remove location photo",
							"request": {
								"auth": {
									"type": "apikey",
									"apikey": [
										{
											"key": "value",
											"value": "{{SESSION_TOKEN}}",
											"type": "string"
										},
										{
											"key": "key",
											"value": "session_token",
											"type": "string"
										},
										{
											"key": "in",
											"value": "query",
											"type": "string"
										}
									]
								},
								"method": "POST",
								"header": [
									{
										"key": "Content-Type",
										"value": "application/json"
									}
								],
								"body": {
									"mode": "raw",
									"raw": "{\n    \"file_name\": \"<string>\"\n}"
								},
								"url": {
									"raw": "{{baseUrl}}/location/removePhoto?location=<long>&company_id={{company_id}}",
									"host": [
										"{{baseUrl}}"
									],
									"path": [
										"location",
										"removePhoto"
									],
									"query": [
										{
											"key": "location",
											"value": "<long>",
											"description": "Location id"
										},
										{
											"key": "company_id",
											"value": "{{company_id}}"
										}
									]
								},
								"description": "Delete the image of a specific location."
							},
							"response": [
								{
									"name": "successful operation",
									"originalRequest": {
										"method": "POST",
										"header": [],
										"body": {
											"mode": "raw",
											"raw": "{\n    \"data\": {\n        \"file_name\": \"<string>\"\n    }\n}"
										},
										"url": {
											"raw": "{{baseUrl}}/location/removePhoto?location=<long>&session_token=<API Key>",
											"host": [
												"{{baseUrl}}"
											],
											"path": [
												"location",
												"removePhoto"
											],
											"query": [
												{
													"key": "location",
													"value": "<long>"
												},
												{
													"key": "session_token",
													"value": "<API Key>"
												}
											]
										}
									},
									"status": "OK",
									"code": 200,
									"_postman_previewlanguage": "json",
									"header": [
										{
											"key": "Content-Type",
											"value": "application/json"
										}
									],
									"cookie": [],
									"body": "{\n \"statusCode\": \"<integer>\",\n \"statusDescriptions\": \"<string>\",\n \"data\": \"<object>\"\n}"
								}
							]
						},
						{
							"name": "Update order number",
							"request": {
								"auth": {
									"type": "apikey",
									"apikey": [
										{
											"key": "value",
											"value": "{{SESSION_TOKEN}}",
											"type": "string"
										},
										{
											"key": "key",
											"value": "session_token",
											"type": "string"
										},
										{
											"key": "in",
											"value": "query",
											"type": "string"
										}
									]
								},
								"method": "POST",
								"header": [
									{
										"key": "Content-Type",
										"value": "application/json"
									}
								],
								"body": {
									"mode": "raw",
									"raw": "[\n    {\n        \"id\": \"<integer>\",\n        \"ord\": \"<integer>\"\n    },\n    {\n        \"id\": \"<integer>\",\n        \"ord\": \"<integer>\"\n    }\n]"
								},
								"url": {
									"raw": "{{baseUrl}}/location/updateOrder?company_id={{company_id}}",
									"host": [
										"{{baseUrl}}"
									],
									"path": [
										"location",
										"updateOrder"
									],
									"query": [
										{
											"key": "company_id",
											"value": "{{company_id}}"
										}
									]
								},
								"description": "Change the sort order of the locations in the list."
							},
							"response": [
								{
									"name": "successful operation",
									"originalRequest": {
										"method": "POST",
										"header": [],
										"body": {
											"mode": "raw",
											"raw": "{\n    \"data\": [\n        {\n            \"id\": \"<integer>\",\n            \"ord\": \"<integer>\"\n        },\n        {\n            \"id\": \"<integer>\",\n            \"ord\": \"<integer>\"\n        }\n    ]\n}"
										},
										"url": {
											"raw": "{{baseUrl}}/location/updateOrder?session_token=<API Key>",
											"host": [
												"{{baseUrl}}"
											],
											"path": [
												"location",
												"updateOrder"
											],
											"query": [
												{
													"key": "session_token",
													"value": "<API Key>"
												}
											]
										}
									},
									"status": "OK",
									"code": 200,
									"_postman_previewlanguage": "json",
									"header": [
										{
											"key": "Content-Type",
											"value": "application/json"
										}
									],
									"cookie": [],
									"body": "{\n \"statusCode\": \"<integer>\",\n \"statusDescriptions\": \"<string>\",\n \"data\": \"<object>\"\n}"
								}
							]
						}
					]
				},
				{
					"name": "employee",
					"item": [
						{
							"name": "{id}",
							"item": [
								{
									"name": "Get an employee",
									"request": {
										"auth": {
											"type": "apikey",
											"apikey": [
												{
													"key": "value",
													"value": "{{SESSION_TOKEN}}",
													"type": "string"
												},
												{
													"key": "key",
													"value": "session_token",
													"type": "string"
												},
												{
													"key": "in",
													"value": "query",
													"type": "string"
												}
											]
										},
										"method": "GET",
										"header": [],
										"url": {
											"raw": "{{baseUrl}}/employee/:id?company_id={{company_id}}",
											"host": [
												"{{baseUrl}}"
											],
											"path": [
												"employee",
												":id"
											],
											"query": [
												{
													"key": "company_id",
													"value": "{{company_id}}"
												}
											],
											"variable": [
												{
													"key": "id",
													"value": "<long>",
													"description": "(Required) Employee id"
												}
											]
										},
										"description": "Get the attributes of a specific employee."
									},
									"response": [
										{
											"name": "successful operation",
											"originalRequest": {
												"method": "GET",
												"header": [],
												"url": {
													"raw": "{{baseUrl}}/employee/:id?session_token=<API Key>",
													"host": [
														"{{baseUrl}}"
													],
													"path": [
														"employee",
														":id"
													],
													"query": [
														{
															"key": "session_token",
															"value": "<API Key>"
														}
													],
													"variable": [
														{
															"key": "id"
														}
													]
												}
											},
											"status": "OK",
											"code": 200,
											"_postman_previewlanguage": "json",
											"header": [
												{
													"key": "Content-Type",
													"value": "application/json"
												}
											],
											"cookie": [],
											"body": "{\n \"statusCode\": \"<integer>\",\n \"statusDescriptions\": \"<string>\",\n \"data\": [\n  {\n   \"company_id\": \"<long>\",\n   \"email\": \"<email>\",\n   \"first_name\": \"<string>\",\n   \"last_name\": \"<string>\",\n   \"id\": \"<long>\",\n   \"job\": \"<string>\",\n   \"bio\": \"<string>\",\n   \"phone\": \"<string>\",\n   \"photo_url\": \"<uri>\",\n   \"public_email\": false,\n   \"public_phone\": false,\n   \"status\": false,\n   \"username\": \"<string>\",\n   \"nickname\": \"<string>\",\n   \"linkedin\": \"\",\n   \"yelp\": \"<uri>\",\n   \"pinterest\": \"<uri>\",\n   \"vimeo\": \"<uri>\",\n   \"youtube\": \"<uri>\",\n   \"twitter\": \"<uri>\",\n   \"facebook\": \"<uri>\",\n   \"receivesms\": false,\n   \"sms_email\": \"<email>\",\n   \"intuit_user_id\": \"<string>\",\n   \"ipp_mode\": \"<integer>\",\n   \"intuit_auth_id\": \"<string>\",\n   \"intuit_db_id\": \"<string>\",\n   \"intuit_realm_id\": \"<string>\",\n   \"intuit_ticket_id\": \"<string>\",\n   \"newsletter\": \"<integer>\",\n   \"is_owner\": false,\n   \"ics_service\": 0,\n   \"ics_export_service\": 0,\n   \"ics_url\": \"<uri>\",\n   \"ics_export_hash\": \"<string>\",\n   \"google_export_canceled\": 0,\n   \"google_export_add_pt\": 0,\n   \"ord\": 0,\n   \"ics_export_url\": \"<string>\",\n   \"permissions\": \"<string>\",\n   \"can_login\": \"<boolean>\"\n  },\n  {\n   \"company_id\": \"<long>\",\n   \"email\": \"<email>\",\n   \"first_name\": \"<string>\",\n   \"last_name\": \"<string>\",\n   \"id\": \"<long>\",\n   \"job\": \"<string>\",\n   \"bio\": \"<string>\",\n   \"phone\": \"<string>\",\n   \"photo_url\": \"<uri>\",\n   \"public_email\": false,\n   \"public_phone\": false,\n   \"status\": false,\n   \"username\": \"<string>\",\n   \"nickname\": \"<string>\",\n   \"linkedin\": \"\",\n   \"yelp\": \"<uri>\",\n   \"pinterest\": \"<uri>\",\n   \"vimeo\": \"<uri>\",\n   \"youtube\": \"<uri>\",\n   \"twitter\": \"<uri>\",\n   \"facebook\": \"<uri>\",\n   \"receivesms\": false,\n   \"sms_email\": \"<email>\",\n   \"intuit_user_id\": \"<string>\",\n   \"ipp_mode\": \"<integer>\",\n   \"intuit_auth_id\": \"<string>\",\n   \"intuit_db_id\": \"<string>\",\n   \"intuit_realm_id\": \"<string>\",\n   \"intuit_ticket_id\": \"<string>\",\n   \"newsletter\": \"<integer>\",\n   \"is_owner\": false,\n   \"ics_service\": 0,\n   \"ics_export_service\": 0,\n   \"ics_url\": \"<uri>\",\n   \"ics_export_hash\": \"<string>\",\n   \"google_export_canceled\": 0,\n   \"google_export_add_pt\": 0,\n   \"ord\": 0,\n   \"ics_export_url\": \"<string>\",\n   \"permissions\": \"<string>\",\n   \"can_login\": \"<boolean>\"\n  }\n ]\n}"
										}
									]
								},
								{
									"name": "Modify employee",
									"request": {
										"auth": {
											"type": "apikey",
											"apikey": [
												{
													"key": "value",
													"value": "{{SESSION_TOKEN}}",
													"type": "string"
												},
												{
													"key": "key",
													"value": "session_token",
													"type": "string"
												},
												{
													"key": "in",
													"value": "query",
													"type": "string"
												}
											]
										},
										"method": "PUT",
										"header": [
											{
												"key": "Content-Type",
												"value": "application/json"
											}
										],
										"body": {
											"mode": "raw",
											"raw": "{\n    \"company_id\": \"{{company_id}}\",\n    \"email\": \"<email>\",\n    \"first_name\": \"<string>\",\n    \"last_name\": \"<string>\",\n    \"links\": [\n        \"<object>\",\n        \"<object>\"\n    ],\n    \"job\": \"<string>\",\n    \"bio\": \"<string>\",\n    \"phone\": \"<string>\",\n    \"photo_url\": \"<uri>\",\n    \"public_email\": false,\n    \"public_phone\": false,\n    \"status\": false,\n    \"nickname\": \"<string>\",\n    \"linkedin\": \"\",\n    \"yelp\": \"<uri>\",\n    \"pinterest\": \"<uri>\",\n    \"vimeo\": \"<uri>\",\n    \"youtube\": \"<uri>\",\n    \"twitter\": \"<uri>\",\n    \"facebook\": \"<uri>\",\n    \"receivesms\": false,\n    \"sms_email\": \"<email>\",\n    \"intuit_user_id\": \"<string>\",\n    \"ipp_mode\": \"<integer>\",\n    \"intuit_auth_id\": \"<string>\",\n    \"intuit_db_id\": \"<string>\",\n    \"intuit_realm_id\": \"<string>\",\n    \"intuit_ticket_id\": \"<string>\",\n    \"newsletter\": \"<integer>\",\n    \"ics_service\": 0,\n    \"ics_export_service\": 0,\n    \"ics_url\": \"<uri>\",\n    \"ics_export_hash\": \"<string>\",\n    \"google_export_canceled\": 0,\n    \"google_export_add_pt\": 0,\n    \"permissions\": \"<string>\",\n    \"password\": \"<string>\",\n    \"send_invite_email\": \"<boolean>\"\n}"
										},
										"url": {
											"raw": "{{baseUrl}}/employee/:id?company_id={{company_id}}",
											"host": [
												"{{baseUrl}}"
											],
											"path": [
												"employee",
												":id"
											],
											"query": [
												{
													"key": "company_id",
													"value": "{{company_id}}"
												}
											],
											"variable": [
												{
													"key": "id",
													"value": "<long>",
													"description": "(Required) Employee id"
												}
											]
										},
										"description": "Modify the attributes of an existing employee."
									},
									"response": [
										{
											"name": "successful operation",
											"originalRequest": {
												"method": "PUT",
												"header": [],
												"body": {
													"mode": "raw",
													"raw": "{\n    \"data\": {\n        \"company_id\": \"<long>\",\n        \"email\": \"<email>\",\n        \"first_name\": \"<string>\",\n        \"last_name\": \"<string>\",\n        \"links\": [\n            \"<object>\",\n            \"<object>\"\n        ],\n        \"job\": \"<string>\",\n        \"bio\": \"<string>\",\n        \"phone\": \"<string>\",\n        \"photo_url\": \"<uri>\",\n        \"public_email\": false,\n        \"public_phone\": false,\n        \"status\": false,\n        \"nickname\": \"<string>\",\n        \"linkedin\": \"\",\n        \"yelp\": \"<uri>\",\n        \"pinterest\": \"<uri>\",\n        \"vimeo\": \"<uri>\",\n        \"youtube\": \"<uri>\",\n        \"twitter\": \"<uri>\",\n        \"facebook\": \"<uri>\",\n        \"receivesms\": false,\n        \"sms_email\": \"<email>\",\n        \"intuit_user_id\": \"<string>\",\n        \"ipp_mode\": \"<integer>\",\n        \"intuit_auth_id\": \"<string>\",\n        \"intuit_db_id\": \"<string>\",\n        \"intuit_realm_id\": \"<string>\",\n        \"intuit_ticket_id\": \"<string>\",\n        \"newsletter\": \"<integer>\",\n        \"ics_service\": 0,\n        \"ics_export_service\": 0,\n        \"ics_url\": \"<uri>\",\n        \"ics_export_hash\": \"<string>\",\n        \"google_export_canceled\": 0,\n        \"google_export_add_pt\": 0,\n        \"permissions\": \"<string>\",\n        \"password\": \"<string>\",\n        \"send_invite_email\": \"<boolean>\"\n    }\n}"
												},
												"url": {
													"raw": "{{baseUrl}}/employee/:id?session_token=<API Key>",
													"host": [
														"{{baseUrl}}"
													],
													"path": [
														"employee",
														":id"
													],
													"query": [
														{
															"key": "session_token",
															"value": "<API Key>"
														}
													],
													"variable": [
														{
															"key": "id"
														}
													]
												}
											},
											"status": "OK",
											"code": 200,
											"_postman_previewlanguage": "json",
											"header": [
												{
													"key": "Content-Type",
													"value": "application/json"
												}
											],
											"cookie": [],
											"body": "{\n \"statusCode\": \"<integer>\",\n \"statusDescriptions\": \"<string>\",\n \"data\": [\n  {\n   \"company_id\": \"<long>\",\n   \"email\": \"<email>\",\n   \"first_name\": \"<string>\",\n   \"last_name\": \"<string>\",\n   \"id\": \"<long>\",\n   \"job\": \"<string>\",\n   \"bio\": \"<string>\",\n   \"phone\": \"<string>\",\n   \"photo_url\": \"<uri>\",\n   \"public_email\": false,\n   \"public_phone\": false,\n   \"status\": false,\n   \"username\": \"<string>\",\n   \"nickname\": \"<string>\",\n   \"linkedin\": \"\",\n   \"yelp\": \"<uri>\",\n   \"pinterest\": \"<uri>\",\n   \"vimeo\": \"<uri>\",\n   \"youtube\": \"<uri>\",\n   \"twitter\": \"<uri>\",\n   \"facebook\": \"<uri>\",\n   \"receivesms\": false,\n   \"sms_email\": \"<email>\",\n   \"intuit_user_id\": \"<string>\",\n   \"ipp_mode\": \"<integer>\",\n   \"intuit_auth_id\": \"<string>\",\n   \"intuit_db_id\": \"<string>\",\n   \"intuit_realm_id\": \"<string>\",\n   \"intuit_ticket_id\": \"<string>\",\n   \"newsletter\": \"<integer>\",\n   \"is_owner\": false,\n   \"ics_service\": 0,\n   \"ics_export_service\": 0,\n   \"ics_url\": \"<uri>\",\n   \"ics_export_hash\": \"<string>\",\n   \"google_export_canceled\": 0,\n   \"google_export_add_pt\": 0,\n   \"ord\": 0,\n   \"ics_export_url\": \"<string>\",\n   \"permissions\": \"<string>\",\n   \"can_login\": \"<boolean>\"\n  },\n  {\n   \"company_id\": \"<long>\",\n   \"email\": \"<email>\",\n   \"first_name\": \"<string>\",\n   \"last_name\": \"<string>\",\n   \"id\": \"<long>\",\n   \"job\": \"<string>\",\n   \"bio\": \"<string>\",\n   \"phone\": \"<string>\",\n   \"photo_url\": \"<uri>\",\n   \"public_email\": false,\n   \"public_phone\": false,\n   \"status\": false,\n   \"username\": \"<string>\",\n   \"nickname\": \"<string>\",\n   \"linkedin\": \"\",\n   \"yelp\": \"<uri>\",\n   \"pinterest\": \"<uri>\",\n   \"vimeo\": \"<uri>\",\n   \"youtube\": \"<uri>\",\n   \"twitter\": \"<uri>\",\n   \"facebook\": \"<uri>\",\n   \"receivesms\": false,\n   \"sms_email\": \"<email>\",\n   \"intuit_user_id\": \"<string>\",\n   \"ipp_mode\": \"<integer>\",\n   \"intuit_auth_id\": \"<string>\",\n   \"intuit_db_id\": \"<string>\",\n   \"intuit_realm_id\": \"<string>\",\n   \"intuit_ticket_id\": \"<string>\",\n   \"newsletter\": \"<integer>\",\n   \"is_owner\": false,\n   \"ics_service\": 0,\n   \"ics_export_service\": 0,\n   \"ics_url\": \"<uri>\",\n   \"ics_export_hash\": \"<string>\",\n   \"google_export_canceled\": 0,\n   \"google_export_add_pt\": 0,\n   \"ord\": 0,\n   \"ics_export_url\": \"<string>\",\n   \"permissions\": \"<string>\",\n   \"can_login\": \"<boolean>\"\n  }\n ]\n}"
										}
									]
								},
								{
									"name": "Delete employee",
									"request": {
										"auth": {
											"type": "apikey",
											"apikey": [
												{
													"key": "value",
													"value": "{{SESSION_TOKEN}}",
													"type": "string"
												},
												{
													"key": "key",
													"value": "session_token",
													"type": "string"
												},
												{
													"key": "in",
													"value": "query",
													"type": "string"
												}
											]
										},
										"method": "DELETE",
										"header": [],
										"url": {
											"raw": "{{baseUrl}}/employee/:id?company_id={{company_id}}",
											"host": [
												"{{baseUrl}}"
											],
											"path": [
												"employee",
												":id"
											],
											"query": [
												{
													"key": "company_id",
													"value": "{{company_id}}"
												}
											],
											"variable": [
												{
													"key": "id",
													"value": "<long>",
													"description": "(Required) Employee id"
												}
											]
										},
										"description": "Delete an existing employee."
									},
									"response": [
										{
											"name": "successful operation",
											"originalRequest": {
												"method": "DELETE",
												"header": [],
												"url": {
													"raw": "{{baseUrl}}/employee/:id?session_token=<API Key>",
													"host": [
														"{{baseUrl}}"
													],
													"path": [
														"employee",
														":id"
													],
													"query": [
														{
															"key": "session_token",
															"value": "<API Key>"
														}
													],
													"variable": [
														{
															"key": "id"
														}
													]
												}
											},
											"status": "OK",
											"code": 200,
											"_postman_previewlanguage": "json",
											"header": [
												{
													"key": "Content-Type",
													"value": "application/json"
												}
											],
											"cookie": [],
											"body": "{\n \"statusCode\": \"<integer>\",\n \"statusDescriptions\": \"<string>\",\n \"data\": \"<object>\"\n}"
										}
									]
								},
								{
									"name": "Update availability",
									"request": {
										"auth": {
											"type": "apikey",
											"apikey": [
												{
													"key": "value",
													"value": "{{SESSION_TOKEN}}",
													"type": "string"
												},
												{
													"key": "key",
													"value": "session_token",
													"type": "string"
												},
												{
													"key": "in",
													"value": "query",
													"type": "string"
												}
											]
										},
										"method": "PUT",
										"header": [
											{
												"key": "Content-Type",
												"value": "application/json"
											}
										],
										"body": {
											"mode": "raw",
											"raw": "{\n    \"company_id\": \"{{company_id}}\",\n    \"availabilities\": [\n        {\n            \"repeat\": \"<integer>\",\n            \"type\": \"<boolean>\",\n            \"start_date\": \"<date>\",\n            \"end_date\": \"<date>\",\n            \"days\": \"<object>\",\n            \"location_id\": \"<integer>\"\n        },\n        {\n            \"repeat\": \"<integer>\",\n            \"type\": \"<boolean>\",\n            \"start_date\": \"<date>\",\n            \"end_date\": \"<date>\",\n            \"days\": \"<object>\",\n            \"location_id\": \"<integer>\"\n        }\n    ]\n}"
										},
										"url": {
											"raw": "{{baseUrl}}/employee/:id/assignAvailability?company_id={{company_id}}",
											"host": [
												"{{baseUrl}}"
											],
											"path": [
												"employee",
												":id",
												"assignAvailability"
											],
											"query": [
												{
													"key": "company_id",
													"value": "{{company_id}}"
												}
											],
											"variable": [
												{
													"key": "id",
													"value": "<long>",
													"description": "(Required) Employee id"
												}
											]
										},
										"description": "Update or change the availability (working hours or available times) of a specific employee."
									},
									"response": [
										{
											"name": "successful operation",
											"originalRequest": {
												"method": "PUT",
												"header": [],
												"body": {
													"mode": "raw",
													"raw": "{\n    \"data\": {\n        \"company_id\": \"<long>\",\n        \"availabilities\": [\n            {\n                \"repeat\": \"<integer>\",\n                \"type\": \"<boolean>\",\n                \"start_date\": \"<date>\",\n                \"end_date\": \"<date>\",\n                \"days\": \"<object>\",\n                \"location_id\": \"<integer>\"\n            },\n            {\n                \"repeat\": \"<integer>\",\n                \"type\": \"<boolean>\",\n                \"start_date\": \"<date>\",\n                \"end_date\": \"<date>\",\n                \"days\": \"<object>\",\n                \"location_id\": \"<integer>\"\n            }\n        ]\n    }\n}"
												},
												"url": {
													"raw": "{{baseUrl}}/employee/:id/assignAvailability?session_token=<API Key>",
													"host": [
														"{{baseUrl}}"
													],
													"path": [
														"employee",
														":id",
														"assignAvailability"
													],
													"query": [
														{
															"key": "session_token",
															"value": "<API Key>"
														}
													],
													"variable": [
														{
															"key": "id"
														}
													]
												}
											},
											"status": "OK",
											"code": 200,
											"_postman_previewlanguage": "json",
											"header": [
												{
													"key": "Content-Type",
													"value": "application/json"
												}
											],
											"cookie": [],
											"body": "{\n \"statusCode\": \"<integer>\",\n \"statusDescriptions\": \"<string>\",\n \"data\": \"<object>\"\n}"
										}
									]
								}
							]
						},
						{
							"name": "List employees",
							"request": {
								"auth": {
									"type": "apikey",
									"apikey": [
										{
											"key": "value",
											"value": "{{SESSION_TOKEN}}",
											"type": "string"
										},
										{
											"key": "key",
											"value": "session_token",
											"type": "string"
										},
										{
											"key": "in",
											"value": "query",
											"type": "string"
										}
									]
								},
								"method": "GET",
								"header": [],
								"url": {
									"raw": "{{baseUrl}}/employee?id=<integer>&company_id={{company_id}}&statuses=<string>&status=<integer>&include_links=<boolean>&email=<string>&first_name=<string>&last_name=<string>&job=<string>&bio=<string>&phone=<string>&photo_url=<string>&public_email=<boolean>&public_phone=<boolean>&receivesms=<boolean>&sms_email=<string>&intuit_user_id=<string>&ipp_mode=<integer>&intuit_auth_id=<string>&intuit_realm_id=<string>&intuit_ticket_id=<string>&newsletter=<boolean>&is_owner=<boolean>&ics_service=<string>&ics_export_service=<string>&ics_url=<string>&ics_export_hash=<string>&google_export_canceled=<boolean>&google_export_add_pt=<boolean>&username=<string>&nickname=<string>&linkedin=<uri>&yelp=<uri>&pinterest=<uri>&vimeo=<uri>&youtube=<uri>&twitter=<uri>&facebook=<uri>",
									"host": [
										"{{baseUrl}}"
									],
									"path": [
										"employee"
									],
									"query": [
										{
											"key": "id",
											"value": "<integer>",
											"description": "Employee id"
										},
										{
											"key": "company_id",
											"value": "{{company_id}}",
											"description": "(Required) Company id"
										},
										{
											"key": "statuses",
											"value": "<string>",
											"description": "By default only active employees are returned. This filter allows to return all the employees, including the inactive ones"
										},
										{
											"key": "status",
											"value": "<integer>"
										},
										{
											"key": "include_links",
											"value": "<boolean>"
										},
										{
											"key": "email",
											"value": "<string>"
										},
										{
											"key": "first_name",
											"value": "<string>"
										},
										{
											"key": "last_name",
											"value": "<string>"
										},
										{
											"key": "job",
											"value": "<string>"
										},
										{
											"key": "bio",
											"value": "<string>"
										},
										{
											"key": "phone",
											"value": "<string>"
										},
										{
											"key": "photo_url",
											"value": "<string>"
										},
										{
											"key": "public_email",
											"value": "<boolean>"
										},
										{
											"key": "public_phone",
											"value": "<boolean>"
										},
										{
											"key": "receivesms",
											"value": "<boolean>"
										},
										{
											"key": "sms_email",
											"value": "<string>"
										},
										{
											"key": "intuit_user_id",
											"value": "<string>"
										},
										{
											"key": "ipp_mode",
											"value": "<integer>"
										},
										{
											"key": "intuit_auth_id",
											"value": "<string>"
										},
										{
											"key": "intuit_realm_id",
											"value": "<string>"
										},
										{
											"key": "intuit_ticket_id",
											"value": "<string>"
										},
										{
											"key": "newsletter",
											"value": "<boolean>"
										},
										{
											"key": "is_owner",
											"value": "<boolean>"
										},
										{
											"key": "ics_service",
											"value": "<string>"
										},
										{
											"key": "ics_export_service",
											"value": "<string>"
										},
										{
											"key": "ics_url",
											"value": "<string>"
										},
										{
											"key": "ics_export_hash",
											"value": "<string>"
										},
										{
											"key": "google_export_canceled",
											"value": "<boolean>"
										},
										{
											"key": "google_export_add_pt",
											"value": "<boolean>"
										},
										{
											"key": "username",
											"value": "<string>"
										},
										{
											"key": "nickname",
											"value": "<string>"
										},
										{
											"key": "linkedin",
											"value": "<uri>"
										},
										{
											"key": "yelp",
											"value": "<uri>"
										},
										{
											"key": "pinterest",
											"value": "<uri>"
										},
										{
											"key": "vimeo",
											"value": "<uri>"
										},
										{
											"key": "youtube",
											"value": "<uri>"
										},
										{
											"key": "twitter",
											"value": "<uri>"
										},
										{
											"key": "facebook",
											"value": "<uri>"
										}
									]
								},
								"description": "Get a list of all employees and their attributes."
							},
							"response": [
								{
									"name": "successful operation",
									"originalRequest": {
										"method": "GET",
										"header": [],
										"url": {
											"raw": "{{baseUrl}}/employee?id=<integer>&company_id=<integer>&statuses=<string>&status=<integer>&include_links=<boolean>&email=<string>&first_name=<string>&last_name=<string>&job=<string>&bio=<string>&phone=<string>&photo_url=<string>&public_email=<boolean>&public_phone=<boolean>&receivesms=<boolean>&sms_email=<string>&intuit_user_id=<string>&ipp_mode=<integer>&intuit_auth_id=<string>&intuit_realm_id=<string>&intuit_ticket_id=<string>&newsletter=<boolean>&is_owner=<boolean>&ics_service=<string>&ics_export_service=<string>&ics_url=<string>&ics_export_hash=<string>&google_export_canceled=<boolean>&google_export_add_pt=<boolean>&username=<string>&nickname=<string>&linkedin=<uri>&yelp=<uri>&pinterest=<uri>&vimeo=<uri>&youtube=<uri>&twitter=<uri>&facebook=<uri>&session_token=<API Key>",
											"host": [
												"{{baseUrl}}"
											],
											"path": [
												"employee"
											],
											"query": [
												{
													"key": "id",
													"value": "<integer>"
												},
												{
													"key": "company_id",
													"value": "<integer>"
												},
												{
													"key": "statuses",
													"value": "<string>"
												},
												{
													"key": "status",
													"value": "<integer>"
												},
												{
													"key": "include_links",
													"value": "<boolean>"
												},
												{
													"key": "email",
													"value": "<string>"
												},
												{
													"key": "first_name",
													"value": "<string>"
												},
												{
													"key": "last_name",
													"value": "<string>"
												},
												{
													"key": "job",
													"value": "<string>"
												},
												{
													"key": "bio",
													"value": "<string>"
												},
												{
													"key": "phone",
													"value": "<string>"
												},
												{
													"key": "photo_url",
													"value": "<string>"
												},
												{
													"key": "public_email",
													"value": "<boolean>"
												},
												{
													"key": "public_phone",
													"value": "<boolean>"
												},
												{
													"key": "receivesms",
													"value": "<boolean>"
												},
												{
													"key": "sms_email",
													"value": "<string>"
												},
												{
													"key": "intuit_user_id",
													"value": "<string>"
												},
												{
													"key": "ipp_mode",
													"value": "<integer>"
												},
												{
													"key": "intuit_auth_id",
													"value": "<string>"
												},
												{
													"key": "intuit_realm_id",
													"value": "<string>"
												},
												{
													"key": "intuit_ticket_id",
													"value": "<string>"
												},
												{
													"key": "newsletter",
													"value": "<boolean>"
												},
												{
													"key": "is_owner",
													"value": "<boolean>"
												},
												{
													"key": "ics_service",
													"value": "<string>"
												},
												{
													"key": "ics_export_service",
													"value": "<string>"
												},
												{
													"key": "ics_url",
													"value": "<string>"
												},
												{
													"key": "ics_export_hash",
													"value": "<string>"
												},
												{
													"key": "google_export_canceled",
													"value": "<boolean>"
												},
												{
													"key": "google_export_add_pt",
													"value": "<boolean>"
												},
												{
													"key": "username",
													"value": "<string>"
												},
												{
													"key": "nickname",
													"value": "<string>"
												},
												{
													"key": "linkedin",
													"value": "<uri>"
												},
												{
													"key": "yelp",
													"value": "<uri>"
												},
												{
													"key": "pinterest",
													"value": "<uri>"
												},
												{
													"key": "vimeo",
													"value": "<uri>"
												},
												{
													"key": "youtube",
													"value": "<uri>"
												},
												{
													"key": "twitter",
													"value": "<uri>"
												},
												{
													"key": "facebook",
													"value": "<uri>"
												},
												{
													"key": "session_token",
													"value": "<API Key>"
												}
											]
										}
									},
									"status": "OK",
									"code": 200,
									"_postman_previewlanguage": "json",
									"header": [
										{
											"key": "Content-Type",
											"value": "application/json"
										}
									],
									"cookie": [],
									"body": "{\n \"statusCode\": \"<integer>\",\n \"statusDescriptions\": \"<string>\",\n \"data\": [\n  {\n   \"company_id\": \"<long>\",\n   \"email\": \"<email>\",\n   \"first_name\": \"<string>\",\n   \"last_name\": \"<string>\",\n   \"id\": \"<long>\",\n   \"job\": \"<string>\",\n   \"bio\": \"<string>\",\n   \"phone\": \"<string>\",\n   \"photo_url\": \"<uri>\",\n   \"public_email\": false,\n   \"public_phone\": false,\n   \"status\": false,\n   \"username\": \"<string>\",\n   \"nickname\": \"<string>\",\n   \"linkedin\": \"\",\n   \"yelp\": \"<uri>\",\n   \"pinterest\": \"<uri>\",\n   \"vimeo\": \"<uri>\",\n   \"youtube\": \"<uri>\",\n   \"twitter\": \"<uri>\",\n   \"facebook\": \"<uri>\",\n   \"receivesms\": false,\n   \"sms_email\": \"<email>\",\n   \"intuit_user_id\": \"<string>\",\n   \"ipp_mode\": \"<integer>\",\n   \"intuit_auth_id\": \"<string>\",\n   \"intuit_db_id\": \"<string>\",\n   \"intuit_realm_id\": \"<string>\",\n   \"intuit_ticket_id\": \"<string>\",\n   \"newsletter\": \"<integer>\",\n   \"is_owner\": false,\n   \"ics_service\": 0,\n   \"ics_export_service\": 0,\n   \"ics_url\": \"<uri>\",\n   \"ics_export_hash\": \"<string>\",\n   \"google_export_canceled\": 0,\n   \"google_export_add_pt\": 0,\n   \"ord\": 0,\n   \"ics_export_url\": \"<string>\",\n   \"permissions\": \"<string>\",\n   \"can_login\": \"<boolean>\"\n  },\n  {\n   \"company_id\": \"<long>\",\n   \"email\": \"<email>\",\n   \"first_name\": \"<string>\",\n   \"last_name\": \"<string>\",\n   \"id\": \"<long>\",\n   \"job\": \"<string>\",\n   \"bio\": \"<string>\",\n   \"phone\": \"<string>\",\n   \"photo_url\": \"<uri>\",\n   \"public_email\": false,\n   \"public_phone\": false,\n   \"status\": false,\n   \"username\": \"<string>\",\n   \"nickname\": \"<string>\",\n   \"linkedin\": \"\",\n   \"yelp\": \"<uri>\",\n   \"pinterest\": \"<uri>\",\n   \"vimeo\": \"<uri>\",\n   \"youtube\": \"<uri>\",\n   \"twitter\": \"<uri>\",\n   \"facebook\": \"<uri>\",\n   \"receivesms\": false,\n   \"sms_email\": \"<email>\",\n   \"intuit_user_id\": \"<string>\",\n   \"ipp_mode\": \"<integer>\",\n   \"intuit_auth_id\": \"<string>\",\n   \"intuit_db_id\": \"<string>\",\n   \"intuit_realm_id\": \"<string>\",\n   \"intuit_ticket_id\": \"<string>\",\n   \"newsletter\": \"<integer>\",\n   \"is_owner\": false,\n   \"ics_service\": 0,\n   \"ics_export_service\": 0,\n   \"ics_url\": \"<uri>\",\n   \"ics_export_hash\": \"<string>\",\n   \"google_export_canceled\": 0,\n   \"google_export_add_pt\": 0,\n   \"ord\": 0,\n   \"ics_export_url\": \"<string>\",\n   \"permissions\": \"<string>\",\n   \"can_login\": \"<boolean>\"\n  }\n ]\n}"
								}
							]
						},
						{
							"name": "Create employee",
							"request": {
								"auth": {
									"type": "apikey",
									"apikey": [
										{
											"key": "value",
											"value": "{{SESSION_TOKEN}}",
											"type": "string"
										},
										{
											"key": "key",
											"value": "session_token",
											"type": "string"
										},
										{
											"key": "in",
											"value": "query",
											"type": "string"
										}
									]
								},
								"method": "POST",
								"header": [
									{
										"key": "Content-Type",
										"value": "application/json"
									}
								],
								"body": {
									"mode": "raw",
									"raw": "{\n    \"company_id\": \"{{company_id}}\",\n    \"email\": \"<email>\",\n    \"first_name\": \"<string>\",\n    \"last_name\": \"<string>\",\n    \"links\": [\n        \"<object>\",\n        \"<object>\"\n    ],\n    \"job\": \"<string>\",\n    \"bio\": \"<string>\",\n    \"phone\": \"<string>\",\n    \"photo_url\": \"<uri>\",\n    \"public_email\": false,\n    \"public_phone\": false,\n    \"status\": false,\n    \"nickname\": \"<string>\",\n    \"linkedin\": \"\",\n    \"yelp\": \"<uri>\",\n    \"pinterest\": \"<uri>\",\n    \"vimeo\": \"<uri>\",\n    \"youtube\": \"<uri>\",\n    \"twitter\": \"<uri>\",\n    \"facebook\": \"<uri>\",\n    \"receivesms\": false,\n    \"sms_email\": \"<email>\",\n    \"intuit_user_id\": \"<string>\",\n    \"ipp_mode\": \"<integer>\",\n    \"intuit_auth_id\": \"<string>\",\n    \"intuit_db_id\": \"<string>\",\n    \"intuit_realm_id\": \"<string>\",\n    \"intuit_ticket_id\": \"<string>\",\n    \"newsletter\": \"<integer>\",\n    \"ics_service\": 0,\n    \"ics_export_service\": 0,\n    \"ics_url\": \"<uri>\",\n    \"ics_export_hash\": \"<string>\",\n    \"google_export_canceled\": 0,\n    \"google_export_add_pt\": 0,\n    \"permissions\": \"<string>\",\n    \"password\": \"<string>\",\n    \"send_invite_email\": \"<boolean>\"\n}"
								},
								"url": {
									"raw": "{{baseUrl}}/employee?company_id={{company_id}}",
									"host": [
										"{{baseUrl}}"
									],
									"path": [
										"employee"
									],
									"query": [
										{
											"key": "company_id",
											"value": "{{company_id}}"
										}
									]
								},
								"description": "Create a new employee."
							},
							"response": [
								{
									"name": "successful operation",
									"originalRequest": {
										"method": "POST",
										"header": [],
										"body": {
											"mode": "raw",
											"raw": "{\n    \"data\": {\n        \"company_id\": \"<long>\",\n        \"email\": \"<email>\",\n        \"first_name\": \"<string>\",\n        \"last_name\": \"<string>\",\n        \"links\": [\n            \"<object>\",\n            \"<object>\"\n        ],\n        \"job\": \"<string>\",\n        \"bio\": \"<string>\",\n        \"phone\": \"<string>\",\n        \"photo_url\": \"<uri>\",\n        \"public_email\": false,\n        \"public_phone\": false,\n        \"status\": false,\n        \"nickname\": \"<string>\",\n        \"linkedin\": \"\",\n        \"yelp\": \"<uri>\",\n        \"pinterest\": \"<uri>\",\n        \"vimeo\": \"<uri>\",\n        \"youtube\": \"<uri>\",\n        \"twitter\": \"<uri>\",\n        \"facebook\": \"<uri>\",\n        \"receivesms\": false,\n        \"sms_email\": \"<email>\",\n        \"intuit_user_id\": \"<string>\",\n        \"ipp_mode\": \"<integer>\",\n        \"intuit_auth_id\": \"<string>\",\n        \"intuit_db_id\": \"<string>\",\n        \"intuit_realm_id\": \"<string>\",\n        \"intuit_ticket_id\": \"<string>\",\n        \"newsletter\": \"<integer>\",\n        \"ics_service\": 0,\n        \"ics_export_service\": 0,\n        \"ics_url\": \"<uri>\",\n        \"ics_export_hash\": \"<string>\",\n        \"google_export_canceled\": 0,\n        \"google_export_add_pt\": 0,\n        \"permissions\": \"<string>\",\n        \"password\": \"<string>\",\n        \"send_invite_email\": \"<boolean>\"\n    }\n}"
										},
										"url": {
											"raw": "{{baseUrl}}/employee?session_token=<API Key>",
											"host": [
												"{{baseUrl}}"
											],
											"path": [
												"employee"
											],
											"query": [
												{
													"key": "session_token",
													"value": "<API Key>"
												}
											]
										}
									},
									"status": "OK",
									"code": 200,
									"_postman_previewlanguage": "json",
									"header": [
										{
											"key": "Content-Type",
											"value": "application/json"
										}
									],
									"cookie": [],
									"body": "{\n \"statusCode\": \"<integer>\",\n \"statusDescriptions\": \"<string>\",\n \"data\": [\n  {\n   \"company_id\": \"<long>\",\n   \"email\": \"<email>\",\n   \"first_name\": \"<string>\",\n   \"last_name\": \"<string>\",\n   \"id\": \"<long>\",\n   \"job\": \"<string>\",\n   \"bio\": \"<string>\",\n   \"phone\": \"<string>\",\n   \"photo_url\": \"<uri>\",\n   \"public_email\": false,\n   \"public_phone\": false,\n   \"status\": false,\n   \"username\": \"<string>\",\n   \"nickname\": \"<string>\",\n   \"linkedin\": \"\",\n   \"yelp\": \"<uri>\",\n   \"pinterest\": \"<uri>\",\n   \"vimeo\": \"<uri>\",\n   \"youtube\": \"<uri>\",\n   \"twitter\": \"<uri>\",\n   \"facebook\": \"<uri>\",\n   \"receivesms\": false,\n   \"sms_email\": \"<email>\",\n   \"intuit_user_id\": \"<string>\",\n   \"ipp_mode\": \"<integer>\",\n   \"intuit_auth_id\": \"<string>\",\n   \"intuit_db_id\": \"<string>\",\n   \"intuit_realm_id\": \"<string>\",\n   \"intuit_ticket_id\": \"<string>\",\n   \"newsletter\": \"<integer>\",\n   \"is_owner\": false,\n   \"ics_service\": 0,\n   \"ics_export_service\": 0,\n   \"ics_url\": \"<uri>\",\n   \"ics_export_hash\": \"<string>\",\n   \"google_export_canceled\": 0,\n   \"google_export_add_pt\": 0,\n   \"ord\": 0,\n   \"ics_export_url\": \"<string>\",\n   \"permissions\": \"<string>\",\n   \"can_login\": \"<boolean>\"\n  },\n  {\n   \"company_id\": \"<long>\",\n   \"email\": \"<email>\",\n   \"first_name\": \"<string>\",\n   \"last_name\": \"<string>\",\n   \"id\": \"<long>\",\n   \"job\": \"<string>\",\n   \"bio\": \"<string>\",\n   \"phone\": \"<string>\",\n   \"photo_url\": \"<uri>\",\n   \"public_email\": false,\n   \"public_phone\": false,\n   \"status\": false,\n   \"username\": \"<string>\",\n   \"nickname\": \"<string>\",\n   \"linkedin\": \"\",\n   \"yelp\": \"<uri>\",\n   \"pinterest\": \"<uri>\",\n   \"vimeo\": \"<uri>\",\n   \"youtube\": \"<uri>\",\n   \"twitter\": \"<uri>\",\n   \"facebook\": \"<uri>\",\n   \"receivesms\": false,\n   \"sms_email\": \"<email>\",\n   \"intuit_user_id\": \"<string>\",\n   \"ipp_mode\": \"<integer>\",\n   \"intuit_auth_id\": \"<string>\",\n   \"intuit_db_id\": \"<string>\",\n   \"intuit_realm_id\": \"<string>\",\n   \"intuit_ticket_id\": \"<string>\",\n   \"newsletter\": \"<integer>\",\n   \"is_owner\": false,\n   \"ics_service\": 0,\n   \"ics_export_service\": 0,\n   \"ics_url\": \"<uri>\",\n   \"ics_export_hash\": \"<string>\",\n   \"google_export_canceled\": 0,\n   \"google_export_add_pt\": 0,\n   \"ord\": 0,\n   \"ics_export_url\": \"<string>\",\n   \"permissions\": \"<string>\",\n   \"can_login\": \"<boolean>\"\n  }\n ]\n}"
								}
							]
						},
						{
							"name": "Assign all services and locations to an employee",
							"request": {
								"auth": {
									"type": "apikey",
									"apikey": [
										{
											"key": "value",
											"value": "{{SESSION_TOKEN}}",
											"type": "string"
										},
										{
											"key": "key",
											"value": "session_token",
											"type": "string"
										},
										{
											"key": "in",
											"value": "query",
											"type": "string"
										}
									]
								},
								"method": "POST",
								"header": [
									{
										"key": "Content-Type",
										"value": "application/json"
									}
								],
								"body": {
									"mode": "raw",
									"raw": "{\n    \"<LOCATION_ID>\": [\n        \"<SERVICE_1_ID>\",\n        \"<SERVICE_2_ID>\"\n    ]\n}"
								},
								"url": {
									"raw": "{{baseUrl}}/employee/assignServices?employee_id=<long>&company_id={{company_id}}",
									"host": [
										"{{baseUrl}}"
									],
									"path": [
										"employee",
										"assignServices"
									],
									"query": [
										{
											"key": "employee_id",
											"value": "<long>",
											"description": "(Required) Employee id"
										},
										{
											"key": "company_id",
											"value": "{{company_id}}"
										}
									]
								},
								"description": "Link or assign a specific employee to all existing locations and services."
							},
							"response": [
								{
									"name": "successful operation",
									"originalRequest": {
										"method": "POST",
										"header": [],
										"body": {
											"mode": "raw",
											"raw": "{\n    \"data\": \"<object>\"\n}"
										},
										"url": {
											"raw": "{{baseUrl}}/employee/assignServices?employee_id=<long>&session_token=<API Key>",
											"host": [
												"{{baseUrl}}"
											],
											"path": [
												"employee",
												"assignServices"
											],
											"query": [
												{
													"key": "employee_id",
													"value": "<long>"
												},
												{
													"key": "session_token",
													"value": "<API Key>"
												}
											]
										}
									},
									"status": "OK",
									"code": 200,
									"_postman_previewlanguage": "json",
									"header": [
										{
											"key": "Content-Type",
											"value": "application/json"
										}
									],
									"cookie": [],
									"body": "{\n \"statusCode\": \"<integer>\",\n \"statusDescriptions\": \"<string>\",\n \"data\": \"<object>\"\n}"
								}
							]
						},
						{
							"name": "Synchronize employee",
							"request": {
								"auth": {
									"type": "apikey",
									"apikey": [
										{
											"key": "value",
											"value": "{{SESSION_TOKEN}}",
											"type": "string"
										},
										{
											"key": "key",
											"value": "session_token",
											"type": "string"
										},
										{
											"key": "in",
											"value": "query",
											"type": "string"
										}
									]
								},
								"method": "GET",
								"header": [],
								"url": {
									"raw": "{{baseUrl}}/employee/sync/:id?export=<boolean>&company_id={{company_id}}",
									"host": [
										"{{baseUrl}}"
									],
									"path": [
										"employee",
										"sync",
										":id"
									],
									"query": [
										{
											"key": "export",
											"value": "<boolean>",
											"description": "If not present default action is the import"
										},
										{
											"key": "company_id",
											"value": "{{company_id}}"
										}
									],
									"variable": [
										{
											"key": "id",
											"value": "<long>",
											"description": "(Required) Employee id"
										}
									]
								},
								"description": "Force the calendar sync to occur for a specific employee.\nPlease note this option is only available if the employee is syncing with an Internet Calendar or Google Calendar and is not available for Microsoft Calendars as they rely on Microsoft's PUSH functionality."
							},
							"response": [
								{
									"name": "successful operation",
									"originalRequest": {
										"method": "GET",
										"header": [],
										"url": {
											"raw": "{{baseUrl}}/employee/sync/:id?export=<boolean>&session_token=<API Key>",
											"host": [
												"{{baseUrl}}"
											],
											"path": [
												"employee",
												"sync",
												":id"
											],
											"query": [
												{
													"key": "export",
													"value": "<boolean>"
												},
												{
													"key": "session_token",
													"value": "<API Key>"
												}
											],
											"variable": [
												{
													"key": "id"
												}
											]
										}
									},
									"status": "OK",
									"code": 200,
									"_postman_previewlanguage": "json",
									"header": [
										{
											"key": "Content-Type",
											"value": "application/json"
										}
									],
									"cookie": [],
									"body": "{\n \"statusCode\": \"<integer>\",\n \"statusDescriptions\": \"<string>\",\n \"data\": \"<object>\"\n}"
								}
							]
						},
						{
							"name": "Get availability time",
							"request": {
								"auth": {
									"type": "apikey",
									"apikey": [
										{
											"key": "value",
											"value": "{{SESSION_TOKEN}}",
											"type": "string"
										},
										{
											"key": "key",
											"value": "session_token",
											"type": "string"
										},
										{
											"key": "in",
											"value": "query",
											"type": "string"
										}
									]
								},
								"method": "GET",
								"header": [],
								"url": {
									"raw": "{{baseUrl}}/employee/getAvailabilityTime/:id?company_id={{company_id}}",
									"host": [
										"{{baseUrl}}"
									],
									"path": [
										"employee",
										"getAvailabilityTime",
										":id"
									],
									"query": [
										{
											"key": "company_id",
											"value": "{{company_id}}",
											"description": "(Required) Company id"
										}
									],
									"variable": [
										{
											"key": "id",
											"value": "<integer>",
											"description": "(Required) Employee id"
										}
									]
								},
								"description": "Get the availability of a specific employee in dates and times format."
							},
							"response": [
								{
									"name": "successful operation",
									"originalRequest": {
										"method": "GET",
										"header": [],
										"url": {
											"raw": "{{baseUrl}}/employee/getAvailabilityTime/:id?company_id=<integer>&session_token=<API Key>",
											"host": [
												"{{baseUrl}}"
											],
											"path": [
												"employee",
												"getAvailabilityTime",
												":id"
											],
											"query": [
												{
													"key": "company_id",
													"value": "<integer>"
												},
												{
													"key": "session_token",
													"value": "<API Key>"
												}
											],
											"variable": [
												{
													"key": "id"
												}
											]
										}
									},
									"status": "OK",
									"code": 200,
									"_postman_previewlanguage": "json",
									"header": [
										{
											"key": "Content-Type",
											"value": "application/json"
										}
									],
									"cookie": [],
									"body": "{\n \"statusCode\": \"<integer>\",\n \"statusDescriptions\": \"<string>\",\n \"data\": {\n  \"availabilities\": [\n   {\n    \"repeat\": \"<integer>\",\n    \"type\": \"<boolean>\",\n    \"start_date\": \"<date>\",\n    \"end_date\": \"<date>\",\n    \"days\": \"<object>\",\n    \"location_id\": \"<integer>\"\n   },\n   {\n    \"repeat\": \"<integer>\",\n    \"type\": \"<boolean>\",\n    \"start_date\": \"<date>\",\n    \"end_date\": \"<date>\",\n    \"days\": \"<object>\",\n    \"location_id\": \"<integer>\"\n   }\n  ]\n }\n}"
								}
							]
						},
						{
							"name": "Get availability",
							"request": {
								"auth": {
									"type": "apikey",
									"apikey": [
										{
											"key": "value",
											"value": "{{SESSION_TOKEN}}",
											"type": "string"
										},
										{
											"key": "key",
											"value": "session_token",
											"type": "string"
										},
										{
											"key": "in",
											"value": "query",
											"type": "string"
										}
									]
								},
								"method": "GET",
								"header": [],
								"url": {
									"raw": "{{baseUrl}}/employee/getAvailability?employee_id=<long>&location_id=<long>&start_date=<string>&end_date=<string>&company_id={{company_id}}",
									"host": [
										"{{baseUrl}}"
									],
									"path": [
										"employee",
										"getAvailability"
									],
									"query": [
										{
											"key": "employee_id",
											"value": "<long>",
											"description": "(Required) Employee id"
										},
										{
											"key": "location_id",
											"value": "<long>",
											"description": "(Required) Location id"
										},
										{
											"key": "start_date",
											"value": "<string>",
											"description": "(Required) Start Date"
										},
										{
											"key": "end_date",
											"value": "<string>",
											"description": "(Required) End Date"
										},
										{
											"key": "company_id",
											"value": "{{company_id}}"
										}
									]
								},
								"description": "Get the availability of a specific employee in boxes format."
							},
							"response": [
								{
									"name": "successful operation",
									"originalRequest": {
										"method": "GET",
										"header": [],
										"url": {
											"raw": "{{baseUrl}}/employee/getAvailability?employee_id=<long>&location_id=<long>&start_date=<string>&end_date=<string>&session_token=<API Key>",
											"host": [
												"{{baseUrl}}"
											],
											"path": [
												"employee",
												"getAvailability"
											],
											"query": [
												{
													"key": "employee_id",
													"value": "<long>"
												},
												{
													"key": "location_id",
													"value": "<long>"
												},
												{
													"key": "start_date",
													"value": "<string>"
												},
												{
													"key": "end_date",
													"value": "<string>"
												},
												{
													"key": "session_token",
													"value": "<API Key>"
												}
											]
										}
									},
									"status": "OK",
									"code": 200,
									"_postman_previewlanguage": "json",
									"header": [
										{
											"key": "Content-Type",
											"value": "application/json"
										}
									],
									"cookie": [],
									"body": "{\n \"statusCode\": \"<integer>\",\n \"statusDescriptions\": \"<string>\",\n \"data\": {\n  \"start_date\": \"<string>\",\n  \"end_date\": \"<string>\",\n  \"boxes\": \"<object>\"\n }\n}"
								}
							]
						},
						{
							"name": "Upload photo",
							"request": {
								"auth": {
									"type": "apikey",
									"apikey": [
										{
											"key": "value",
											"value": "{{SESSION_TOKEN}}",
											"type": "string"
										},
										{
											"key": "key",
											"value": "session_token",
											"type": "string"
										},
										{
											"key": "in",
											"value": "query",
											"type": "string"
										}
									]
								},
								"method": "POST",
								"header": [
									{
										"key": "Content-Type",
										"value": "multipart/form-data"
									}
								],
								"body": {
									"mode": "formdata",
									"formdata": [
										{
											"key": "photo",
											"value": "<binary>",
											"type": "text"
										}
									]
								},
								"url": {
									"raw": "{{baseUrl}}/employee/uploadPhoto?provider=<long>&company_id={{company_id}}",
									"host": [
										"{{baseUrl}}"
									],
									"path": [
										"employee",
										"uploadPhoto"
									],
									"query": [
										{
											"key": "provider",
											"value": "<long>",
											"description": "Employee id"
										},
										{
											"key": "company_id",
											"value": "{{company_id}}"
										}
									]
								},
								"description": "Add or update the image of a specific employee."
							},
							"response": [
								{
									"name": "successful operation",
									"originalRequest": {
										"method": "POST",
										"header": [],
										"body": {
											"mode": "formdata",
											"formdata": [
												{
													"key": "photo",
													"value": "<binary>",
													"type": "text"
												}
											]
										},
										"url": {
											"raw": "{{baseUrl}}/employee/uploadPhoto?provider=<long>&session_token=<API Key>",
											"host": [
												"{{baseUrl}}"
											],
											"path": [
												"employee",
												"uploadPhoto"
											],
											"query": [
												{
													"key": "provider",
													"value": "<long>"
												},
												{
													"key": "session_token",
													"value": "<API Key>"
												}
											]
										}
									},
									"status": "OK",
									"code": 200,
									"_postman_previewlanguage": "json",
									"header": [
										{
											"key": "Content-Type",
											"value": "application/json"
										}
									],
									"cookie": [],
									"body": "{\n \"statusCode\": \"<integer>\",\n \"statusDescriptions\": \"<string>\",\n \"data\": {\n  \"upload_id\": \"<long>\",\n  \"file_name\": \"<string>\",\n  \"file_location\": \"<string>\"\n }\n}"
								}
							]
						},
						{
							"name": "Remove photo",
							"request": {
								"auth": {
									"type": "apikey",
									"apikey": [
										{
											"key": "value",
											"value": "{{SESSION_TOKEN}}",
											"type": "string"
										},
										{
											"key": "key",
											"value": "session_token",
											"type": "string"
										},
										{
											"key": "in",
											"value": "query",
											"type": "string"
										}
									]
								},
								"method": "POST",
								"header": [
									{
										"key": "Content-Type",
										"value": "application/json"
									}
								],
								"body": {
									"mode": "raw",
									"raw": "{\n    \"file_name\": \"<string>\",\n    \"provider\": \"<integer>\"\n}"
								},
								"url": {
									"raw": "{{baseUrl}}/employee/removePhoto?provider=<long>&company_id={{company_id}}",
									"host": [
										"{{baseUrl}}"
									],
									"path": [
										"employee",
										"removePhoto"
									],
									"query": [
										{
											"key": "provider",
											"value": "<long>",
											"description": "Employee id"
										},
										{
											"key": "company_id",
											"value": "{{company_id}}"
										}
									]
								},
								"description": "Delete the image of a specific employee."
							},
							"response": [
								{
									"name": "successful operation",
									"originalRequest": {
										"method": "POST",
										"header": [],
										"body": {
											"mode": "raw",
											"raw": "{\n    \"data\": {\n        \"file_name\": \"<string>\",\n        \"provider\": \"<integer>\"\n    }\n}"
										},
										"url": {
											"raw": "{{baseUrl}}/employee/removePhoto?provider=<long>&session_token=<API Key>",
											"host": [
												"{{baseUrl}}"
											],
											"path": [
												"employee",
												"removePhoto"
											],
											"query": [
												{
													"key": "provider",
													"value": "<long>"
												},
												{
													"key": "session_token",
													"value": "<API Key>"
												}
											]
										}
									},
									"status": "OK",
									"code": 200,
									"_postman_previewlanguage": "json",
									"header": [
										{
											"key": "Content-Type",
											"value": "application/json"
										}
									],
									"cookie": [],
									"body": "{\n \"statusCode\": \"<integer>\",\n \"statusDescriptions\": \"<string>\",\n \"data\": \"<object>\"\n}"
								}
							]
						},
						{
							"name": "Update order number",
							"request": {
								"auth": {
									"type": "apikey",
									"apikey": [
										{
											"key": "value",
											"value": "{{SESSION_TOKEN}}",
											"type": "string"
										},
										{
											"key": "key",
											"value": "session_token",
											"type": "string"
										},
										{
											"key": "in",
											"value": "query",
											"type": "string"
										}
									]
								},
								"method": "POST",
								"header": [
									{
										"key": "Content-Type",
										"value": "application/json"
									}
								],
								"body": {
									"mode": "raw",
									"raw": "[\n    {\n        \"id\": \"<integer>\",\n        \"ord\": \"<integer>\"\n    },\n    {\n        \"id\": \"<integer>\",\n        \"ord\": \"<integer>\"\n    }\n]"
								},
								"url": {
									"raw": "{{baseUrl}}/employee/updateOrder?company_id={{company_id}}",
									"host": [
										"{{baseUrl}}"
									],
									"path": [
										"employee",
										"updateOrder"
									],
									"query": [
										{
											"key": "company_id",
											"value": "{{company_id}}"
										}
									]
								},
								"description": "Change the sort order of the employees in the list."
							},
							"response": [
								{
									"name": "successful operation",
									"originalRequest": {
										"method": "POST",
										"header": [],
										"body": {
											"mode": "raw",
											"raw": "{\n    \"data\": [\n        {\n            \"id\": \"<integer>\",\n            \"ord\": \"<integer>\"\n        },\n        {\n            \"id\": \"<integer>\",\n            \"ord\": \"<integer>\"\n        }\n    ]\n}"
										},
										"url": {
											"raw": "{{baseUrl}}/employee/updateOrder?session_token=<API Key>",
											"host": [
												"{{baseUrl}}"
											],
											"path": [
												"employee",
												"updateOrder"
											],
											"query": [
												{
													"key": "session_token",
													"value": "<API Key>"
												}
											]
										}
									},
									"status": "OK",
									"code": 200,
									"_postman_previewlanguage": "json",
									"header": [
										{
											"key": "Content-Type",
											"value": "application/json"
										}
									],
									"cookie": [],
									"body": "{\n \"statusCode\": \"<integer>\",\n \"statusDescriptions\": \"<string>\",\n \"data\": \"<object>\"\n}"
								}
							]
						},
						{
							"name": "Check nickname availability",
							"request": {
								"auth": {
									"type": "apikey",
									"apikey": [
										{
											"key": "value",
											"value": "{{SESSION_TOKEN}}",
											"type": "string"
										},
										{
											"key": "key",
											"value": "session_token",
											"type": "string"
										},
										{
											"key": "in",
											"value": "query",
											"type": "string"
										}
									]
								},
								"method": "GET",
								"header": [],
								"url": {
									"raw": "{{baseUrl}}/employee/checknickname/:nickname?company_id={{company_id}}",
									"host": [
										"{{baseUrl}}"
									],
									"path": [
										"employee",
										"checknickname",
										":nickname"
									],
									"query": [
										{
											"key": "company_id",
											"value": "{{company_id}}"
										}
									],
									"variable": [
										{
											"key": "nickname",
											"value": "<string>",
											"description": "(Required) "
										}
									]
								},
								"description": "Check whether a specific nickname is available to use.\n"
							},
							"response": [
								{
									"name": "successful operation",
									"originalRequest": {
										"method": "GET",
										"header": [],
										"url": {
											"raw": "{{baseUrl}}/employee/checknickname/:nickname?session_token=<API Key>",
											"host": [
												"{{baseUrl}}"
											],
											"path": [
												"employee",
												"checknickname",
												":nickname"
											],
											"query": [
												{
													"key": "session_token",
													"value": "<API Key>"
												}
											],
											"variable": [
												{
													"key": "nickname"
												}
											]
										}
									},
									"status": "OK",
									"code": 200,
									"_postman_previewlanguage": "json",
									"header": [
										{
											"key": "Content-Type",
											"value": "application/json"
										}
									],
									"cookie": [],
									"body": "{\n \"statusCode\": \"<integer>\",\n \"statusDescriptions\": \"<string>\",\n \"data\": \"<object>\"\n}"
								}
							]
						}
					]
				},
				{
					"name": "availability",
					"item": [
						{
							"name": "save Holiday",
							"item": [
								{
									"name": "Save holiday",
									"request": {
										"auth": {
											"type": "apikey",
											"apikey": [
												{
													"key": "value",
													"value": "{{SESSION_TOKEN}}",
													"type": "string"
												},
												{
													"key": "key",
													"value": "session_token",
													"type": "string"
												},
												{
													"key": "in",
													"value": "query",
													"type": "string"
												}
											]
										},
										"method": "POST",
										"header": [
											{
												"key": "Content-Type",
												"value": "application/json"
											}
										],
										"body": {
											"mode": "raw",
											"raw": "{\n    \"company_id\": \"{{company_id}}\",\n    \"name\": \"<string>\",\n    \"type\": \"<integer>\",\n    \"start_date\": \"<dateTime>\",\n    \"end_date\": \"<dateTime>\",\n    \"day_in_week\": \"<integer>\",\n    \"month\": \"<integer>\",\n    \"day_order\": \"<integer>\",\n    \"enabled\": 1,\n    \"timestamp\": \"<number>\"\n}"
										},
										"url": {
											"raw": "{{baseUrl}}/availability/saveHoliday?company_id={{company_id}}",
											"host": [
												"{{baseUrl}}"
											],
											"path": [
												"availability",
												"saveHoliday"
											],
											"query": [
												{
													"key": "company_id",
													"value": "{{company_id}}"
												}
											]
										},
										"description": "Create a new holiday."
									},
									"response": [
										{
											"name": "successful operation",
											"originalRequest": {
												"method": "POST",
												"header": [],
												"body": {
													"mode": "raw",
													"raw": "{\n    \"data\": {\n        \"company_id\": \"<long>\",\n        \"name\": \"<string>\",\n        \"type\": \"<integer>\",\n        \"start_date\": \"<dateTime>\",\n        \"end_date\": \"<dateTime>\",\n        \"day_in_week\": \"<integer>\",\n        \"month\": \"<integer>\",\n        \"day_order\": \"<integer>\",\n        \"enabled\": 1,\n        \"timestamp\": \"<number>\"\n    }\n}"
												},
												"url": {
													"raw": "{{baseUrl}}/availability/saveHoliday?session_token=<API Key>",
													"host": [
														"{{baseUrl}}"
													],
													"path": [
														"availability",
														"saveHoliday"
													],
													"query": [
														{
															"key": "session_token",
															"value": "<API Key>"
														}
													]
												}
											},
											"status": "OK",
											"code": 200,
											"_postman_previewlanguage": "json",
											"header": [
												{
													"key": "Content-Type",
													"value": "application/json"
												}
											],
											"cookie": [],
											"body": "{\n \"statusCode\": \"<integer>\",\n \"statusDescriptions\": \"<string>\",\n \"data\": {\n  \"company_id\": \"<long>\",\n  \"id\": \"<long>\",\n  \"name\": \"<string>\",\n  \"type\": \"<integer>\",\n  \"start_date\": \"<dateTime>\",\n  \"end_date\": \"<dateTime>\",\n  \"day_in_week\": \"<integer>\",\n  \"month\": \"<integer>\",\n  \"day_order\": \"<integer>\",\n  \"year\": \"<integer>\",\n  \"caption\": \"<string>\",\n  \"enabled\": 1,\n  \"timestamp\": \"<number>\"\n }\n}"
										}
									]
								},
								{
									"name": "Modify holiday",
									"request": {
										"auth": {
											"type": "apikey",
											"apikey": [
												{
													"key": "value",
													"value": "{{SESSION_TOKEN}}",
													"type": "string"
												},
												{
													"key": "key",
													"value": "session_token",
													"type": "string"
												},
												{
													"key": "in",
													"value": "query",
													"type": "string"
												}
											]
										},
										"method": "POST",
										"header": [
											{
												"key": "Content-Type",
												"value": "application/json"
											}
										],
										"body": {
											"mode": "raw",
											"raw": "{\n    \"company_id\": \"{{company_id}}}}\",\n    \"name\": \"<string>\",\n    \"type\": \"<integer>\",\n    \"start_date\": \"<dateTime>\",\n    \"end_date\": \"<dateTime>\",\n    \"day_in_week\": \"<integer>\",\n    \"month\": \"<integer>\",\n    \"day_order\": \"<integer>\",\n    \"enabled\": 1,\n    \"timestamp\": \"<number>\"\n}"
										},
										"url": {
											"raw": "{{baseUrl}}/availability/saveHoliday/:id?company_id={{company_id}}",
											"host": [
												"{{baseUrl}}"
											],
											"path": [
												"availability",
												"saveHoliday",
												":id"
											],
											"query": [
												{
													"key": "company_id",
													"value": "{{company_id}}"
												}
											],
											"variable": [
												{
													"key": "id",
													"value": "<long>",
													"description": "(Required) Holiday id"
												}
											]
										},
										"description": "Modify the attributes of an existing holiday."
									},
									"response": [
										{
											"name": "successful operation",
											"originalRequest": {
												"method": "POST",
												"header": [],
												"body": {
													"mode": "raw",
													"raw": "{\n    \"data\": {\n        \"company_id\": \"<long>\",\n        \"name\": \"<string>\",\n        \"type\": \"<integer>\",\n        \"start_date\": \"<dateTime>\",\n        \"end_date\": \"<dateTime>\",\n        \"day_in_week\": \"<integer>\",\n        \"month\": \"<integer>\",\n        \"day_order\": \"<integer>\",\n        \"enabled\": 1,\n        \"timestamp\": \"<number>\"\n    }\n}"
												},
												"url": {
													"raw": "{{baseUrl}}/availability/saveHoliday/:id?session_token=<API Key>",
													"host": [
														"{{baseUrl}}"
													],
													"path": [
														"availability",
														"saveHoliday",
														":id"
													],
													"query": [
														{
															"key": "session_token",
															"value": "<API Key>"
														}
													],
													"variable": [
														{
															"key": "id"
														}
													]
												}
											},
											"status": "OK",
											"code": 200,
											"_postman_previewlanguage": "json",
											"header": [
												{
													"key": "Content-Type",
													"value": "application/json"
												}
											],
											"cookie": [],
											"body": "{\n \"statusCode\": \"<integer>\",\n \"statusDescriptions\": \"<string>\",\n \"data\": {\n  \"company_id\": \"<long>\",\n  \"id\": \"<long>\",\n  \"name\": \"<string>\",\n  \"type\": \"<integer>\",\n  \"start_date\": \"<dateTime>\",\n  \"end_date\": \"<dateTime>\",\n  \"day_in_week\": \"<integer>\",\n  \"month\": \"<integer>\",\n  \"day_order\": \"<integer>\",\n  \"year\": \"<integer>\",\n  \"caption\": \"<string>\",\n  \"enabled\": 1,\n  \"timestamp\": \"<number>\"\n }\n}"
										}
									]
								}
							]
						},
						{
							"name": "get Holiday",
							"item": [
								{
									"name": "Get the list of holidays",
									"request": {
										"auth": {
											"type": "apikey",
											"apikey": [
												{
													"key": "value",
													"value": "{{SESSION_TOKEN}}",
													"type": "string"
												},
												{
													"key": "key",
													"value": "session_token",
													"type": "string"
												},
												{
													"key": "in",
													"value": "query",
													"type": "string"
												}
											]
										},
										"method": "GET",
										"header": [],
										"url": {
											"raw": "{{baseUrl}}/availability/getHoliday?company_id={{company_id}}",
											"host": [
												"{{baseUrl}}"
											],
											"path": [
												"availability",
												"getHoliday"
											],
											"query": [
												{
													"key": "company_id",
													"value": "{{company_id}}",
													"description": "(Required) Company id"
												}
											]
										},
										"description": "Get a list of all holidays and their attributes."
									},
									"response": [
										{
											"name": "successful operation",
											"originalRequest": {
												"method": "GET",
												"header": [],
												"url": {
													"raw": "{{baseUrl}}/availability/getHoliday?company_id=<long>&session_token=<API Key>",
													"host": [
														"{{baseUrl}}"
													],
													"path": [
														"availability",
														"getHoliday"
													],
													"query": [
														{
															"key": "company_id",
															"value": "<long>"
														},
														{
															"key": "session_token",
															"value": "<API Key>"
														}
													]
												}
											},
											"status": "OK",
											"code": 200,
											"_postman_previewlanguage": "json",
											"header": [
												{
													"key": "Content-Type",
													"value": "application/json"
												}
											],
											"cookie": [],
											"body": "{\n \"statusCode\": \"<integer>\",\n \"statusDescriptions\": \"<string>\",\n \"data\": [\n  {\n   \"company_id\": \"<long>\",\n   \"id\": \"<long>\",\n   \"name\": \"<string>\",\n   \"type\": \"<integer>\",\n   \"start_date\": \"<dateTime>\",\n   \"end_date\": \"<dateTime>\",\n   \"day_in_week\": \"<integer>\",\n   \"month\": \"<integer>\",\n   \"day_order\": \"<integer>\",\n   \"year\": \"<integer>\",\n   \"caption\": \"<string>\",\n   \"enabled\": 1,\n   \"timestamp\": \"<number>\"\n  },\n  {\n   \"company_id\": \"<long>\",\n   \"id\": \"<long>\",\n   \"name\": \"<string>\",\n   \"type\": \"<integer>\",\n   \"start_date\": \"<dateTime>\",\n   \"end_date\": \"<dateTime>\",\n   \"day_in_week\": \"<integer>\",\n   \"month\": \"<integer>\",\n   \"day_order\": \"<integer>\",\n   \"year\": \"<integer>\",\n   \"caption\": \"<string>\",\n   \"enabled\": 1,\n   \"timestamp\": \"<number>\"\n  }\n ]\n}"
										}
									]
								},
								{
									"name": "Get one holiday",
									"request": {
										"auth": {
											"type": "apikey",
											"apikey": [
												{
													"key": "value",
													"value": "{{SESSION_TOKEN}}",
													"type": "string"
												},
												{
													"key": "key",
													"value": "session_token",
													"type": "string"
												},
												{
													"key": "in",
													"value": "query",
													"type": "string"
												}
											]
										},
										"method": "GET",
										"header": [],
										"url": {
											"raw": "{{baseUrl}}/availability/getHoliday/:id?company_id={{company_id}}",
											"host": [
												"{{baseUrl}}"
											],
											"path": [
												"availability",
												"getHoliday",
												":id"
											],
											"query": [
												{
													"key": "company_id",
													"value": "{{company_id}}",
													"description": "(Required) Company id"
												}
											],
											"variable": [
												{
													"key": "id",
													"value": "<long>",
													"description": "(Required) Holiday id"
												}
											]
										},
										"description": "Get the attributes of a specific holiday."
									},
									"response": [
										{
											"name": "successful operation",
											"originalRequest": {
												"method": "GET",
												"header": [],
												"url": {
													"raw": "{{baseUrl}}/availability/getHoliday/:id?company_id=<long>&session_token=<API Key>",
													"host": [
														"{{baseUrl}}"
													],
													"path": [
														"availability",
														"getHoliday",
														":id"
													],
													"query": [
														{
															"key": "company_id",
															"value": "<long>"
														},
														{
															"key": "session_token",
															"value": "<API Key>"
														}
													],
													"variable": [
														{
															"key": "id"
														}
													]
												}
											},
											"status": "OK",
											"code": 200,
											"_postman_previewlanguage": "json",
											"header": [
												{
													"key": "Content-Type",
													"value": "application/json"
												}
											],
											"cookie": [],
											"body": "{\n \"statusCode\": \"<integer>\",\n \"statusDescriptions\": \"<string>\",\n \"data\": {\n  \"company_id\": \"<long>\",\n  \"id\": \"<long>\",\n  \"name\": \"<string>\",\n  \"type\": \"<integer>\",\n  \"start_date\": \"<dateTime>\",\n  \"end_date\": \"<dateTime>\",\n  \"day_in_week\": \"<integer>\",\n  \"month\": \"<integer>\",\n  \"day_order\": \"<integer>\",\n  \"year\": \"<integer>\",\n  \"caption\": \"<string>\",\n  \"enabled\": 1,\n  \"timestamp\": \"<number>\"\n }\n}"
										}
									]
								}
							]
						},
						{
							"name": "Get Availability Info",
							"request": {
								"auth": {
									"type": "apikey",
									"apikey": [
										{
											"key": "value",
											"value": "{{SESSION_TOKEN}}",
											"type": "string"
										},
										{
											"key": "key",
											"value": "session_token",
											"type": "string"
										},
										{
											"key": "in",
											"value": "query",
											"type": "string"
										}
									]
								},
								"method": "GET",
								"header": [],
								"url": {
									"raw": "{{baseUrl}}/availability?service_id=<long>&subservices=<integer>&subservices=<integer>&location_id=<long>&provider_id=<long>&start_date=<date>&t=<string>&return=<string>&timezone_id=<integer>&first_available=<boolean>&available_seats=<boolean>&total_seats=<boolean>&no_of_weeks=<integer>&company_id={{company_id}}",
									"host": [
										"{{baseUrl}}"
									],
									"path": [
										"availability"
									],
									"query": [
										{
											"key": "service_id",
											"value": "<long>",
											"description": "(Required) The ID of the selected service"
										},
										{
											"key": "subservices",
											"value": "<integer>",
											"description": "The IDs of the selected subservices"
										},
										{
											"key": "subservices",
											"value": "<integer>",
											"description": "The IDs of the selected subservices"
										},
										{
											"key": "location_id",
											"value": "<long>",
											"description": "The ID of the selected location"
										},
										{
											"key": "provider_id",
											"value": "<long>",
											"description": "The ID of the provider (employee)"
										},
										{
											"key": "start_date",
											"value": "<date>",
											"description": "(Required) (YYYY-mm-dd) The day for which the availability is requested"
										},
										{
											"key": "t",
											"value": "<string>",
											"description": "(Required)  - If 'weekly', then the availability for the whole week of 'start_date' will be returned.\n- If 'daily', only the availability for 'start_date' will be returned"
										},
										{
											"key": "return",
											"value": "<string>",
											"description": "(Required)  - If 'boxes', the availability will be returned as a set of boxes representing fractions of an hour.\n- If 'times', the availability will be returned as times when the availability slots begin. "
										},
										{
											"key": "timezone_id",
											"value": "<integer>",
											"description": "The ID of the timezone relative to which the availability is calculated. Defaults to the location timezone."
										},
										{
											"key": "first_available",
											"value": "<boolean>",
											"description": "When there is no availability from start_date to the end of the interval(t - daily/weekly), whole agenda is scanned until a first available time slot is returned."
										},
										{
											"key": "available_seats",
											"value": "<boolean>",
											"description": "Retrieve available seats for an appointment start time. This will return the number of seats for an employee. If none is provided, a random employee will be selected and the number of seats for that employee will be returned."
										},
										{
											"key": "total_seats",
											"value": "<boolean>",
											"description": "Use this parameter to get the total number of seats for all employees"
										},
										{
											"key": "no_of_weeks",
											"value": "<integer>",
											"description": "Used to retreive the availability for one month. Accepted values are between 1 and 5"
										},
										{
											"key": "company_id",
											"value": "{{company_id}}"
										}
									]
								},
								"description": "Get the available times to schedule an appointment."
							},
							"response": [
								{
									"name": "successful operation",
									"originalRequest": {
										"method": "GET",
										"header": [],
										"url": {
											"raw": "{{baseUrl}}/availability?service_id=<long>&subservices=<integer>&subservices=<integer>&location_id=<long>&provider_id=<long>&start_date=<date>&t=<string>&return=<string>&timezone_id=<integer>&first_available=<boolean>&available_seats=<boolean>&total_seats=<boolean>&no_of_weeks=<integer>&session_token=<API Key>",
											"host": [
												"{{baseUrl}}"
											],
											"path": [
												"availability"
											],
											"query": [
												{
													"key": "service_id",
													"value": "<long>"
												},
												{
													"key": "subservices",
													"value": "<integer>"
												},
												{
													"key": "subservices",
													"value": "<integer>"
												},
												{
													"key": "location_id",
													"value": "<long>"
												},
												{
													"key": "provider_id",
													"value": "<long>"
												},
												{
													"key": "start_date",
													"value": "<date>"
												},
												{
													"key": "t",
													"value": "<string>"
												},
												{
													"key": "return",
													"value": "<string>"
												},
												{
													"key": "timezone_id",
													"value": "<integer>"
												},
												{
													"key": "first_available",
													"value": "<boolean>"
												},
												{
													"key": "available_seats",
													"value": "<boolean>"
												},
												{
													"key": "total_seats",
													"value": "<boolean>"
												},
												{
													"key": "no_of_weeks",
													"value": "<integer>"
												},
												{
													"key": "session_token",
													"value": "<API Key>"
												}
											]
										}
									},
									"status": "OK",
									"code": 200,
									"_postman_previewlanguage": "json",
									"header": [
										{
											"key": "Content-Type",
											"value": "application/json"
										}
									],
									"cookie": [],
									"body": "{\n \"statusCode\": \"<integer>\",\n \"statusDescriptions\": \"<string>\",\n \"data\": {\n  \"interval\": \"<integer>\",\n  \"boxInterval\": \"<integer>\",\n  \"padding\": \"<integer>\",\n  \"day\": \"<integer>\",\n  \"month\": \"<integer>\",\n  \"year\": \"<integer>\",\n  \"times\": [\n   \"<string>\",\n   \"<string>\"\n  ]\n }\n}"
								}
							]
						},
						{
							"name": "Delete one or more holidays",
							"request": {
								"auth": {
									"type": "apikey",
									"apikey": [
										{
											"key": "value",
											"value": "{{SESSION_TOKEN}}",
											"type": "string"
										},
										{
											"key": "key",
											"value": "session_token",
											"type": "string"
										},
										{
											"key": "in",
											"value": "query",
											"type": "string"
										}
									]
								},
								"method": "POST",
								"header": [],
								"url": {
									"raw": "{{baseUrl}}/availability/deleteHoliday/:ids?company_id={{company_id}}",
									"host": [
										"{{baseUrl}}"
									],
									"path": [
										"availability",
										"deleteHoliday",
										":ids"
									],
									"query": [
										{
											"key": "company_id",
											"value": "{{company_id}}",
											"description": "(Required) Company id"
										}
									],
									"variable": [
										{
											"key": "ids",
											"value": "<string>",
											"description": "(Required) A list of holiday ids, separated by comma.\nExample:\n* 234,345\n* 234\n"
										}
									]
								},
								"description": "Delete one or more existing holidays."
							},
							"response": [
								{
									"name": "successful operation",
									"originalRequest": {
										"method": "POST",
										"header": [],
										"url": {
											"raw": "{{baseUrl}}/availability/deleteHoliday/:ids?company_id=<integer>&session_token=<API Key>",
											"host": [
												"{{baseUrl}}"
											],
											"path": [
												"availability",
												"deleteHoliday",
												":ids"
											],
											"query": [
												{
													"key": "company_id",
													"value": "<integer>"
												},
												{
													"key": "session_token",
													"value": "<API Key>"
												}
											],
											"variable": [
												{
													"key": "ids"
												}
											]
										}
									},
									"status": "OK",
									"code": 200,
									"_postman_previewlanguage": "json",
									"header": [
										{
											"key": "Content-Type",
											"value": "application/json"
										}
									],
									"cookie": [],
									"body": "{\n \"statusCode\": \"<integer>\",\n \"statusDescriptions\": \"<string>\",\n \"data\": \"<boolean>\"\n}"
								}
							]
						}
					]
				},
				{
					"name": "service",
					"item": [
						{
							"name": "{id}",
							"item": [
								{
									"name": "Get a service",
									"request": {
										"auth": {
											"type": "apikey",
											"apikey": [
												{
													"key": "value",
													"value": "{{SESSION_TOKEN}}",
													"type": "string"
												},
												{
													"key": "key",
													"value": "session_token",
													"type": "string"
												},
												{
													"key": "in",
													"value": "query",
													"type": "string"
												}
											]
										},
										"method": "GET",
										"header": [],
										"url": {
											"raw": "{{baseUrl}}/service/:id?company_id={{company_id}}",
											"host": [
												"{{baseUrl}}"
											],
											"path": [
												"service",
												":id"
											],
											"query": [
												{
													"key": "company_id",
													"value": "{{company_id}}"
												}
											],
											"variable": [
												{
													"key": "id",
													"value": "<long>",
													"description": "(Required) Service id"
												}
											]
										},
										"description": "Get the attributes of a specific service."
									},
									"response": [
										{
											"name": "successful operation",
											"originalRequest": {
												"method": "GET",
												"header": [],
												"url": {
													"raw": "{{baseUrl}}/service/:id?session_token=<API Key>",
													"host": [
														"{{baseUrl}}"
													],
													"path": [
														"service",
														":id"
													],
													"query": [
														{
															"key": "session_token",
															"value": "<API Key>"
														}
													],
													"variable": [
														{
															"key": "id"
														}
													]
												}
											},
											"status": "OK",
											"code": 200,
											"_postman_previewlanguage": "json",
											"header": [
												{
													"key": "Content-Type",
													"value": "application/json"
												}
											],
											"cookie": [],
											"body": "{\n \"statusCode\": \"<integer>\",\n \"statusDescriptions\": \"<string>\",\n \"data\": [\n  {\n   \"company_id\": \"<long>\",\n   \"name\": \"<string>\",\n   \"duration\": 60,\n   \"id\": \"<long>\",\n   \"description\": \"<string>\",\n   \"auto_confirm\": false,\n   \"is_subservice\": false,\n   \"duration_padding\": 0,\n   \"max_clients\": 0,\n   \"prior_notice\": 0,\n   \"after_notice\": 0,\n   \"cancel_appointment\": 0,\n   \"reschedule_appointment\": 0,\n   \"send_reminder\": 0,\n   \"start_step\": 0,\n   \"set_schedule\": false,\n   \"schedule\": [\n    {\n     \"repeat\": \"<integer>\",\n     \"start_date\": \"<date>\",\n     \"start_time\": {\n      \"hour\": \"<integer>\",\n      \"min\": \"<integer>\",\n      \"am\": \"<string>\"\n     },\n     \"end_date\": \"<date>\",\n     \"end_time\": {\n      \"hour\": \"<integer>\",\n      \"min\": \"<integer>\",\n      \"am\": \"<string>\"\n     },\n     \"days\": \"<object>\"\n    },\n    {\n     \"repeat\": \"<integer>\",\n     \"start_date\": \"<date>\",\n     \"start_time\": {\n      \"hour\": \"<integer>\",\n      \"min\": \"<integer>\",\n      \"am\": \"<string>\"\n     },\n     \"end_date\": \"<date>\",\n     \"end_time\": {\n      \"hour\": \"<integer>\",\n      \"min\": \"<integer>\",\n      \"am\": \"<string>\"\n     },\n     \"days\": \"<object>\"\n    }\n   ],\n   \"price\": 0,\n   \"payment_min_amount\": 0,\n   \"allow_cash_payment\": false,\n   \"group_session\": 0,\n   \"waiting_list\": 0,\n   \"client_instructions\": \"<string>\",\n   \"widget_message\": \"<string>\",\n   \"password\": \"<string>\",\n   \"ord\": \"<integer>\",\n   \"created_at\": \"<dateTime>\",\n   \"active_from\": \"<date>\",\n   \"active_until\": \"<date>\",\n   \"active_interval_status\": true,\n   \"status\": true,\n   \"active_rules\": 1,\n   \"photo\": \"<string>\"\n  },\n  {\n   \"company_id\": \"<long>\",\n   \"name\": \"<string>\",\n   \"duration\": 60,\n   \"id\": \"<long>\",\n   \"description\": \"<string>\",\n   \"auto_confirm\": false,\n   \"is_subservice\": false,\n   \"duration_padding\": 0,\n   \"max_clients\": 0,\n   \"prior_notice\": 0,\n   \"after_notice\": 0,\n   \"cancel_appointment\": 0,\n   \"reschedule_appointment\": 0,\n   \"send_reminder\": 0,\n   \"start_step\": 0,\n   \"set_schedule\": false,\n   \"schedule\": [\n    {\n     \"repeat\": \"<integer>\",\n     \"start_date\": \"<date>\",\n     \"start_time\": {\n      \"hour\": \"<integer>\",\n      \"min\": \"<integer>\",\n      \"am\": \"<string>\"\n     },\n     \"end_date\": \"<date>\",\n     \"end_time\": {\n      \"hour\": \"<integer>\",\n      \"min\": \"<integer>\",\n      \"am\": \"<string>\"\n     },\n     \"days\": \"<object>\"\n    },\n    {\n     \"repeat\": \"<integer>\",\n     \"start_date\": \"<date>\",\n     \"start_time\": {\n      \"hour\": \"<integer>\",\n      \"min\": \"<integer>\",\n      \"am\": \"<string>\"\n     },\n     \"end_date\": \"<date>\",\n     \"end_time\": {\n      \"hour\": \"<integer>\",\n      \"min\": \"<integer>\",\n      \"am\": \"<string>\"\n     },\n     \"days\": \"<object>\"\n    }\n   ],\n   \"price\": 0,\n   \"payment_min_amount\": 0,\n   \"allow_cash_payment\": false,\n   \"group_session\": 0,\n   \"waiting_list\": 0,\n   \"client_instructions\": \"<string>\",\n   \"widget_message\": \"<string>\",\n   \"password\": \"<string>\",\n   \"ord\": \"<integer>\",\n   \"created_at\": \"<dateTime>\",\n   \"active_from\": \"<date>\",\n   \"active_until\": \"<date>\",\n   \"active_interval_status\": true,\n   \"status\": true,\n   \"active_rules\": 1,\n   \"photo\": \"<string>\"\n  }\n ]\n}"
										}
									]
								},
								{
									"name": "Modify service",
									"request": {
										"auth": {
											"type": "apikey",
											"apikey": [
												{
													"key": "value",
													"value": "{{SESSION_TOKEN}}",
													"type": "string"
												},
												{
													"key": "key",
													"value": "session_token",
													"type": "string"
												},
												{
													"key": "in",
													"value": "query",
													"type": "string"
												}
											]
										},
										"method": "PUT",
										"header": [
											{
												"key": "Content-Type",
												"value": "application/json"
											}
										],
										"body": {
											"mode": "raw",
											"raw": "{\n    \"company_id\": \"{{company_id}}\",\n    \"name\": \"<string>\",\n    \"duration\": 60,\n    \"description\": \"<string>\",\n    \"auto_confirm\": false,\n    \"is_subservice\": false,\n    \"duration_padding\": 0,\n    \"max_clients\": 0,\n    \"prior_notice\": 0,\n    \"after_notice\": 0,\n    \"cancel_appointment\": 0,\n    \"reschedule_appointment\": 0,\n    \"send_reminder\": 0,\n    \"start_step\": 0,\n    \"set_schedule\": false,\n    \"schedule\": [\n        {\n            \"repeat\": \"<integer>\",\n            \"start_date\": \"<date>\",\n            \"start_time\": {\n                \"hour\": \"<integer>\",\n                \"min\": \"<integer>\",\n                \"am\": \"<string>\"\n            },\n            \"end_date\": \"<date>\",\n            \"end_time\": {\n                \"hour\": \"<integer>\",\n                \"min\": \"<integer>\",\n                \"am\": \"<string>\"\n            },\n            \"days\": \"<object>\"\n        },\n        {\n            \"repeat\": \"<integer>\",\n            \"start_date\": \"<date>\",\n            \"start_time\": {\n                \"hour\": \"<integer>\",\n                \"min\": \"<integer>\",\n                \"am\": \"<string>\"\n            },\n            \"end_date\": \"<date>\",\n            \"end_time\": {\n                \"hour\": \"<integer>\",\n                \"min\": \"<integer>\",\n                \"am\": \"<string>\"\n            },\n            \"days\": \"<object>\"\n        }\n    ],\n    \"links\": [\n        \"<object>\",\n        \"<object>\"\n    ],\n    \"price\": 0,\n    \"payment_min_amount\": 0,\n    \"allow_cash_payment\": false,\n    \"group_session\": 0,\n    \"waiting_list\": 0,\n    \"client_instructions\": \"<string>\",\n    \"widget_message\": \"<string>\",\n    \"password\": \"<string>\",\n    \"active_from\": \"<date>\",\n    \"active_until\": \"<date>\",\n    \"active_interval_status\": true,\n    \"status\": true,\n    \"active_rules\": 1,\n    \"photo\": \"<string>\"\n}"
										},
										"url": {
											"raw": "{{baseUrl}}/service/:id?company_id={{company_id}}",
											"host": [
												"{{baseUrl}}"
											],
											"path": [
												"service",
												":id"
											],
											"query": [
												{
													"key": "company_id",
													"value": "{{company_id}}"
												}
											],
											"variable": [
												{
													"key": "id",
													"value": "<long>",
													"description": "(Required) Service id"
												}
											]
										},
										"description": "Modify the attributes of an existing service."
									},
									"response": [
										{
											"name": "successful operation",
											"originalRequest": {
												"method": "PUT",
												"header": [],
												"body": {
													"mode": "raw",
													"raw": "{\n    \"data\": {\n        \"company_id\": \"<long>\",\n        \"name\": \"<string>\",\n        \"duration\": 60,\n        \"description\": \"<string>\",\n        \"auto_confirm\": false,\n        \"is_subservice\": false,\n        \"duration_padding\": 0,\n        \"max_clients\": 0,\n        \"prior_notice\": 0,\n        \"after_notice\": 0,\n        \"cancel_appointment\": 0,\n        \"reschedule_appointment\": 0,\n        \"send_reminder\": 0,\n        \"start_step\": 0,\n        \"set_schedule\": false,\n        \"schedule\": [\n            {\n                \"repeat\": \"<integer>\",\n                \"start_date\": \"<date>\",\n                \"start_time\": {\n                    \"hour\": \"<integer>\",\n                    \"min\": \"<integer>\",\n                    \"am\": \"<string>\"\n                },\n                \"end_date\": \"<date>\",\n                \"end_time\": {\n                    \"hour\": \"<integer>\",\n                    \"min\": \"<integer>\",\n                    \"am\": \"<string>\"\n                },\n                \"days\": \"<object>\"\n            },\n            {\n                \"repeat\": \"<integer>\",\n                \"start_date\": \"<date>\",\n                \"start_time\": {\n                    \"hour\": \"<integer>\",\n                    \"min\": \"<integer>\",\n                    \"am\": \"<string>\"\n                },\n                \"end_date\": \"<date>\",\n                \"end_time\": {\n                    \"hour\": \"<integer>\",\n                    \"min\": \"<integer>\",\n                    \"am\": \"<string>\"\n                },\n                \"days\": \"<object>\"\n            }\n        ],\n        \"links\": [\n            \"<object>\",\n            \"<object>\"\n        ],\n        \"price\": 0,\n        \"payment_min_amount\": 0,\n        \"allow_cash_payment\": false,\n        \"group_session\": 0,\n        \"waiting_list\": 0,\n        \"client_instructions\": \"<string>\",\n        \"widget_message\": \"<string>\",\n        \"password\": \"<string>\",\n        \"active_from\": \"<date>\",\n        \"active_until\": \"<date>\",\n        \"active_interval_status\": true,\n        \"status\": true,\n        \"active_rules\": 1,\n        \"photo\": \"<string>\"\n    }\n}"
												},
												"url": {
													"raw": "{{baseUrl}}/service/:id?session_token=<API Key>",
													"host": [
														"{{baseUrl}}"
													],
													"path": [
														"service",
														":id"
													],
													"query": [
														{
															"key": "session_token",
															"value": "<API Key>"
														}
													],
													"variable": [
														{
															"key": "id"
														}
													]
												}
											},
											"status": "OK",
											"code": 200,
											"_postman_previewlanguage": "json",
											"header": [
												{
													"key": "Content-Type",
													"value": "application/json"
												}
											],
											"cookie": [],
											"body": "{\n \"statusCode\": \"<integer>\",\n \"statusDescriptions\": \"<string>\",\n \"data\": {\n  \"company_id\": \"<long>\",\n  \"name\": \"<string>\",\n  \"duration\": 60,\n  \"id\": \"<long>\",\n  \"description\": \"<string>\",\n  \"auto_confirm\": false,\n  \"is_subservice\": false,\n  \"duration_padding\": 0,\n  \"max_clients\": 0,\n  \"prior_notice\": 0,\n  \"after_notice\": 0,\n  \"cancel_appointment\": 0,\n  \"reschedule_appointment\": 0,\n  \"send_reminder\": 0,\n  \"start_step\": 0,\n  \"set_schedule\": false,\n  \"schedule\": [\n   {\n    \"repeat\": \"<integer>\",\n    \"start_date\": \"<date>\",\n    \"start_time\": {\n     \"hour\": \"<integer>\",\n     \"min\": \"<integer>\",\n     \"am\": \"<string>\"\n    },\n    \"end_date\": \"<date>\",\n    \"end_time\": {\n     \"hour\": \"<integer>\",\n     \"min\": \"<integer>\",\n     \"am\": \"<string>\"\n    },\n    \"days\": \"<object>\"\n   },\n   {\n    \"repeat\": \"<integer>\",\n    \"start_date\": \"<date>\",\n    \"start_time\": {\n     \"hour\": \"<integer>\",\n     \"min\": \"<integer>\",\n     \"am\": \"<string>\"\n    },\n    \"end_date\": \"<date>\",\n    \"end_time\": {\n     \"hour\": \"<integer>\",\n     \"min\": \"<integer>\",\n     \"am\": \"<string>\"\n    },\n    \"days\": \"<object>\"\n   }\n  ],\n  \"price\": 0,\n  \"payment_min_amount\": 0,\n  \"allow_cash_payment\": false,\n  \"group_session\": 0,\n  \"waiting_list\": 0,\n  \"client_instructions\": \"<string>\",\n  \"widget_message\": \"<string>\",\n  \"password\": \"<string>\",\n  \"ord\": \"<integer>\",\n  \"created_at\": \"<dateTime>\",\n  \"active_from\": \"<date>\",\n  \"active_until\": \"<date>\",\n  \"active_interval_status\": true,\n  \"status\": true,\n  \"active_rules\": 1,\n  \"photo\": \"<string>\"\n }\n}"
										}
									]
								},
								{
									"name": "Delete service",
									"request": {
										"auth": {
											"type": "apikey",
											"apikey": [
												{
													"key": "value",
													"value": "{{SESSION_TOKEN}}",
													"type": "string"
												},
												{
													"key": "key",
													"value": "session_token",
													"type": "string"
												},
												{
													"key": "in",
													"value": "query",
													"type": "string"
												}
											]
										},
										"method": "DELETE",
										"header": [],
										"url": {
											"raw": "{{baseUrl}}/service/:id?company_id={{company_id}}",
											"host": [
												"{{baseUrl}}"
											],
											"path": [
												"service",
												":id"
											],
											"query": [
												{
													"key": "company_id",
													"value": "{{company_id}}"
												}
											],
											"variable": [
												{
													"key": "id",
													"value": "<long>",
													"description": "(Required) Service id"
												}
											]
										},
										"description": "Delete an existing service."
									},
									"response": [
										{
											"name": "successful operation",
											"originalRequest": {
												"method": "DELETE",
												"header": [],
												"url": {
													"raw": "{{baseUrl}}/service/:id?session_token=<API Key>",
													"host": [
														"{{baseUrl}}"
													],
													"path": [
														"service",
														":id"
													],
													"query": [
														{
															"key": "session_token",
															"value": "<API Key>"
														}
													],
													"variable": [
														{
															"key": "id"
														}
													]
												}
											},
											"status": "OK",
											"code": 200,
											"_postman_previewlanguage": "json",
											"header": [
												{
													"key": "Content-Type",
													"value": "application/json"
												}
											],
											"cookie": [],
											"body": "{\n \"statusCode\": \"<integer>\",\n \"statusDescriptions\": \"<string>\",\n \"data\": \"<object>\"\n}"
										}
									]
								}
							]
						},
						{
							"name": "List services",
							"request": {
								"auth": {
									"type": "apikey",
									"apikey": [
										{
											"key": "value",
											"value": "{{SESSION_TOKEN}}",
											"type": "string"
										},
										{
											"key": "key",
											"value": "session_token",
											"type": "string"
										},
										{
											"key": "in",
											"value": "query",
											"type": "string"
										}
									]
								},
								"method": "GET",
								"header": [],
								"url": {
									"raw": "{{baseUrl}}/service?id=<integer>&company_id={{company_id}}&location_id=<integer>&active_services=false&description=<string>&auto_confirm=<boolean>&is_subservice=<boolean>&duration=<integer>&duration_padding=<integer>&max_clients=<integer>&prior_notice=<integer>&after_notice=<integer>&cancel_appointment=<integer>&reschedule_appointment=<integer>&send_reminder=<integer>&start_step=<integer>&set_schedule=<integer>&price=<integer>&payment_min_amount=<number>&allow_cash_payment=<boolean>&group_session=<integer>&waiting_list=<integer>&client_instructions=<string>&widget_message=<string>&password=<string>&active_from=<dateTime>&active_until=<dateTime>&active_interval_status=<boolean>&status=<boolean>&photo=<string>&active_rules=<boolean>&tmp_default=<boolean>",
									"host": [
										"{{baseUrl}}"
									],
									"path": [
										"service"
									],
									"query": [
										{
											"key": "id",
											"value": "<integer>",
											"description": "Service id"
										},
										{
											"key": "company_id",
											"value": "{{company_id}}",
											"description": "(Required) Company id"
										},
										{
											"key": "location_id",
											"value": "<integer>",
											"description": "Location id"
										},
										{
											"key": "active_services",
											"value": "false",
											"description": "Return only active services"
										},
										{
											"key": "description",
											"value": "<string>"
										},
										{
											"key": "auto_confirm",
											"value": "<boolean>"
										},
										{
											"key": "is_subservice",
											"value": "<boolean>"
										},
										{
											"key": "duration",
											"value": "<integer>"
										},
										{
											"key": "duration_padding",
											"value": "<integer>"
										},
										{
											"key": "max_clients",
											"value": "<integer>"
										},
										{
											"key": "prior_notice",
											"value": "<integer>"
										},
										{
											"key": "after_notice",
											"value": "<integer>"
										},
										{
											"key": "cancel_appointment",
											"value": "<integer>"
										},
										{
											"key": "reschedule_appointment",
											"value": "<integer>"
										},
										{
											"key": "send_reminder",
											"value": "<integer>"
										},
										{
											"key": "start_step",
											"value": "<integer>"
										},
										{
											"key": "set_schedule",
											"value": "<integer>"
										},
										{
											"key": "price",
											"value": "<integer>"
										},
										{
											"key": "payment_min_amount",
											"value": "<number>"
										},
										{
											"key": "allow_cash_payment",
											"value": "<boolean>"
										},
										{
											"key": "group_session",
											"value": "<integer>"
										},
										{
											"key": "waiting_list",
											"value": "<integer>"
										},
										{
											"key": "client_instructions",
											"value": "<string>"
										},
										{
											"key": "widget_message",
											"value": "<string>"
										},
										{
											"key": "password",
											"value": "<string>"
										},
										{
											"key": "active_from",
											"value": "<dateTime>"
										},
										{
											"key": "active_until",
											"value": "<dateTime>"
										},
										{
											"key": "active_interval_status",
											"value": "<boolean>"
										},
										{
											"key": "status",
											"value": "<boolean>"
										},
										{
											"key": "photo",
											"value": "<string>"
										},
										{
											"key": "active_rules",
											"value": "<boolean>"
										},
										{
											"key": "tmp_default",
											"value": "<boolean>"
										}
									]
								},
								"description": "Get a list of all services and their attributes."
							},
							"response": [
								{
									"name": "successful operation",
									"originalRequest": {
										"method": "GET",
										"header": [],
										"url": {
											"raw": "{{baseUrl}}/service?id=<integer>&company_id=<integer>&location_id=<integer>&active_services=false&description=<string>&auto_confirm=<boolean>&is_subservice=<boolean>&duration=<integer>&duration_padding=<integer>&max_clients=<integer>&prior_notice=<integer>&after_notice=<integer>&cancel_appointment=<integer>&reschedule_appointment=<integer>&send_reminder=<integer>&start_step=<integer>&set_schedule=<integer>&price=<integer>&payment_min_amount=<number>&allow_cash_payment=<boolean>&group_session=<integer>&waiting_list=<integer>&client_instructions=<string>&widget_message=<string>&password=<string>&active_from=<dateTime>&active_until=<dateTime>&active_interval_status=<boolean>&status=<boolean>&photo=<string>&active_rules=<boolean>&tmp_default=<boolean>&session_token=<API Key>",
											"host": [
												"{{baseUrl}}"
											],
											"path": [
												"service"
											],
											"query": [
												{
													"key": "id",
													"value": "<integer>"
												},
												{
													"key": "company_id",
													"value": "<integer>"
												},
												{
													"key": "location_id",
													"value": "<integer>"
												},
												{
													"key": "active_services",
													"value": "false"
												},
												{
													"key": "description",
													"value": "<string>"
												},
												{
													"key": "auto_confirm",
													"value": "<boolean>"
												},
												{
													"key": "is_subservice",
													"value": "<boolean>"
												},
												{
													"key": "duration",
													"value": "<integer>"
												},
												{
													"key": "duration_padding",
													"value": "<integer>"
												},
												{
													"key": "max_clients",
													"value": "<integer>"
												},
												{
													"key": "prior_notice",
													"value": "<integer>"
												},
												{
													"key": "after_notice",
													"value": "<integer>"
												},
												{
													"key": "cancel_appointment",
													"value": "<integer>"
												},
												{
													"key": "reschedule_appointment",
													"value": "<integer>"
												},
												{
													"key": "send_reminder",
													"value": "<integer>"
												},
												{
													"key": "start_step",
													"value": "<integer>"
												},
												{
													"key": "set_schedule",
													"value": "<integer>"
												},
												{
													"key": "price",
													"value": "<integer>"
												},
												{
													"key": "payment_min_amount",
													"value": "<number>"
												},
												{
													"key": "allow_cash_payment",
													"value": "<boolean>"
												},
												{
													"key": "group_session",
													"value": "<integer>"
												},
												{
													"key": "waiting_list",
													"value": "<integer>"
												},
												{
													"key": "client_instructions",
													"value": "<string>"
												},
												{
													"key": "widget_message",
													"value": "<string>"
												},
												{
													"key": "password",
													"value": "<string>"
												},
												{
													"key": "active_from",
													"value": "<dateTime>"
												},
												{
													"key": "active_until",
													"value": "<dateTime>"
												},
												{
													"key": "active_interval_status",
													"value": "<boolean>"
												},
												{
													"key": "status",
													"value": "<boolean>"
												},
												{
													"key": "photo",
													"value": "<string>"
												},
												{
													"key": "active_rules",
													"value": "<boolean>"
												},
												{
													"key": "tmp_default",
													"value": "<boolean>"
												},
												{
													"key": "session_token",
													"value": "<API Key>"
												}
											]
										}
									},
									"status": "OK",
									"code": 200,
									"_postman_previewlanguage": "json",
									"header": [
										{
											"key": "Content-Type",
											"value": "application/json"
										}
									],
									"cookie": [],
									"body": "{\n \"statusCode\": \"<integer>\",\n \"statusDescriptions\": \"<string>\",\n \"data\": [\n  {\n   \"company_id\": \"<long>\",\n   \"name\": \"<string>\",\n   \"duration\": 60,\n   \"id\": \"<long>\",\n   \"description\": \"<string>\",\n   \"auto_confirm\": false,\n   \"is_subservice\": false,\n   \"duration_padding\": 0,\n   \"max_clients\": 0,\n   \"prior_notice\": 0,\n   \"after_notice\": 0,\n   \"cancel_appointment\": 0,\n   \"reschedule_appointment\": 0,\n   \"send_reminder\": 0,\n   \"start_step\": 0,\n   \"set_schedule\": false,\n   \"schedule\": [\n    {\n     \"repeat\": \"<integer>\",\n     \"start_date\": \"<date>\",\n     \"start_time\": {\n      \"hour\": \"<integer>\",\n      \"min\": \"<integer>\",\n      \"am\": \"<string>\"\n     },\n     \"end_date\": \"<date>\",\n     \"end_time\": {\n      \"hour\": \"<integer>\",\n      \"min\": \"<integer>\",\n      \"am\": \"<string>\"\n     },\n     \"days\": \"<object>\"\n    },\n    {\n     \"repeat\": \"<integer>\",\n     \"start_date\": \"<date>\",\n     \"start_time\": {\n      \"hour\": \"<integer>\",\n      \"min\": \"<integer>\",\n      \"am\": \"<string>\"\n     },\n     \"end_date\": \"<date>\",\n     \"end_time\": {\n      \"hour\": \"<integer>\",\n      \"min\": \"<integer>\",\n      \"am\": \"<string>\"\n     },\n     \"days\": \"<object>\"\n    }\n   ],\n   \"price\": 0,\n   \"payment_min_amount\": 0,\n   \"allow_cash_payment\": false,\n   \"group_session\": 0,\n   \"waiting_list\": 0,\n   \"client_instructions\": \"<string>\",\n   \"widget_message\": \"<string>\",\n   \"password\": \"<string>\",\n   \"ord\": \"<integer>\",\n   \"created_at\": \"<dateTime>\",\n   \"active_from\": \"<date>\",\n   \"active_until\": \"<date>\",\n   \"active_interval_status\": true,\n   \"status\": true,\n   \"active_rules\": 1,\n   \"photo\": \"<string>\"\n  },\n  {\n   \"company_id\": \"<long>\",\n   \"name\": \"<string>\",\n   \"duration\": 60,\n   \"id\": \"<long>\",\n   \"description\": \"<string>\",\n   \"auto_confirm\": false,\n   \"is_subservice\": false,\n   \"duration_padding\": 0,\n   \"max_clients\": 0,\n   \"prior_notice\": 0,\n   \"after_notice\": 0,\n   \"cancel_appointment\": 0,\n   \"reschedule_appointment\": 0,\n   \"send_reminder\": 0,\n   \"start_step\": 0,\n   \"set_schedule\": false,\n   \"schedule\": [\n    {\n     \"repeat\": \"<integer>\",\n     \"start_date\": \"<date>\",\n     \"start_time\": {\n      \"hour\": \"<integer>\",\n      \"min\": \"<integer>\",\n      \"am\": \"<string>\"\n     },\n     \"end_date\": \"<date>\",\n     \"end_time\": {\n      \"hour\": \"<integer>\",\n      \"min\": \"<integer>\",\n      \"am\": \"<string>\"\n     },\n     \"days\": \"<object>\"\n    },\n    {\n     \"repeat\": \"<integer>\",\n     \"start_date\": \"<date>\",\n     \"start_time\": {\n      \"hour\": \"<integer>\",\n      \"min\": \"<integer>\",\n      \"am\": \"<string>\"\n     },\n     \"end_date\": \"<date>\",\n     \"end_time\": {\n      \"hour\": \"<integer>\",\n      \"min\": \"<integer>\",\n      \"am\": \"<string>\"\n     },\n     \"days\": \"<object>\"\n    }\n   ],\n   \"price\": 0,\n   \"payment_min_amount\": 0,\n   \"allow_cash_payment\": false,\n   \"group_session\": 0,\n   \"waiting_list\": 0,\n   \"client_instructions\": \"<string>\",\n   \"widget_message\": \"<string>\",\n   \"password\": \"<string>\",\n   \"ord\": \"<integer>\",\n   \"created_at\": \"<dateTime>\",\n   \"active_from\": \"<date>\",\n   \"active_until\": \"<date>\",\n   \"active_interval_status\": true,\n   \"status\": true,\n   \"active_rules\": 1,\n   \"photo\": \"<string>\"\n  }\n ]\n}"
								}
							]
						},
						{
							"name": "Create service",
							"request": {
								"auth": {
									"type": "apikey",
									"apikey": [
										{
											"key": "value",
											"value": "{{SESSION_TOKEN}}",
											"type": "string"
										},
										{
											"key": "key",
											"value": "session_token",
											"type": "string"
										},
										{
											"key": "in",
											"value": "query",
											"type": "string"
										}
									]
								},
								"method": "POST",
								"header": [
									{
										"key": "Content-Type",
										"value": "application/json"
									}
								],
								"body": {
									"mode": "raw",
									"raw": "{\n    \"company_id\": \"{{company_id}}\",\n    \"name\": \"<string>\",\n    \"duration\": 60,\n    \"description\": \"<string>\",\n    \"auto_confirm\": false,\n    \"is_subservice\": false,\n    \"duration_padding\": 0,\n    \"max_clients\": 0,\n    \"prior_notice\": 0,\n    \"after_notice\": 0,\n    \"cancel_appointment\": 0,\n    \"reschedule_appointment\": 0,\n    \"send_reminder\": 0,\n    \"start_step\": 0,\n    \"set_schedule\": false,\n    \"schedule\": [\n        {\n            \"repeat\": \"<integer>\",\n            \"start_date\": \"<date>\",\n            \"start_time\": {\n                \"hour\": \"<integer>\",\n                \"min\": \"<integer>\",\n                \"am\": \"<string>\"\n            },\n            \"end_date\": \"<date>\",\n            \"end_time\": {\n                \"hour\": \"<integer>\",\n                \"min\": \"<integer>\",\n                \"am\": \"<string>\"\n            },\n            \"days\": \"<object>\"\n        },\n        {\n            \"repeat\": \"<integer>\",\n            \"start_date\": \"<date>\",\n            \"start_time\": {\n                \"hour\": \"<integer>\",\n                \"min\": \"<integer>\",\n                \"am\": \"<string>\"\n            },\n            \"end_date\": \"<date>\",\n            \"end_time\": {\n                \"hour\": \"<integer>\",\n                \"min\": \"<integer>\",\n                \"am\": \"<string>\"\n            },\n            \"days\": \"<object>\"\n        }\n    ],\n    \"links\": [\n        \"<object>\",\n        \"<object>\"\n    ],\n    \"price\": 0,\n    \"payment_min_amount\": 0,\n    \"allow_cash_payment\": false,\n    \"group_session\": 0,\n    \"waiting_list\": 0,\n    \"client_instructions\": \"<string>\",\n    \"widget_message\": \"<string>\",\n    \"password\": \"<string>\",\n    \"active_from\": \"<date>\",\n    \"active_until\": \"<date>\",\n    \"active_interval_status\": true,\n    \"status\": true,\n    \"active_rules\": 1,\n    \"photo\": \"<string>\"\n}"
								},
								"url": {
									"raw": "{{baseUrl}}/service?company_id={{company_id}}",
									"host": [
										"{{baseUrl}}"
									],
									"path": [
										"service"
									],
									"query": [
										{
											"key": "company_id",
											"value": "{{company_id}}"
										}
									]
								},
								"description": "Create a new service."
							},
							"response": [
								{
									"name": "successful operation",
									"originalRequest": {
										"method": "POST",
										"header": [],
										"body": {
											"mode": "raw",
											"raw": "{\n    \"data\": {\n        \"company_id\": \"<long>\",\n        \"name\": \"<string>\",\n        \"duration\": 60,\n        \"description\": \"<string>\",\n        \"auto_confirm\": false,\n        \"is_subservice\": false,\n        \"duration_padding\": 0,\n        \"max_clients\": 0,\n        \"prior_notice\": 0,\n        \"after_notice\": 0,\n        \"cancel_appointment\": 0,\n        \"reschedule_appointment\": 0,\n        \"send_reminder\": 0,\n        \"start_step\": 0,\n        \"set_schedule\": false,\n        \"schedule\": [\n            {\n                \"repeat\": \"<integer>\",\n                \"start_date\": \"<date>\",\n                \"start_time\": {\n                    \"hour\": \"<integer>\",\n                    \"min\": \"<integer>\",\n                    \"am\": \"<string>\"\n                },\n                \"end_date\": \"<date>\",\n                \"end_time\": {\n                    \"hour\": \"<integer>\",\n                    \"min\": \"<integer>\",\n                    \"am\": \"<string>\"\n                },\n                \"days\": \"<object>\"\n            },\n            {\n                \"repeat\": \"<integer>\",\n                \"start_date\": \"<date>\",\n                \"start_time\": {\n                    \"hour\": \"<integer>\",\n                    \"min\": \"<integer>\",\n                    \"am\": \"<string>\"\n                },\n                \"end_date\": \"<date>\",\n                \"end_time\": {\n                    \"hour\": \"<integer>\",\n                    \"min\": \"<integer>\",\n                    \"am\": \"<string>\"\n                },\n                \"days\": \"<object>\"\n            }\n        ],\n        \"links\": [\n            \"<object>\",\n            \"<object>\"\n        ],\n        \"price\": 0,\n        \"payment_min_amount\": 0,\n        \"allow_cash_payment\": false,\n        \"group_session\": 0,\n        \"waiting_list\": 0,\n        \"client_instructions\": \"<string>\",\n        \"widget_message\": \"<string>\",\n        \"password\": \"<string>\",\n        \"active_from\": \"<date>\",\n        \"active_until\": \"<date>\",\n        \"active_interval_status\": true,\n        \"status\": true,\n        \"active_rules\": 1,\n        \"photo\": \"<string>\"\n    }\n}"
										},
										"url": {
											"raw": "{{baseUrl}}/service?session_token=<API Key>",
											"host": [
												"{{baseUrl}}"
											],
											"path": [
												"service"
											],
											"query": [
												{
													"key": "session_token",
													"value": "<API Key>"
												}
											]
										}
									},
									"status": "OK",
									"code": 200,
									"_postman_previewlanguage": "json",
									"header": [
										{
											"key": "Content-Type",
											"value": "application/json"
										}
									],
									"cookie": [],
									"body": "{\n \"statusCode\": \"<integer>\",\n \"statusDescriptions\": \"<string>\",\n \"data\": {\n  \"company_id\": \"<long>\",\n  \"name\": \"<string>\",\n  \"duration\": 60,\n  \"id\": \"<long>\",\n  \"description\": \"<string>\",\n  \"auto_confirm\": false,\n  \"is_subservice\": false,\n  \"duration_padding\": 0,\n  \"max_clients\": 0,\n  \"prior_notice\": 0,\n  \"after_notice\": 0,\n  \"cancel_appointment\": 0,\n  \"reschedule_appointment\": 0,\n  \"send_reminder\": 0,\n  \"start_step\": 0,\n  \"set_schedule\": false,\n  \"schedule\": [\n   {\n    \"repeat\": \"<integer>\",\n    \"start_date\": \"<date>\",\n    \"start_time\": {\n     \"hour\": \"<integer>\",\n     \"min\": \"<integer>\",\n     \"am\": \"<string>\"\n    },\n    \"end_date\": \"<date>\",\n    \"end_time\": {\n     \"hour\": \"<integer>\",\n     \"min\": \"<integer>\",\n     \"am\": \"<string>\"\n    },\n    \"days\": \"<object>\"\n   },\n   {\n    \"repeat\": \"<integer>\",\n    \"start_date\": \"<date>\",\n    \"start_time\": {\n     \"hour\": \"<integer>\",\n     \"min\": \"<integer>\",\n     \"am\": \"<string>\"\n    },\n    \"end_date\": \"<date>\",\n    \"end_time\": {\n     \"hour\": \"<integer>\",\n     \"min\": \"<integer>\",\n     \"am\": \"<string>\"\n    },\n    \"days\": \"<object>\"\n   }\n  ],\n  \"price\": 0,\n  \"payment_min_amount\": 0,\n  \"allow_cash_payment\": false,\n  \"group_session\": 0,\n  \"waiting_list\": 0,\n  \"client_instructions\": \"<string>\",\n  \"widget_message\": \"<string>\",\n  \"password\": \"<string>\",\n  \"ord\": \"<integer>\",\n  \"created_at\": \"<dateTime>\",\n  \"active_from\": \"<date>\",\n  \"active_until\": \"<date>\",\n  \"active_interval_status\": true,\n  \"status\": true,\n  \"active_rules\": 1,\n  \"photo\": \"<string>\"\n }\n}"
								}
							]
						},
						{
							"name": "Upload photo",
							"request": {
								"auth": {
									"type": "apikey",
									"apikey": [
										{
											"key": "value",
											"value": "{{SESSION_TOKEN}}",
											"type": "string"
										},
										{
											"key": "key",
											"value": "session_token",
											"type": "string"
										},
										{
											"key": "in",
											"value": "query",
											"type": "string"
										}
									]
								},
								"method": "POST",
								"header": [
									{
										"key": "Content-Type",
										"value": "multipart/form-data"
									}
								],
								"body": {
									"mode": "formdata",
									"formdata": [
										{
											"key": "photo",
											"value": "<binary>",
											"type": "text"
										}
									]
								},
								"url": {
									"raw": "{{baseUrl}}/service/uploadPhoto?service=<long>&company_id={{company_id}}",
									"host": [
										"{{baseUrl}}"
									],
									"path": [
										"service",
										"uploadPhoto"
									],
									"query": [
										{
											"key": "service",
											"value": "<long>",
											"description": "Service id"
										},
										{
											"key": "company_id",
											"value": "{{company_id}}"
										}
									]
								},
								"description": "Add or update the image of a specific service."
							},
							"response": [
								{
									"name": "successful operation",
									"originalRequest": {
										"method": "POST",
										"header": [],
										"body": {
											"mode": "formdata",
											"formdata": [
												{
													"key": "photo",
													"value": "<binary>",
													"type": "text"
												}
											]
										},
										"url": {
											"raw": "{{baseUrl}}/service/uploadPhoto?service=<long>&session_token=<API Key>",
											"host": [
												"{{baseUrl}}"
											],
											"path": [
												"service",
												"uploadPhoto"
											],
											"query": [
												{
													"key": "service",
													"value": "<long>"
												},
												{
													"key": "session_token",
													"value": "<API Key>"
												}
											]
										}
									},
									"status": "OK",
									"code": 200,
									"_postman_previewlanguage": "json",
									"header": [
										{
											"key": "Content-Type",
											"value": "application/json"
										}
									],
									"cookie": [],
									"body": "{\n \"statusCode\": \"<integer>\",\n \"statusDescriptions\": \"<string>\",\n \"data\": {\n  \"upload_id\": \"<long>\",\n  \"file_name\": \"<string>\",\n  \"file_location\": \"<string>\"\n }\n}"
								}
							]
						},
						{
							"name": "Remove photo",
							"request": {
								"auth": {
									"type": "apikey",
									"apikey": [
										{
											"key": "value",
											"value": "{{SESSION_TOKEN}}",
											"type": "string"
										},
										{
											"key": "key",
											"value": "session_token",
											"type": "string"
										},
										{
											"key": "in",
											"value": "query",
											"type": "string"
										}
									]
								},
								"method": "POST",
								"header": [
									{
										"key": "Content-Type",
										"value": "application/json"
									}
								],
								"body": {
									"mode": "raw",
									"raw": "{\n    \"file_name\": \"<string>\",\n    \"service\": \"<integer>\"\n}"
								},
								"url": {
									"raw": "{{baseUrl}}/service/removePhoto?service=<long>&company_id={{company_id}}",
									"host": [
										"{{baseUrl}}"
									],
									"path": [
										"service",
										"removePhoto"
									],
									"query": [
										{
											"key": "service",
											"value": "<long>",
											"description": "Service id"
										},
										{
											"key": "company_id",
											"value": "{{company_id}}"
										}
									]
								},
								"description": "Delete the image of a specific service."
							},
							"response": [
								{
									"name": "successful operation",
									"originalRequest": {
										"method": "POST",
										"header": [],
										"body": {
											"mode": "raw",
											"raw": "{\n    \"data\": {\n        \"file_name\": \"<string>\",\n        \"service\": \"<integer>\"\n    }\n}"
										},
										"url": {
											"raw": "{{baseUrl}}/service/removePhoto?service=<long>&session_token=<API Key>",
											"host": [
												"{{baseUrl}}"
											],
											"path": [
												"service",
												"removePhoto"
											],
											"query": [
												{
													"key": "service",
													"value": "<long>"
												},
												{
													"key": "session_token",
													"value": "<API Key>"
												}
											]
										}
									},
									"status": "OK",
									"code": 200,
									"_postman_previewlanguage": "json",
									"header": [
										{
											"key": "Content-Type",
											"value": "application/json"
										}
									],
									"cookie": [],
									"body": "{\n \"statusCode\": \"<integer>\",\n \"statusDescriptions\": \"<string>\",\n \"data\": \"<object>\"\n}"
								}
							]
						},
						{
							"name": "Update order number",
							"request": {
								"auth": {
									"type": "apikey",
									"apikey": [
										{
											"key": "value",
											"value": "{{SESSION_TOKEN}}",
											"type": "string"
										},
										{
											"key": "key",
											"value": "session_token",
											"type": "string"
										},
										{
											"key": "in",
											"value": "query",
											"type": "string"
										}
									]
								},
								"method": "POST",
								"header": [
									{
										"key": "Content-Type",
										"value": "application/json"
									}
								],
								"body": {
									"mode": "raw",
									"raw": "[\n    {\n        \"id\": \"<integer>\",\n        \"ord\": \"<integer>\"\n    },\n    {\n        \"id\": \"<integer>\",\n        \"ord\": \"<integer>\"\n    }\n]"
								},
								"url": {
									"raw": "{{baseUrl}}/service/updateOrder?company_id={{company_id}}",
									"host": [
										"{{baseUrl}}"
									],
									"path": [
										"service",
										"updateOrder"
									],
									"query": [
										{
											"key": "company_id",
											"value": "{{company_id}}"
										}
									]
								},
								"description": "Change the sort order of the services in the list."
							},
							"response": [
								{
									"name": "successful operation",
									"originalRequest": {
										"method": "POST",
										"header": [],
										"body": {
											"mode": "raw",
											"raw": "{\n    \"data\": [\n        {\n            \"id\": \"<integer>\",\n            \"ord\": \"<integer>\"\n        },\n        {\n            \"id\": \"<integer>\",\n            \"ord\": \"<integer>\"\n        }\n    ]\n}"
										},
										"url": {
											"raw": "{{baseUrl}}/service/updateOrder?session_token=<API Key>",
											"host": [
												"{{baseUrl}}"
											],
											"path": [
												"service",
												"updateOrder"
											],
											"query": [
												{
													"key": "session_token",
													"value": "<API Key>"
												}
											]
										}
									},
									"status": "OK",
									"code": 200,
									"_postman_previewlanguage": "json",
									"header": [
										{
											"key": "Content-Type",
											"value": "application/json"
										}
									],
									"cookie": [],
									"body": "{\n \"statusCode\": \"<integer>\",\n \"statusDescriptions\": \"<string>\",\n \"data\": \"<object>\"\n}"
								}
							]
						}
					]
				},
				{
					"name": "client",
					"item": [
						{
							"name": "{id}",
							"item": [
								{
									"name": "Get a Client",
									"request": {
										"auth": {
											"type": "apikey",
											"apikey": [
												{
													"key": "value",
													"value": "{{SESSION_TOKEN}}",
													"type": "string"
												},
												{
													"key": "key",
													"value": "session_token",
													"type": "string"
												},
												{
													"key": "in",
													"value": "query",
													"type": "string"
												}
											]
										},
										"method": "GET",
										"header": [],
										"url": {
											"raw": "{{baseUrl}}/client/:id?company_id={{company_id}}",
											"host": [
												"{{baseUrl}}"
											],
											"path": [
												"client",
												":id"
											],
											"query": [
												{
													"key": "company_id",
													"value": "{{company_id}}"
												}
											],
											"variable": [
												{
													"key": "id",
													"value": "<long>",
													"description": "(Required) Client id"
												}
											]
										},
										"description": "Get the attributes of a specific client."
									},
									"response": [
										{
											"name": "successful operation",
											"originalRequest": {
												"method": "GET",
												"header": [],
												"url": {
													"raw": "{{baseUrl}}/client/:id?session_token=<API Key>",
													"host": [
														"{{baseUrl}}"
													],
													"path": [
														"client",
														":id"
													],
													"query": [
														{
															"key": "session_token",
															"value": "<API Key>"
														}
													],
													"variable": [
														{
															"key": "id"
														}
													]
												}
											},
											"status": "OK",
											"code": 200,
											"_postman_previewlanguage": "json",
											"header": [
												{
													"key": "Content-Type",
													"value": "application/json"
												}
											],
											"cookie": [],
											"body": "{\n \"statusCode\": \"<integer>\",\n \"statusDescriptions\": \"<string>\",\n \"data\": [\n  {\n   \"company_id\": \"<long>\",\n   \"employee_id\": \"<long>\",\n   \"email\": \"<email>\",\n   \"name\": \"<string>\",\n   \"client_id\": \"<long>\",\n   \"phone\": \"<string>\",\n   \"last_app_date\": \"<dateTime>\",\n   \"date_created\": \"<dateTime>\",\n   \"notes\": \"<string>\",\n   \"preferences\": \"<string>\",\n   \"address\": \"<string>\",\n   \"address2\": \"<string>\",\n   \"city\": \"<string>\",\n   \"state\": \"<string>\",\n   \"zip\": \"<string>\",\n   \"country\": \"<string>\",\n   \"gender\": \"<string>\",\n   \"birthday\": \"<date>\",\n   \"cient_since\": \"<date>\",\n   \"accept_emails\": \"<boolean>\",\n   \"photo\": \"<string>\"\n  },\n  {\n   \"company_id\": \"<long>\",\n   \"employee_id\": \"<long>\",\n   \"email\": \"<email>\",\n   \"name\": \"<string>\",\n   \"client_id\": \"<long>\",\n   \"phone\": \"<string>\",\n   \"last_app_date\": \"<dateTime>\",\n   \"date_created\": \"<dateTime>\",\n   \"notes\": \"<string>\",\n   \"preferences\": \"<string>\",\n   \"address\": \"<string>\",\n   \"address2\": \"<string>\",\n   \"city\": \"<string>\",\n   \"state\": \"<string>\",\n   \"zip\": \"<string>\",\n   \"country\": \"<string>\",\n   \"gender\": \"<string>\",\n   \"birthday\": \"<date>\",\n   \"cient_since\": \"<date>\",\n   \"accept_emails\": \"<boolean>\",\n   \"photo\": \"<string>\"\n  }\n ]\n}"
										}
									]
								},
								{
									"name": "Modify Client",
									"request": {
										"auth": {
											"type": "apikey",
											"apikey": [
												{
													"key": "value",
													"value": "{{SESSION_TOKEN}}",
													"type": "string"
												},
												{
													"key": "key",
													"value": "session_token",
													"type": "string"
												},
												{
													"key": "in",
													"value": "query",
													"type": "string"
												}
											]
										},
										"method": "PUT",
										"header": [
											{
												"key": "Content-Type",
												"value": "application/json"
											}
										],
										"body": {
											"mode": "raw",
											"raw": "{\n    \"email\": \"<email>\",\n    \"name\": \"<string>\",\n    \"phone\": \"<string>\",\n    \"notes\": \"<string>\",\n    \"preferences\": \"<string>\",\n    \"address\": \"<string>\",\n    \"address2\": \"<string>\",\n    \"city\": \"<string>\",\n    \"state\": \"<string>\",\n    \"zip\": \"<string>\",\n    \"country\": \"<string>\",\n    \"gender\": \"<string>\",\n    \"birthday\": \"<date>\",\n    \"cient_since\": \"<date>\",\n    \"accept_emails\": \"<boolean>\",\n    \"photo\": \"<string>\"\n}"
										},
										"url": {
											"raw": "{{baseUrl}}/client/:id?company_id={{company_id}}",
											"host": [
												"{{baseUrl}}"
											],
											"path": [
												"client",
												":id"
											],
											"query": [
												{
													"key": "company_id",
													"value": "{{company_id}}"
												}
											],
											"variable": [
												{
													"key": "id",
													"value": "<long>",
													"description": "(Required) Client id"
												}
											]
										},
										"description": "Modify the attributes of an existing client."
									},
									"response": [
										{
											"name": "successful operation",
											"originalRequest": {
												"method": "PUT",
												"header": [],
												"body": {
													"mode": "raw",
													"raw": "{\n    \"data\": {\n        \"email\": \"<email>\",\n        \"name\": \"<string>\",\n        \"phone\": \"<string>\",\n        \"notes\": \"<string>\",\n        \"preferences\": \"<string>\",\n        \"address\": \"<string>\",\n        \"address2\": \"<string>\",\n        \"city\": \"<string>\",\n        \"state\": \"<string>\",\n        \"zip\": \"<string>\",\n        \"country\": \"<string>\",\n        \"gender\": \"<string>\",\n        \"birthday\": \"<date>\",\n        \"cient_since\": \"<date>\",\n        \"accept_emails\": \"<boolean>\",\n        \"photo\": \"<string>\"\n    }\n}"
												},
												"url": {
													"raw": "{{baseUrl}}/client/:id?session_token=<API Key>",
													"host": [
														"{{baseUrl}}"
													],
													"path": [
														"client",
														":id"
													],
													"query": [
														{
															"key": "session_token",
															"value": "<API Key>"
														}
													],
													"variable": [
														{
															"key": "id"
														}
													]
												}
											},
											"status": "OK",
											"code": 200,
											"_postman_previewlanguage": "json",
											"header": [
												{
													"key": "Content-Type",
													"value": "application/json"
												}
											],
											"cookie": [],
											"body": "{\n \"statusCode\": \"<integer>\",\n \"statusDescriptions\": \"<string>\",\n \"data\": {\n  \"company_id\": \"<long>\",\n  \"employee_id\": \"<long>\",\n  \"email\": \"<email>\",\n  \"name\": \"<string>\",\n  \"client_id\": \"<long>\",\n  \"phone\": \"<string>\",\n  \"last_app_date\": \"<dateTime>\",\n  \"date_created\": \"<dateTime>\",\n  \"notes\": \"<string>\",\n  \"preferences\": \"<string>\",\n  \"address\": \"<string>\",\n  \"address2\": \"<string>\",\n  \"city\": \"<string>\",\n  \"state\": \"<string>\",\n  \"zip\": \"<string>\",\n  \"country\": \"<string>\",\n  \"gender\": \"<string>\",\n  \"birthday\": \"<date>\",\n  \"cient_since\": \"<date>\",\n  \"accept_emails\": \"<boolean>\",\n  \"photo\": \"<string>\"\n }\n}"
										}
									]
								},
								{
									"name": "Delete client",
									"request": {
										"auth": {
											"type": "apikey",
											"apikey": [
												{
													"key": "value",
													"value": "{{SESSION_TOKEN}}",
													"type": "string"
												},
												{
													"key": "key",
													"value": "session_token",
													"type": "string"
												},
												{
													"key": "in",
													"value": "query",
													"type": "string"
												}
											]
										},
										"method": "DELETE",
										"header": [],
										"url": {
											"raw": "{{baseUrl}}/client/:id?company_id={{company_id}}",
											"host": [
												"{{baseUrl}}"
											],
											"path": [
												"client",
												":id"
											],
											"query": [
												{
													"key": "company_id",
													"value": "{{company_id}}"
												}
											],
											"variable": [
												{
													"key": "id",
													"value": "<long>",
													"description": "(Required) Client id"
												}
											]
										},
										"description": "Delete an existing client."
									},
									"response": [
										{
											"name": "successful operation",
											"originalRequest": {
												"method": "DELETE",
												"header": [],
												"url": {
													"raw": "{{baseUrl}}/client/:id?session_token=<API Key>",
													"host": [
														"{{baseUrl}}"
													],
													"path": [
														"client",
														":id"
													],
													"query": [
														{
															"key": "session_token",
															"value": "<API Key>"
														}
													],
													"variable": [
														{
															"key": "id"
														}
													]
												}
											},
											"status": "OK",
											"code": 200,
											"_postman_previewlanguage": "json",
											"header": [
												{
													"key": "Content-Type",
													"value": "application/json"
												}
											],
											"cookie": [],
											"body": "{\n \"statusCode\": \"<integer>\",\n \"statusDescriptions\": \"<string>\",\n \"data\": \"<object>\"\n}"
										}
									]
								}
							]
						},
						{
							"name": "List clients",
							"request": {
								"auth": {
									"type": "apikey",
									"apikey": [
										{
											"key": "value",
											"value": "{{SESSION_TOKEN}}",
											"type": "string"
										},
										{
											"key": "key",
											"value": "session_token",
											"type": "string"
										},
										{
											"key": "in",
											"value": "query",
											"type": "string"
										}
									]
								},
								"method": "GET",
								"header": [],
								"url": {
									"raw": "{{baseUrl}}/client?company_id={{company_id}}&q=<string>&start=0&end=100&client_id=<integer>&employee_id=<integer>&email=<string>&name=<string>&phone=<string>&last_app_date=<string>&notes=<string>&preferences=<string>&address=<string>&address2=<string>&city=<string>&state=<string>&zip=<string>&country=<string>&gender=<string>&birthday=<string>&client_since=<string>&accept_emails=<string>&photo=<string>",
									"host": [
										"{{baseUrl}}"
									],
									"path": [
										"client"
									],
									"query": [
										{
											"key": "company_id",
											"value": "{{company_id}}",
											"description": "(Required) "
										},
										{
											"key": "q",
											"value": "<string>",
											"description": "Search string"
										},
										{
											"key": "start",
											"value": "0",
											"description": "List pager"
										},
										{
											"key": "end",
											"value": "100",
											"description": "List pager / 'all' - no limit"
										},
										{
											"key": "client_id",
											"value": "<integer>"
										},
										{
											"key": "employee_id",
											"value": "<integer>"
										},
										{
											"key": "email",
											"value": "<string>"
										},
										{
											"key": "name",
											"value": "<string>"
										},
										{
											"key": "phone",
											"value": "<string>"
										},
										{
											"key": "last_app_date",
											"value": "<string>"
										},
										{
											"key": "notes",
											"value": "<string>"
										},
										{
											"key": "preferences",
											"value": "<string>"
										},
										{
											"key": "address",
											"value": "<string>"
										},
										{
											"key": "address2",
											"value": "<string>"
										},
										{
											"key": "city",
											"value": "<string>"
										},
										{
											"key": "state",
											"value": "<string>"
										},
										{
											"key": "zip",
											"value": "<string>"
										},
										{
											"key": "country",
											"value": "<string>"
										},
										{
											"key": "gender",
											"value": "<string>"
										},
										{
											"key": "birthday",
											"value": "<string>"
										},
										{
											"key": "client_since",
											"value": "<string>"
										},
										{
											"key": "accept_emails",
											"value": "<string>"
										},
										{
											"key": "photo",
											"value": "<string>"
										}
									]
								},
								"description": "Get a list of all clients and their attributes."
							},
							"response": [
								{
									"name": "successful operation",
									"originalRequest": {
										"method": "GET",
										"header": [],
										"url": {
											"raw": "{{baseUrl}}/client?company_id=<integer>&q=<string>&start=0&end=100&client_id=<integer>&employee_id=<integer>&email=<string>&name=<string>&phone=<string>&last_app_date=<string>&notes=<string>&preferences=<string>&address=<string>&address2=<string>&city=<string>&state=<string>&zip=<string>&country=<string>&gender=<string>&birthday=<string>&client_since=<string>&accept_emails=<string>&photo=<string>&session_token=<API Key>",
											"host": [
												"{{baseUrl}}"
											],
											"path": [
												"client"
											],
											"query": [
												{
													"key": "company_id",
													"value": "<integer>"
												},
												{
													"key": "q",
													"value": "<string>"
												},
												{
													"key": "start",
													"value": "0"
												},
												{
													"key": "end",
													"value": "100"
												},
												{
													"key": "client_id",
													"value": "<integer>"
												},
												{
													"key": "employee_id",
													"value": "<integer>"
												},
												{
													"key": "email",
													"value": "<string>"
												},
												{
													"key": "name",
													"value": "<string>"
												},
												{
													"key": "phone",
													"value": "<string>"
												},
												{
													"key": "last_app_date",
													"value": "<string>"
												},
												{
													"key": "notes",
													"value": "<string>"
												},
												{
													"key": "preferences",
													"value": "<string>"
												},
												{
													"key": "address",
													"value": "<string>"
												},
												{
													"key": "address2",
													"value": "<string>"
												},
												{
													"key": "city",
													"value": "<string>"
												},
												{
													"key": "state",
													"value": "<string>"
												},
												{
													"key": "zip",
													"value": "<string>"
												},
												{
													"key": "country",
													"value": "<string>"
												},
												{
													"key": "gender",
													"value": "<string>"
												},
												{
													"key": "birthday",
													"value": "<string>"
												},
												{
													"key": "client_since",
													"value": "<string>"
												},
												{
													"key": "accept_emails",
													"value": "<string>"
												},
												{
													"key": "photo",
													"value": "<string>"
												},
												{
													"key": "session_token",
													"value": "<API Key>"
												}
											]
										}
									},
									"status": "OK",
									"code": 200,
									"_postman_previewlanguage": "json",
									"header": [
										{
											"key": "Content-Type",
											"value": "application/json"
										}
									],
									"cookie": [],
									"body": "{\n \"statusCode\": \"<integer>\",\n \"statusDescriptions\": \"<string>\",\n \"data\": [\n  {\n   \"company_id\": \"<long>\",\n   \"employee_id\": \"<long>\",\n   \"email\": \"<email>\",\n   \"name\": \"<string>\",\n   \"client_id\": \"<long>\",\n   \"phone\": \"<string>\",\n   \"last_app_date\": \"<dateTime>\",\n   \"date_created\": \"<dateTime>\",\n   \"notes\": \"<string>\",\n   \"preferences\": \"<string>\",\n   \"address\": \"<string>\",\n   \"address2\": \"<string>\",\n   \"city\": \"<string>\",\n   \"state\": \"<string>\",\n   \"zip\": \"<string>\",\n   \"country\": \"<string>\",\n   \"gender\": \"<string>\",\n   \"birthday\": \"<date>\",\n   \"cient_since\": \"<date>\",\n   \"accept_emails\": \"<boolean>\",\n   \"photo\": \"<string>\"\n  },\n  {\n   \"company_id\": \"<long>\",\n   \"employee_id\": \"<long>\",\n   \"email\": \"<email>\",\n   \"name\": \"<string>\",\n   \"client_id\": \"<long>\",\n   \"phone\": \"<string>\",\n   \"last_app_date\": \"<dateTime>\",\n   \"date_created\": \"<dateTime>\",\n   \"notes\": \"<string>\",\n   \"preferences\": \"<string>\",\n   \"address\": \"<string>\",\n   \"address2\": \"<string>\",\n   \"city\": \"<string>\",\n   \"state\": \"<string>\",\n   \"zip\": \"<string>\",\n   \"country\": \"<string>\",\n   \"gender\": \"<string>\",\n   \"birthday\": \"<date>\",\n   \"cient_since\": \"<date>\",\n   \"accept_emails\": \"<boolean>\",\n   \"photo\": \"<string>\"\n  }\n ]\n}"
								}
							]
						},
						{
							"name": "Create Client",
							"request": {
								"auth": {
									"type": "apikey",
									"apikey": [
										{
											"key": "value",
											"value": "{{SESSION_TOKEN}}",
											"type": "string"
										},
										{
											"key": "key",
											"value": "session_token",
											"type": "string"
										},
										{
											"key": "in",
											"value": "query",
											"type": "string"
										}
									]
								},
								"method": "POST",
								"header": [
									{
										"key": "Content-Type",
										"value": "application/json"
									}
								],
								"body": {
									"mode": "raw",
									"raw": "{\n    \"email\": \"<email>\",\n    \"name\": \"<string>\",\n    \"phone\": \"<string>\",\n    \"notes\": \"<string>\",\n    \"preferences\": \"<string>\",\n    \"address\": \"<string>\",\n    \"address2\": \"<string>\",\n    \"city\": \"<string>\",\n    \"state\": \"<string>\",\n    \"zip\": \"<string>\",\n    \"country\": \"<string>\",\n    \"gender\": \"<string>\",\n    \"birthday\": \"<date>\",\n    \"cient_since\": \"<date>\",\n    \"accept_emails\": \"<boolean>\",\n    \"photo\": \"<string>\"\n}"
								},
								"url": {
									"raw": "{{baseUrl}}/client?company_id={{company_id}}",
									"host": [
										"{{baseUrl}}"
									],
									"path": [
										"client"
									],
									"query": [
										{
											"key": "company_id",
											"value": "{{company_id}}"
										}
									]
								},
								"description": "Create a new client."
							},
							"response": [
								{
									"name": "successful operation",
									"originalRequest": {
										"method": "POST",
										"header": [],
										"body": {
											"mode": "raw",
											"raw": "{\n    \"data\": {\n        \"email\": \"<email>\",\n        \"name\": \"<string>\",\n        \"phone\": \"<string>\",\n        \"notes\": \"<string>\",\n        \"preferences\": \"<string>\",\n        \"address\": \"<string>\",\n        \"address2\": \"<string>\",\n        \"city\": \"<string>\",\n        \"state\": \"<string>\",\n        \"zip\": \"<string>\",\n        \"country\": \"<string>\",\n        \"gender\": \"<string>\",\n        \"birthday\": \"<date>\",\n        \"cient_since\": \"<date>\",\n        \"accept_emails\": \"<boolean>\",\n        \"photo\": \"<string>\"\n    }\n}"
										},
										"url": {
											"raw": "{{baseUrl}}/client?session_token=<API Key>",
											"host": [
												"{{baseUrl}}"
											],
											"path": [
												"client"
											],
											"query": [
												{
													"key": "session_token",
													"value": "<API Key>"
												}
											]
										}
									},
									"status": "OK",
									"code": 200,
									"_postman_previewlanguage": "json",
									"header": [
										{
											"key": "Content-Type",
											"value": "application/json"
										}
									],
									"cookie": [],
									"body": "{\n \"statusCode\": \"<integer>\",\n \"statusDescriptions\": \"<string>\",\n \"data\": {\n  \"company_id\": \"<long>\",\n  \"employee_id\": \"<long>\",\n  \"email\": \"<email>\",\n  \"name\": \"<string>\",\n  \"client_id\": \"<long>\",\n  \"phone\": \"<string>\",\n  \"last_app_date\": \"<dateTime>\",\n  \"date_created\": \"<dateTime>\",\n  \"notes\": \"<string>\",\n  \"preferences\": \"<string>\",\n  \"address\": \"<string>\",\n  \"address2\": \"<string>\",\n  \"city\": \"<string>\",\n  \"state\": \"<string>\",\n  \"zip\": \"<string>\",\n  \"country\": \"<string>\",\n  \"gender\": \"<string>\",\n  \"birthday\": \"<date>\",\n  \"cient_since\": \"<date>\",\n  \"accept_emails\": \"<boolean>\",\n  \"photo\": \"<string>\"\n }\n}"
								}
							]
						},
						{
							"name": "Client upload picture",
							"request": {
								"auth": {
									"type": "apikey",
									"apikey": [
										{
											"key": "value",
											"value": "{{SESSION_TOKEN}}",
											"type": "string"
										},
										{
											"key": "key",
											"value": "session_token",
											"type": "string"
										},
										{
											"key": "in",
											"value": "query",
											"type": "string"
										}
									]
								},
								"method": "POST",
								"header": [
									{
										"key": "Content-Type",
										"value": "multipart/form-data"
									}
								],
								"body": {
									"mode": "formdata",
									"formdata": [
										{
											"key": "photo",
											"value": "<binary>",
											"type": "text"
										}
									]
								},
								"url": {
									"raw": "{{baseUrl}}/client/uploadPicture?company_id={{company_id}}",
									"host": [
										"{{baseUrl}}"
									],
									"path": [
										"client",
										"uploadPicture"
									],
									"query": [
										{
											"key": "company_id",
											"value": "{{company_id}}"
										}
									]
								},
								"description": "Using this endpoint you can add/update the client picture"
							},
							"response": [
								{
									"name": "successful operation",
									"originalRequest": {
										"method": "POST",
										"header": [],
										"body": {
											"mode": "formdata",
											"formdata": [
												{
													"key": "photo",
													"value": "<binary>",
													"type": "text"
												}
											]
										},
										"url": {
											"raw": "{{baseUrl}}/client/uploadPicture?session_token=<API Key>",
											"host": [
												"{{baseUrl}}"
											],
											"path": [
												"client",
												"uploadPicture"
											],
											"query": [
												{
													"key": "session_token",
													"value": "<API Key>"
												}
											]
										}
									},
									"status": "OK",
									"code": 200,
									"_postman_previewlanguage": "json",
									"header": [
										{
											"key": "Content-Type",
											"value": "application/json"
										}
									],
									"cookie": [],
									"body": "{\n \"statusCode\": \"<integer>\",\n \"statusDescriptions\": \"<string>\",\n \"data\": {\n  \"upload_id\": \"<long>\",\n  \"file_name\": \"<string>\",\n  \"file_location\": \"<string>\"\n }\n}"
								}
							]
						}
					]
				},
				{
					"name": "tz",
					"item": [
						{
							"name": "List of time zones",
							"request": {
								"method": "GET",
								"header": [],
								"url": {
									"raw": "{{baseUrl}}/tz/list?reverse_caption=0&company_id={{company_id}}",
									"host": [
										"{{baseUrl}}"
									],
									"path": [
										"tz",
										"list"
									],
									"query": [
										{
											"key": "reverse_caption",
											"value": "0",
											"description": "Get the caption with a different format"
										},
										{
											"key": "company_id",
											"value": "{{company_id}}"
										}
									]
								},
								"description": "Get a list of available Setster time zones."
							},
							"response": [
								{
									"name": "successful operation",
									"originalRequest": {
										"method": "GET",
										"header": [],
										"url": {
											"raw": "{{baseUrl}}/tz/list?reverse_caption=0",
											"host": [
												"{{baseUrl}}"
											],
											"path": [
												"tz",
												"list"
											],
											"query": [
												{
													"key": "reverse_caption",
													"value": "0"
												}
											]
										}
									},
									"status": "OK",
									"code": 200,
									"_postman_previewlanguage": "json",
									"header": [
										{
											"key": "Content-Type",
											"value": "application/json"
										}
									],
									"cookie": [],
									"body": "{\n \"statusCode\": \"<integer>\",\n \"statusDescriptions\": \"<string>\",\n \"data\": \"<object>\"\n}"
								}
							]
						},
						{
							"name": "Get timezone offset",
							"request": {
								"method": "GET",
								"header": [],
								"url": {
									"raw": "{{baseUrl}}/tz/data?id=553&time=1536583485&company_id={{company_id}}",
									"host": [
										"{{baseUrl}}"
									],
									"path": [
										"tz",
										"data"
									],
									"query": [
										{
											"key": "id",
											"value": "553",
											"description": "The timezone id"
										},
										{
											"key": "time",
											"value": "1536583485",
											"description": "The timestamp at which the offset whould be calculated"
										},
										{
											"key": "company_id",
											"value": "{{company_id}}"
										}
									]
								},
								"description": "Get the offset of a specific time zone."
							},
							"response": [
								{
									"name": "successful operation",
									"originalRequest": {
										"method": "GET",
										"header": [],
										"url": {
											"raw": "{{baseUrl}}/tz/data?id=553&time=1536583485",
											"host": [
												"{{baseUrl}}"
											],
											"path": [
												"tz",
												"data"
											],
											"query": [
												{
													"key": "id",
													"value": "553"
												},
												{
													"key": "time",
													"value": "1536583485"
												}
											]
										}
									},
									"status": "OK",
									"code": 200,
									"_postman_previewlanguage": "json",
									"header": [
										{
											"key": "Content-Type",
											"value": "application/json"
										}
									],
									"cookie": [],
									"body": "{\n \"statusCode\": \"<integer>\",\n \"statusDescriptions\": \"<string>\",\n \"data\": {\n  \"name\": {\n   \"offset\": \"<integer>\"\n  }\n }\n}"
								}
							]
						}
					]
				},
				{
					"name": "customfield",
					"item": [
						{
							"name": "{id}",
							"item": [
								{
									"name": "Get a Custom Field",
									"request": {
										"auth": {
											"type": "apikey",
											"apikey": [
												{
													"key": "value",
													"value": "{{SESSION_TOKEN}}",
													"type": "string"
												},
												{
													"key": "key",
													"value": "session_token",
													"type": "string"
												},
												{
													"key": "in",
													"value": "query",
													"type": "string"
												}
											]
										},
										"method": "GET",
										"header": [],
										"url": {
											"raw": "{{baseUrl}}/customfield/:id?company_id={{company_id}}",
											"host": [
												"{{baseUrl}}"
											],
											"path": [
												"customfield",
												":id"
											],
											"query": [
												{
													"key": "company_id",
													"value": "{{company_id}}"
												}
											],
											"variable": [
												{
													"key": "id",
													"value": "<long>",
													"description": "(Required) Custom Field id"
												}
											]
										},
										"description": "Get the attributes of a specific custom field."
									},
									"response": [
										{
											"name": "successful operation",
											"originalRequest": {
												"method": "GET",
												"header": [],
												"url": {
													"raw": "{{baseUrl}}/customfield/:id?session_token=<API Key>",
													"host": [
														"{{baseUrl}}"
													],
													"path": [
														"customfield",
														":id"
													],
													"query": [
														{
															"key": "session_token",
															"value": "<API Key>"
														}
													],
													"variable": [
														{
															"key": "id"
														}
													]
												}
											},
											"status": "OK",
											"code": 200,
											"_postman_previewlanguage": "json",
											"header": [
												{
													"key": "Content-Type",
													"value": "application/json"
												}
											],
											"cookie": [],
											"body": "{\n \"statusCode\": \"<integer>\",\n \"statusDescriptions\": \"<string>\",\n \"data\": [\n  {\n   \"company_id\": \"<long>\",\n   \"label\": \"<string>\",\n   \"length\": \"<integer>\",\n   \"type\": 0,\n   \"required\": false,\n   \"ord\": \"<integer>\",\n   \"status\": \"<boolean>\",\n   \"visibility\": \"<integer>\",\n   \"readonly\": false,\n   \"hint\": \"<string>\",\n   \"id\": \"<long>\",\n   \"removable\": false,\n   \"readonly_type\": \"<integer>\"\n  },\n  {\n   \"company_id\": \"<long>\",\n   \"label\": \"<string>\",\n   \"length\": \"<integer>\",\n   \"type\": 0,\n   \"required\": false,\n   \"ord\": \"<integer>\",\n   \"status\": \"<boolean>\",\n   \"visibility\": \"<integer>\",\n   \"readonly\": false,\n   \"hint\": \"<string>\",\n   \"id\": \"<long>\",\n   \"removable\": false,\n   \"readonly_type\": \"<integer>\"\n  }\n ]\n}"
										}
									]
								},
								{
									"name": "Modify custom field",
									"request": {
										"auth": {
											"type": "apikey",
											"apikey": [
												{
													"key": "value",
													"value": "{{SESSION_TOKEN}}",
													"type": "string"
												},
												{
													"key": "key",
													"value": "session_token",
													"type": "string"
												},
												{
													"key": "in",
													"value": "query",
													"type": "string"
												}
											]
										},
										"method": "PUT",
										"header": [
											{
												"key": "Content-Type",
												"value": "application/json"
											}
										],
										"body": {
											"mode": "raw",
											"raw": "{\n    \"company_id\": \"{{company_id}}\",\n    \"label\": \"<string>\",\n    \"length\": \"<integer>\",\n    \"type\": 0,\n    \"required\": false,\n    \"ord\": \"<integer>\",\n    \"status\": \"<boolean>\",\n    \"visibility\": \"<integer>\",\n    \"readonly\": false,\n    \"hint\": \"<string>\",\n    \"removable\": false,\n    \"readonly_type\": \"<integer>\"\n}"
										},
										"url": {
											"raw": "{{baseUrl}}/customfield/:id?company_id={{company_id}}",
											"host": [
												"{{baseUrl}}"
											],
											"path": [
												"customfield",
												":id"
											],
											"query": [
												{
													"key": "company_id",
													"value": "{{company_id}}"
												}
											],
											"variable": [
												{
													"key": "id",
													"value": "<long>",
													"description": "(Required) Custom field id"
												}
											]
										},
										"description": "Modify the attributes of an existing custom field."
									},
									"response": [
										{
											"name": "successful operation",
											"originalRequest": {
												"method": "PUT",
												"header": [],
												"body": {
													"mode": "raw",
													"raw": "{\n    \"data\": {\n        \"company_id\": \"<long>\",\n        \"label\": \"<string>\",\n        \"length\": \"<integer>\",\n        \"type\": 0,\n        \"required\": false,\n        \"ord\": \"<integer>\",\n        \"status\": \"<boolean>\",\n        \"visibility\": \"<integer>\",\n        \"readonly\": false,\n        \"hint\": \"<string>\",\n        \"removable\": false,\n        \"readonly_type\": \"<integer>\"\n    }\n}"
												},
												"url": {
													"raw": "{{baseUrl}}/customfield/:id?session_token=<API Key>",
													"host": [
														"{{baseUrl}}"
													],
													"path": [
														"customfield",
														":id"
													],
													"query": [
														{
															"key": "session_token",
															"value": "<API Key>"
														}
													],
													"variable": [
														{
															"key": "id"
														}
													]
												}
											},
											"status": "OK",
											"code": 200,
											"_postman_previewlanguage": "json",
											"header": [
												{
													"key": "Content-Type",
													"value": "application/json"
												}
											],
											"cookie": [],
											"body": "{\n \"statusCode\": \"<integer>\",\n \"statusDescriptions\": \"<string>\",\n \"data\": {\n  \"company_id\": \"<long>\",\n  \"label\": \"<string>\",\n  \"length\": \"<integer>\",\n  \"type\": 0,\n  \"required\": false,\n  \"ord\": \"<integer>\",\n  \"status\": \"<boolean>\",\n  \"visibility\": \"<integer>\",\n  \"readonly\": false,\n  \"hint\": \"<string>\",\n  \"id\": \"<long>\",\n  \"removable\": false,\n  \"readonly_type\": \"<integer>\"\n }\n}"
										}
									]
								},
								{
									"name": "Delete custom field",
									"request": {
										"auth": {
											"type": "apikey",
											"apikey": [
												{
													"key": "value",
													"value": "{{SESSION_TOKEN}}",
													"type": "string"
												},
												{
													"key": "key",
													"value": "session_token",
													"type": "string"
												},
												{
													"key": "in",
													"value": "query",
													"type": "string"
												}
											]
										},
										"method": "DELETE",
										"header": [],
										"url": {
											"raw": "{{baseUrl}}/customfield/:id?company_id={{company_id}}",
											"host": [
												"{{baseUrl}}"
											],
											"path": [
												"customfield",
												":id"
											],
											"query": [
												{
													"key": "company_id",
													"value": "{{company_id}}"
												}
											],
											"variable": [
												{
													"key": "id",
													"value": "<integer>",
													"description": "(Required) Custom field id"
												}
											]
										},
										"description": "Delete a specific custom field."
									},
									"response": [
										{
											"name": "successful operation",
											"originalRequest": {
												"method": "DELETE",
												"header": [],
												"url": {
													"raw": "{{baseUrl}}/customfield/:id?session_token=<API Key>",
													"host": [
														"{{baseUrl}}"
													],
													"path": [
														"customfield",
														":id"
													],
													"query": [
														{
															"key": "session_token",
															"value": "<API Key>"
														}
													],
													"variable": [
														{
															"key": "id"
														}
													]
												}
											},
											"status": "OK",
											"code": 200,
											"_postman_previewlanguage": "json",
											"header": [
												{
													"key": "Content-Type",
													"value": "application/json"
												}
											],
											"cookie": [],
											"body": "{\n \"statusCode\": \"<integer>\",\n \"statusDescriptions\": \"<string>\",\n \"data\": \"<object>\"\n}"
										}
									]
								}
							]
						},
						{
							"name": "List custom fields",
							"request": {
								"auth": {
									"type": "apikey",
									"apikey": [
										{
											"key": "value",
											"value": "{{SESSION_TOKEN}}",
											"type": "string"
										},
										{
											"key": "key",
											"value": "session_token",
											"type": "string"
										},
										{
											"key": "in",
											"value": "query",
											"type": "string"
										}
									]
								},
								"method": "GET",
								"header": [],
								"url": {
									"raw": "{{baseUrl}}/customfield?id=<integer>&company_id={{company_id}}&label=<string>&length=<integer>&type=<integer>&required=<integer>&status=<integer>&visibility=<integer>&readonly=<integer>&removable=<integer>&readonly_type=<integer>&hint=<string>",
									"host": [
										"{{baseUrl}}"
									],
									"path": [
										"customfield"
									],
									"query": [
										{
											"key": "id",
											"value": "<integer>",
											"description": "Custom field id"
										},
										{
											"key": "company_id",
											"value": "{{company_id}}",
											"description": "(Required) Company id"
										},
										{
											"key": "label",
											"value": "<string>"
										},
										{
											"key": "length",
											"value": "<integer>"
										},
										{
											"key": "type",
											"value": "<integer>"
										},
										{
											"key": "required",
											"value": "<integer>"
										},
										{
											"key": "status",
											"value": "<integer>"
										},
										{
											"key": "visibility",
											"value": "<integer>"
										},
										{
											"key": "readonly",
											"value": "<integer>"
										},
										{
											"key": "removable",
											"value": "<integer>"
										},
										{
											"key": "readonly_type",
											"value": "<integer>"
										},
										{
											"key": "hint",
											"value": "<string>"
										}
									]
								},
								"description": "Get a list of all custom fields and their attributes."
							},
							"response": [
								{
									"name": "successful operation",
									"originalRequest": {
										"method": "GET",
										"header": [],
										"url": {
											"raw": "{{baseUrl}}/customfield?id=<integer>&company_id=<integer>&label=<string>&length=<integer>&type=<integer>&required=<integer>&status=<integer>&visibility=<integer>&readonly=<integer>&removable=<integer>&readonly_type=<integer>&hint=<string>&session_token=<API Key>",
											"host": [
												"{{baseUrl}}"
											],
											"path": [
												"customfield"
											],
											"query": [
												{
													"key": "id",
													"value": "<integer>"
												},
												{
													"key": "company_id",
													"value": "<integer>"
												},
												{
													"key": "label",
													"value": "<string>"
												},
												{
													"key": "length",
													"value": "<integer>"
												},
												{
													"key": "type",
													"value": "<integer>"
												},
												{
													"key": "required",
													"value": "<integer>"
												},
												{
													"key": "status",
													"value": "<integer>"
												},
												{
													"key": "visibility",
													"value": "<integer>"
												},
												{
													"key": "readonly",
													"value": "<integer>"
												},
												{
													"key": "removable",
													"value": "<integer>"
												},
												{
													"key": "readonly_type",
													"value": "<integer>"
												},
												{
													"key": "hint",
													"value": "<string>"
												},
												{
													"key": "session_token",
													"value": "<API Key>"
												}
											]
										}
									},
									"status": "OK",
									"code": 200,
									"_postman_previewlanguage": "json",
									"header": [
										{
											"key": "Content-Type",
											"value": "application/json"
										}
									],
									"cookie": [],
									"body": "{\n \"statusCode\": \"<integer>\",\n \"statusDescriptions\": \"<string>\",\n \"data\": [\n  {\n   \"company_id\": \"<long>\",\n   \"label\": \"<string>\",\n   \"length\": \"<integer>\",\n   \"type\": 0,\n   \"required\": false,\n   \"ord\": \"<integer>\",\n   \"status\": \"<boolean>\",\n   \"visibility\": \"<integer>\",\n   \"readonly\": false,\n   \"hint\": \"<string>\",\n   \"id\": \"<long>\",\n   \"removable\": false,\n   \"readonly_type\": \"<integer>\"\n  },\n  {\n   \"company_id\": \"<long>\",\n   \"label\": \"<string>\",\n   \"length\": \"<integer>\",\n   \"type\": 0,\n   \"required\": false,\n   \"ord\": \"<integer>\",\n   \"status\": \"<boolean>\",\n   \"visibility\": \"<integer>\",\n   \"readonly\": false,\n   \"hint\": \"<string>\",\n   \"id\": \"<long>\",\n   \"removable\": false,\n   \"readonly_type\": \"<integer>\"\n  }\n ]\n}"
								}
							]
						},
						{
							"name": "Create custom field",
							"request": {
								"auth": {
									"type": "apikey",
									"apikey": [
										{
											"key": "value",
											"value": "{{SESSION_TOKEN}}",
											"type": "string"
										},
										{
											"key": "key",
											"value": "session_token",
											"type": "string"
										},
										{
											"key": "in",
											"value": "query",
											"type": "string"
										}
									]
								},
								"method": "POST",
								"header": [
									{
										"key": "Content-Type",
										"value": "application/json"
									}
								],
								"body": {
									"mode": "raw",
									"raw": "{\n    \"company_id\": \"{{company_id}}\",\n    \"label\": \"<string>\",\n    \"length\": \"<integer>\",\n    \"type\": 0,\n    \"required\": false,\n    \"ord\": \"<integer>\",\n    \"status\": \"<boolean>\",\n    \"visibility\": \"<integer>\",\n    \"readonly\": false,\n    \"hint\": \"<string>\",\n    \"removable\": false,\n    \"readonly_type\": \"<integer>\"\n}"
								},
								"url": {
									"raw": "{{baseUrl}}/customfield?company_id={{company_id}}",
									"host": [
										"{{baseUrl}}"
									],
									"path": [
										"customfield"
									],
									"query": [
										{
											"key": "company_id",
											"value": "{{company_id}}"
										}
									]
								},
								"description": "Create a new custom field."
							},
							"response": [
								{
									"name": "successful operation",
									"originalRequest": {
										"method": "POST",
										"header": [],
										"body": {
											"mode": "raw",
											"raw": "{\n    \"data\": {\n        \"company_id\": \"<long>\",\n        \"label\": \"<string>\",\n        \"length\": \"<integer>\",\n        \"type\": 0,\n        \"required\": false,\n        \"ord\": \"<integer>\",\n        \"status\": \"<boolean>\",\n        \"visibility\": \"<integer>\",\n        \"readonly\": false,\n        \"hint\": \"<string>\",\n        \"removable\": false,\n        \"readonly_type\": \"<integer>\"\n    }\n}"
										},
										"url": {
											"raw": "{{baseUrl}}/customfield?session_token=<API Key>",
											"host": [
												"{{baseUrl}}"
											],
											"path": [
												"customfield"
											],
											"query": [
												{
													"key": "session_token",
													"value": "<API Key>"
												}
											]
										}
									},
									"status": "OK",
									"code": 200,
									"_postman_previewlanguage": "json",
									"header": [
										{
											"key": "Content-Type",
											"value": "application/json"
										}
									],
									"cookie": [],
									"body": "{\n \"statusCode\": \"<integer>\",\n \"statusDescriptions\": \"<string>\",\n \"data\": {\n  \"company_id\": \"<long>\",\n  \"label\": \"<string>\",\n  \"length\": \"<integer>\",\n  \"type\": 0,\n  \"required\": false,\n  \"ord\": \"<integer>\",\n  \"status\": \"<boolean>\",\n  \"visibility\": \"<integer>\",\n  \"readonly\": false,\n  \"hint\": \"<string>\",\n  \"id\": \"<long>\",\n  \"removable\": false,\n  \"readonly_type\": \"<integer>\"\n }\n}"
								}
							]
						},
						{
							"name": "Save multiple custom fields",
							"request": {
								"auth": {
									"type": "apikey",
									"apikey": [
										{
											"key": "value",
											"value": "{{SESSION_TOKEN}}",
											"type": "string"
										},
										{
											"key": "key",
											"value": "session_token",
											"type": "string"
										},
										{
											"key": "in",
											"value": "query",
											"type": "string"
										}
									]
								},
								"method": "POST",
								"header": [
									{
										"key": "Content-Type",
										"value": "application/json"
									}
								],
								"body": {
									"mode": "raw",
									"raw": "[\n    {\n        \"company_id\": \"{{company_id}}\",\n        \"label\": \"<string>\",\n        \"length\": \"<integer>\",\n        \"type\": 0,\n        \"required\": false,\n        \"ord\": \"<integer>\",\n        \"status\": \"<boolean>\",\n        \"visibility\": \"<integer>\",\n        \"readonly\": false,\n        \"hint\": \"<string>\",\n        \"removable\": false,\n        \"readonly_type\": \"<integer>\"\n    },\n    {\n        \"company_id\": \"{{company_id}}\",\n        \"label\": \"<string>\",\n        \"length\": \"<integer>\",\n        \"type\": 0,\n        \"required\": false,\n        \"ord\": \"<integer>\",\n        \"status\": \"<boolean>\",\n        \"visibility\": \"<integer>\",\n        \"readonly\": false,\n        \"hint\": \"<string>\",\n        \"removable\": false,\n        \"readonly_type\": \"<integer>\"\n    }\n]"
								},
								"url": {
									"raw": "{{baseUrl}}/customfield/bulksave?company_id={{company_id}}",
									"host": [
										"{{baseUrl}}"
									],
									"path": [
										"customfield",
										"bulksave"
									],
									"query": [
										{
											"key": "company_id",
											"value": "{{company_id}}"
										}
									]
								},
								"description": "Create or modify multiple custom fields."
							},
							"response": [
								{
									"name": "successful operation",
									"originalRequest": {
										"method": "POST",
										"header": [],
										"body": {
											"mode": "raw",
											"raw": "{\n    \"data\": [\n        {\n            \"company_id\": \"<long>\",\n            \"label\": \"<string>\",\n            \"length\": \"<integer>\",\n            \"type\": 0,\n            \"required\": false,\n            \"ord\": \"<integer>\",\n            \"status\": \"<boolean>\",\n            \"visibility\": \"<integer>\",\n            \"readonly\": false,\n            \"hint\": \"<string>\",\n            \"removable\": false,\n            \"readonly_type\": \"<integer>\"\n        },\n        {\n            \"company_id\": \"<long>\",\n            \"label\": \"<string>\",\n            \"length\": \"<integer>\",\n            \"type\": 0,\n            \"required\": false,\n            \"ord\": \"<integer>\",\n            \"status\": \"<boolean>\",\n            \"visibility\": \"<integer>\",\n            \"readonly\": false,\n            \"hint\": \"<string>\",\n            \"removable\": false,\n            \"readonly_type\": \"<integer>\"\n        }\n    ]\n}"
										},
										"url": {
											"raw": "{{baseUrl}}/customfield/bulksave?session_token=<API Key>",
											"host": [
												"{{baseUrl}}"
											],
											"path": [
												"customfield",
												"bulksave"
											],
											"query": [
												{
													"key": "session_token",
													"value": "<API Key>"
												}
											]
										}
									},
									"status": "OK",
									"code": 200,
									"_postman_previewlanguage": "json",
									"header": [
										{
											"key": "Content-Type",
											"value": "application/json"
										}
									],
									"cookie": [],
									"body": "{\n \"statusCode\": \"<integer>\",\n \"statusDescriptions\": \"<string>\",\n \"data\": [\n  {\n   \"company_id\": \"<long>\",\n   \"label\": \"<string>\",\n   \"length\": \"<integer>\",\n   \"type\": 0,\n   \"required\": false,\n   \"ord\": \"<integer>\",\n   \"status\": \"<boolean>\",\n   \"visibility\": \"<integer>\",\n   \"readonly\": false,\n   \"hint\": \"<string>\",\n   \"id\": \"<long>\",\n   \"removable\": false,\n   \"readonly_type\": \"<integer>\"\n  },\n  {\n   \"company_id\": \"<long>\",\n   \"label\": \"<string>\",\n   \"length\": \"<integer>\",\n   \"type\": 0,\n   \"required\": false,\n   \"ord\": \"<integer>\",\n   \"status\": \"<boolean>\",\n   \"visibility\": \"<integer>\",\n   \"readonly\": false,\n   \"hint\": \"<string>\",\n   \"id\": \"<long>\",\n   \"removable\": false,\n   \"readonly_type\": \"<integer>\"\n  }\n ]\n}"
								}
							]
						}
					]
				},
				{
					"name": "appointment",
					"item": [
						{
							"name": "{id}",
							"item": [
								{
									"name": "Get the details of an appointment",
									"request": {
										"auth": {
											"type": "apikey",
											"apikey": [
												{
													"key": "value",
													"value": "{{SESSION_TOKEN}}",
													"type": "string"
												},
												{
													"key": "key",
													"value": "session_token",
													"type": "string"
												},
												{
													"key": "in",
													"value": "query",
													"type": "string"
												}
											]
										},
										"method": "GET",
										"header": [],
										"url": {
											"raw": "{{baseUrl}}/appointment/:id?company_id={{company_id}}",
											"host": [
												"{{baseUrl}}"
											],
											"path": [
												"appointment",
												":id"
											],
											"query": [
												{
													"key": "company_id",
													"value": "{{company_id}}"
												}
											],
											"variable": [
												{
													"key": "id",
													"value": "<long>",
													"description": "(Required) Appointment id"
												}
											]
										},
										"description": "Get the details of a specific appointment."
									},
									"response": [
										{
											"name": "successful operation",
											"originalRequest": {
												"method": "GET",
												"header": [],
												"url": {
													"raw": "{{baseUrl}}/appointment/:id?session_token=<API Key>",
													"host": [
														"{{baseUrl}}"
													],
													"path": [
														"appointment",
														":id"
													],
													"query": [
														{
															"key": "session_token",
															"value": "<API Key>"
														}
													],
													"variable": [
														{
															"key": "id"
														}
													]
												}
											},
											"status": "OK",
											"code": 200,
											"_postman_previewlanguage": "json",
											"header": [
												{
													"key": "Content-Type",
													"value": "application/json"
												}
											],
											"cookie": [],
											"body": "{\n \"statusCode\": \"<integer>\",\n \"statusDescriptions\": \"<string>\",\n \"data\": [\n  {\n   \"company_id\": \"<long>\",\n   \"client_email\": \"<email>\",\n   \"client_name\": \"<string>\",\n   \"service_id\": \"<long>\",\n   \"start_date\": \"<string>\",\n   \"id\": \"<long>\",\n   \"client_id\": \"<long>\",\n   \"client_phone\": \"<string>\",\n   \"client_address\": \"<string>\",\n   \"employee_id\": \"<long>\",\n   \"location_id\": \"<long>\",\n   \"end_date\": \"<string>\",\n   \"length\": \"<integer>\",\n   \"duration_padding\": 0,\n   \"note\": \"<string>\",\n   \"status\": \"<integer>\",\n   \"type\": \"<string>\",\n   \"last_updated\": \"<dateTime>\",\n   \"created_at\": \"<dateTime>\",\n   \"subservices\": \"<string>\",\n   \"paid\": false,\n   \"price\": 0,\n   \"ews_id\": \"\",\n   \"custom_fields\": \"<object>\",\n   \"timezone_short\": \"<string>\",\n   \"timezone_offset_seconds\": \"<integer>\",\n   \"timezone_id\": \"<integer>\"\n  },\n  {\n   \"company_id\": \"<long>\",\n   \"client_email\": \"<email>\",\n   \"client_name\": \"<string>\",\n   \"service_id\": \"<long>\",\n   \"start_date\": \"<string>\",\n   \"id\": \"<long>\",\n   \"client_id\": \"<long>\",\n   \"client_phone\": \"<string>\",\n   \"client_address\": \"<string>\",\n   \"employee_id\": \"<long>\",\n   \"location_id\": \"<long>\",\n   \"end_date\": \"<string>\",\n   \"length\": \"<integer>\",\n   \"duration_padding\": 0,\n   \"note\": \"<string>\",\n   \"status\": \"<integer>\",\n   \"type\": \"<string>\",\n   \"last_updated\": \"<dateTime>\",\n   \"created_at\": \"<dateTime>\",\n   \"subservices\": \"<string>\",\n   \"paid\": false,\n   \"price\": 0,\n   \"ews_id\": \"\",\n   \"custom_fields\": \"<object>\",\n   \"timezone_short\": \"<string>\",\n   \"timezone_offset_seconds\": \"<integer>\",\n   \"timezone_id\": \"<integer>\"\n  }\n ]\n}"
										}
									]
								},
								{
									"name": "Modify appointment",
									"request": {
										"auth": {
											"type": "apikey",
											"apikey": [
												{
													"key": "value",
													"value": "{{SESSION_TOKEN}}",
													"type": "string"
												},
												{
													"key": "key",
													"value": "session_token",
													"type": "string"
												},
												{
													"key": "in",
													"value": "query",
													"type": "string"
												}
											]
										},
										"method": "PUT",
										"header": [
											{
												"key": "Content-Type",
												"value": "application/json"
											}
										],
										"body": {
											"mode": "raw",
											"raw": "{\n    \"company_id\": \"{{company_id}}\",\n    \"client_email\": \"<email>\",\n    \"client_name\": \"<string>\",\n    \"service_id\": \"<long>\",\n    \"start_date\": \"<string>\",\n    \"client_phone\": \"<string>\",\n    \"client_address\": \"<string>\",\n    \"employee_id\": \"<long>\",\n    \"location_id\": \"<long>\",\n    \"duration\": 15,\n    \"note\": \"<string>\",\n    \"status\": \"<integer>\",\n    \"subservices\": \"<string>\",\n    \"paid\": false,\n    \"price\": 0,\n    \"ews_id\": \"\",\n    \"custom_data\": \"<object>\",\n    \"timezone_id\": \"<integer>\"\n}"
										},
										"url": {
											"raw": "{{baseUrl}}/appointment/:id?company_id={{company_id}}",
											"host": [
												"{{baseUrl}}"
											],
											"path": [
												"appointment",
												":id"
											],
											"query": [
												{
													"key": "company_id",
													"value": "{{company_id}}"
												}
											],
											"variable": [
												{
													"key": "id",
													"value": "<long>",
													"description": "(Required) Appointment id"
												}
											]
										},
										"description": "Modify the attributes for an existing appointment. Most commonly used to reschedule the appointment to a different date and time or to modify the appointment status.\n\n<div class='ui grey icon message'>\n<div class='content'>\n  <div class=\"header\">\n  <i class='small paper plane outline\n icon'>\n </i>\n Triggers Client Notification\n</div>\n <p>By default triggers an email and SMS if configured. <a href=\"https://support.setster.com/hc/en-us/sections/360004456154-Email-and-SMS-Notifications\" target=\"_blank\" style=\"color: #636d82 !important\">Learn More</a></p></div></div>\n"
									},
									"response": [
										{
											"name": "successful operation",
											"originalRequest": {
												"method": "PUT",
												"header": [],
												"body": {
													"mode": "raw",
													"raw": "{\n    \"data\": {\n        \"company_id\": \"<long>\",\n        \"client_email\": \"<email>\",\n        \"client_name\": \"<string>\",\n        \"service_id\": \"<long>\",\n        \"start_date\": \"<string>\",\n        \"client_phone\": \"<string>\",\n        \"client_address\": \"<string>\",\n        \"employee_id\": \"<long>\",\n        \"location_id\": \"<long>\",\n        \"duration\": 15,\n        \"note\": \"<string>\",\n        \"status\": \"<integer>\",\n        \"subservices\": \"<string>\",\n        \"paid\": false,\n        \"price\": 0,\n        \"ews_id\": \"\",\n        \"custom_fields\": \"<object>\",\n        \"timezone_id\": \"<integer>\"\n    }\n}"
												},
												"url": {
													"raw": "{{baseUrl}}/appointment/:id?session_token=<API Key>",
													"host": [
														"{{baseUrl}}"
													],
													"path": [
														"appointment",
														":id"
													],
													"query": [
														{
															"key": "session_token",
															"value": "<API Key>"
														}
													],
													"variable": [
														{
															"key": "id"
														}
													]
												}
											},
											"status": "OK",
											"code": 200,
											"_postman_previewlanguage": "json",
											"header": [
												{
													"key": "Content-Type",
													"value": "application/json"
												}
											],
											"cookie": [],
											"body": "{\n \"statusCode\": \"<integer>\",\n \"statusDescriptions\": \"<string>\",\n \"data\": {\n  \"company_id\": \"<long>\",\n  \"client_email\": \"<email>\",\n  \"client_name\": \"<string>\",\n  \"service_id\": \"<long>\",\n  \"start_date\": \"<string>\",\n  \"id\": \"<long>\",\n  \"client_id\": \"<long>\",\n  \"client_phone\": \"<string>\",\n  \"client_address\": \"<string>\",\n  \"employee_id\": \"<long>\",\n  \"location_id\": \"<long>\",\n  \"end_date\": \"<string>\",\n  \"length\": \"<integer>\",\n  \"duration_padding\": 0,\n  \"note\": \"<string>\",\n  \"status\": \"<integer>\",\n  \"type\": \"<string>\",\n  \"last_updated\": \"<dateTime>\",\n  \"created_at\": \"<dateTime>\",\n  \"subservices\": \"<string>\",\n  \"paid\": false,\n  \"price\": 0,\n  \"ews_id\": \"\",\n  \"custom_fields\": \"<object>\",\n  \"timezone_short\": \"<string>\",\n  \"timezone_offset_seconds\": \"<integer>\",\n  \"timezone_id\": \"<integer>\"\n }\n}"
										}
									]
								}
							]
						},
						{
							"name": "List appointments",
							"request": {
								"auth": {
									"type": "apikey",
									"apikey": [
										{
											"key": "value",
											"value": "{{SESSION_TOKEN}}",
											"type": "string"
										},
										{
											"key": "key",
											"value": "session_token",
											"type": "string"
										},
										{
											"key": "in",
											"value": "query",
											"type": "string"
										}
									]
								},
								"method": "GET",
								"header": [],
								"url": {
									"raw": "{{baseUrl}}/appointment?company_id={{company_id}}",
									"host": [
										"{{baseUrl}}"
									],
									"path": [
										"appointment"
									],
									"query": [
										{
											"key": "id",
											"value": "<integer>",
											"description": "The appointment id",
											"disabled": true
										},
										{
											"key": "company_id",
											"value": "{{company_id}}",
											"description": "(Required) "
										},
										{
											"key": "employee_id",
											"value": "<integer>",
											"disabled": true
										},
										{
											"key": "location_id",
											"value": "<integer>",
											"disabled": true
										},
										{
											"key": "service_id",
											"value": "<integer>",
											"disabled": true
										},
										{
											"key": "client_id",
											"value": "<integer>",
											"disabled": true
										},
										{
											"key": "timezone_id",
											"value": "<integer>",
											"description": "Returns appointments date fields with specified time offset",
											"disabled": true
										},
										{
											"key": "ews_id",
											"value": "<string>",
											"disabled": true
										},
										{
											"key": "status",
											"value": "<string>",
											"disabled": true
										},
										{
											"key": "search_text",
											"value": "<string>",
											"disabled": true
										},
										{
											"key": "client_name",
											"value": "<string>",
											"disabled": true
										},
										{
											"key": "client_email",
											"value": "<string>",
											"disabled": true
										},
										{
											"key": "start_date",
											"value": "<string>",
											"disabled": true
										},
										{
											"key": "end_date",
											"value": "<string>",
											"disabled": true
										},
										{
											"key": "paid",
											"value": "<integer>",
											"disabled": true
										},
										{
											"key": "start",
											"value": "0",
											"description": "List pager",
											"disabled": true
										},
										{
											"key": "end",
											"value": "<integer>",
											"description": "List pager / 'all' - no limit",
											"disabled": true
										},
										{
											"key": "updated_after",
											"value": "<dateTime>",
											"description": "Lower date limit for which the appointment was updated",
											"disabled": true
										},
										{
											"key": "updated_before",
											"value": "<dateTime>",
											"description": "Upper date limit for which the appointment was updated",
											"disabled": true
										},
										{
											"key": "created_after",
											"value": "<dateTime>",
											"description": "Lower date limit for which the appointment was created",
											"disabled": true
										},
										{
											"key": "created_before",
											"value": "<dateTime>",
											"description": "Upper date limit for which the appointment was created",
											"disabled": true
										},
										{
											"key": "num_results",
											"value": "0",
											"description": "If 1, the call returns only the number of appointments found",
											"disabled": true
										},
										{
											"key": "sort_by",
											"value": "start_date",
											"disabled": true
										},
										{
											"key": "sort_order",
											"value": "asc",
											"disabled": true
										},
										{
											"key": "cf_ids",
											"value": "custom_field_id1,custom_field_id2",
											"description": "Custom fields ids comma separated",
											"disabled": true
										},
										{
											"key": "cf_search",
											"value": "text to search",
											"description": "Text that will be searched in the custom fields",
											"disabled": true
										},
										{
											"key": "cf_search_precision",
											"value": "fuzzy",
											"description": "Type of search. Can be \"fuzzy\" or exact",
											"disabled": true
										},
										{
											"key": "cf_search_operand",
											"value": "and",
											"description": "If passing multiple IDs, the operand type that should be applied on the custom fields. Can be either \"and\" or \"or\". When using \"and\" all custom fields should match the searched text. If \"or\" is used, at least one custom field should match the searched text",
											"disabled": true
										}
									]
								},
								"description": "Get a list of all appointments (upcoming and past) and their attributes.\nWe advise using filters to fetch appointments for specific date ranges or different attributes."
							},
							"response": [
								{
									"name": "successful operation",
									"originalRequest": {
										"method": "GET",
										"header": [],
										"url": {
											"raw": "{{baseUrl}}/appointment?id=<integer>&company_id=<integer>&employee_id=<integer>&location_id=<integer>&service_id=<integer>&client_id=<integer>&timezone_id=<integer>&ews_id=<string>&status=<string>&search_text=<string>&client_name=<string>&client_email=<string>&custom_field_1=<string>&custom_field_2=<string>&custom_field_3=<string>&custom_field_4=<string>&custom_field_5=<string>&start_date=<string>&end_date=<string>&paid=<integer>&start=0&end=<integer>&updated_after=<dateTime>&updated_before=<dateTime>&created_after=<dateTime>&created_before=<dateTime>&num_results=0&sort_by=start_date&sort_order=asc&session_token=<API Key>",
											"host": [
												"{{baseUrl}}"
											],
											"path": [
												"appointment"
											],
											"query": [
												{
													"key": "id",
													"value": "<integer>"
												},
												{
													"key": "company_id",
													"value": "<integer>"
												},
												{
													"key": "employee_id",
													"value": "<integer>"
												},
												{
													"key": "location_id",
													"value": "<integer>"
												},
												{
													"key": "service_id",
													"value": "<integer>"
												},
												{
													"key": "client_id",
													"value": "<integer>"
												},
												{
													"key": "timezone_id",
													"value": "<integer>"
												},
												{
													"key": "ews_id",
													"value": "<string>"
												},
												{
													"key": "status",
													"value": "<string>"
												},
												{
													"key": "search_text",
													"value": "<string>"
												},
												{
													"key": "client_name",
													"value": "<string>"
												},
												{
													"key": "client_email",
													"value": "<string>"
												},
												{
													"key": "custom_field_1",
													"value": "<string>"
												},
												{
													"key": "custom_field_2",
													"value": "<string>"
												},
												{
													"key": "custom_field_3",
													"value": "<string>"
												},
												{
													"key": "custom_field_4",
													"value": "<string>"
												},
												{
													"key": "custom_field_5",
													"value": "<string>"
												},
												{
													"key": "start_date",
													"value": "<string>"
												},
												{
													"key": "end_date",
													"value": "<string>"
												},
												{
													"key": "paid",
													"value": "<integer>"
												},
												{
													"key": "start",
													"value": "0"
												},
												{
													"key": "end",
													"value": "<integer>"
												},
												{
													"key": "updated_after",
													"value": "<dateTime>"
												},
												{
													"key": "updated_before",
													"value": "<dateTime>"
												},
												{
													"key": "created_after",
													"value": "<dateTime>"
												},
												{
													"key": "created_before",
													"value": "<dateTime>"
												},
												{
													"key": "num_results",
													"value": "0"
												},
												{
													"key": "sort_by",
													"value": "start_date"
												},
												{
													"key": "sort_order",
													"value": "asc"
												},
												{
													"key": "session_token",
													"value": "<API Key>"
												}
											]
										}
									},
									"status": "OK",
									"code": 200,
									"_postman_previewlanguage": "json",
									"header": [
										{
											"key": "Content-Type",
											"value": "application/json"
										}
									],
									"cookie": [],
									"body": "{\n \"statusCode\": \"<integer>\",\n \"statusDescriptions\": \"<string>\",\n \"data\": [\n  {\n   \"company_id\": \"<long>\",\n   \"client_email\": \"<email>\",\n   \"client_name\": \"<string>\",\n   \"service_id\": \"<long>\",\n   \"start_date\": \"<string>\",\n   \"id\": \"<long>\",\n   \"client_id\": \"<long>\",\n   \"client_phone\": \"<string>\",\n   \"client_address\": \"<string>\",\n   \"employee_id\": \"<long>\",\n   \"location_id\": \"<long>\",\n   \"end_date\": \"<string>\",\n   \"length\": \"<integer>\",\n   \"duration_padding\": 0,\n   \"note\": \"<string>\",\n   \"status\": \"<integer>\",\n   \"type\": \"<string>\",\n   \"last_updated\": \"<dateTime>\",\n   \"created_at\": \"<dateTime>\",\n   \"subservices\": \"<string>\",\n   \"paid\": false,\n   \"price\": 0,\n   \"ews_id\": \"\",\n   \"custom_fields\": \"<object>\",\n   \"timezone_short\": \"<string>\",\n   \"timezone_offset_seconds\": \"<integer>\",\n   \"timezone_id\": \"<integer>\"\n  },\n  {\n   \"company_id\": \"<long>\",\n   \"client_email\": \"<email>\",\n   \"client_name\": \"<string>\",\n   \"service_id\": \"<long>\",\n   \"start_date\": \"<string>\",\n   \"id\": \"<long>\",\n   \"client_id\": \"<long>\",\n   \"client_phone\": \"<string>\",\n   \"client_address\": \"<string>\",\n   \"employee_id\": \"<long>\",\n   \"location_id\": \"<long>\",\n   \"end_date\": \"<string>\",\n   \"length\": \"<integer>\",\n   \"duration_padding\": 0,\n   \"note\": \"<string>\",\n   \"status\": \"<integer>\",\n   \"type\": \"<string>\",\n   \"last_updated\": \"<dateTime>\",\n   \"created_at\": \"<dateTime>\",\n   \"subservices\": \"<string>\",\n   \"paid\": false,\n   \"price\": 0,\n   \"ews_id\": \"\",\n   \"custom_fields\": \"<object>\",\n   \"timezone_short\": \"<string>\",\n   \"timezone_offset_seconds\": \"<integer>\",\n   \"timezone_id\": \"<integer>\"\n  }\n ]\n}"
								}
							]
						},
						{
							"name": "Create appointment",
							"request": {
								"auth": {
									"type": "apikey",
									"apikey": [
										{
											"key": "value",
											"value": "{{SESSION_TOKEN}}",
											"type": "string"
										},
										{
											"key": "key",
											"value": "session_token",
											"type": "string"
										},
										{
											"key": "in",
											"value": "query",
											"type": "string"
										}
									]
								},
								"method": "POST",
								"header": [
									{
										"key": "Content-Type",
										"value": "application/json"
									}
								],
								"body": {
									"mode": "raw",
									"raw": "{\n    \"company_id\": \"{{company_id}}\",\n    \"client_email\": \"<email>\",\n    \"client_name\": \"<string>\",\n    \"service_id\": \"<long>\",\n    \"start_date\": \"<string>\",\n    \"client_phone\": \"<string>\",\n    \"client_address\": \"<string>\",\n    \"employee_id\": \"<long>\",\n    \"location_id\": \"<long>\",\n    \"duration\": 15,\n    \"note\": \"<string>\",\n    \"status\": \"<integer>\",\n    \"subservices\": \"<string>\",\n    \"paid\": false,\n    \"price\": 0,\n    \"ews_id\": \"\",\n    \"custom_data\": \"<object>\",\n    \"timezone_id\": \"<integer>\"\n}"
								},
								"url": {
									"raw": "{{baseUrl}}/appointment?company_id={{company_id}}",
									"host": [
										"{{baseUrl}}"
									],
									"path": [
										"appointment"
									],
									"query": [
										{
											"key": "company_id",
											"value": "{{company_id}}"
										}
									]
								},
								"description": "Create a new appointment."
							},
							"response": [
								{
									"name": "The appointment has been created",
									"originalRequest": {
										"method": "POST",
										"header": [],
										"body": {
											"mode": "raw",
											"raw": "{\n    \"data\": {\n        \"company_id\": \"<long>\",\n        \"client_email\": \"<email>\",\n        \"client_name\": \"<string>\",\n        \"service_id\": \"<long>\",\n        \"start_date\": \"<string>\",\n        \"client_phone\": \"<string>\",\n        \"client_address\": \"<string>\",\n        \"employee_id\": \"<long>\",\n        \"location_id\": \"<long>\",\n        \"duration\": 15,\n        \"note\": \"<string>\",\n        \"status\": \"<integer>\",\n        \"subservices\": \"<string>\",\n        \"paid\": false,\n        \"price\": 0,\n        \"ews_id\": \"\",\n        \"custom_fields\": \"<object>\",\n        \"timezone_id\": \"<integer>\"\n    }\n}"
										},
										"url": {
											"raw": "{{baseUrl}}/appointment?session_token=<API Key>",
											"host": [
												"{{baseUrl}}"
											],
											"path": [
												"appointment"
											],
											"query": [
												{
													"key": "session_token",
													"value": "<API Key>"
												}
											]
										}
									},
									"status": "OK",
									"code": 200,
									"_postman_previewlanguage": "json",
									"header": [
										{
											"key": "Content-Type",
											"value": "application/json"
										}
									],
									"cookie": [],
									"body": "{\n \"statusCode\": \"<integer>\",\n \"statusDescriptions\": \"<string>\",\n \"data\": {\n  \"company_id\": \"<long>\",\n  \"client_email\": \"<email>\",\n  \"client_name\": \"<string>\",\n  \"service_id\": \"<long>\",\n  \"start_date\": \"<string>\",\n  \"id\": \"<long>\",\n  \"client_id\": \"<long>\",\n  \"client_phone\": \"<string>\",\n  \"client_address\": \"<string>\",\n  \"employee_id\": \"<long>\",\n  \"location_id\": \"<long>\",\n  \"end_date\": \"<string>\",\n  \"length\": \"<integer>\",\n  \"duration_padding\": 0,\n  \"note\": \"<string>\",\n  \"status\": \"<integer>\",\n  \"type\": \"<string>\",\n  \"last_updated\": \"<dateTime>\",\n  \"created_at\": \"<dateTime>\",\n  \"subservices\": \"<string>\",\n  \"paid\": false,\n  \"price\": 0,\n  \"ews_id\": \"\",\n  \"custom_fields\": \"<object>\",\n  \"timezone_short\": \"<string>\",\n  \"timezone_offset_seconds\": \"<integer>\",\n  \"timezone_id\": \"<integer>\"\n }\n}"
								},
								{
									"name": "The appointment can not be created",
									"originalRequest": {
										"method": "POST",
										"header": [],
										"body": {
											"mode": "raw",
											"raw": "{\n    \"data\": {\n        \"company_id\": \"<long>\",\n        \"client_email\": \"<email>\",\n        \"client_name\": \"<string>\",\n        \"service_id\": \"<long>\",\n        \"start_date\": \"<string>\",\n        \"client_phone\": \"<string>\",\n        \"client_address\": \"<string>\",\n        \"employee_id\": \"<long>\",\n        \"location_id\": \"<long>\",\n        \"duration\": 15,\n        \"note\": \"<string>\",\n        \"status\": \"<integer>\",\n        \"subservices\": \"<string>\",\n        \"paid\": false,\n        \"price\": 0,\n        \"ews_id\": \"\",\n        \"custom_fields\": \"<object>\",\n        \"timezone_id\": \"<integer>\"\n    }\n}"
										},
										"url": {
											"raw": "{{baseUrl}}/appointment?session_token=<API Key>",
											"host": [
												"{{baseUrl}}"
											],
											"path": [
												"appointment"
											],
											"query": [
												{
													"key": "session_token",
													"value": "<API Key>"
												}
											]
										}
									},
									"status": "Forbidden",
									"code": 403,
									"_postman_previewlanguage": "json",
									"header": [
										{
											"key": "Content-Type",
											"value": "application/json"
										}
									],
									"cookie": [],
									"body": "{\n \"statusCode\": \"<integer>\",\n \"statusDescriptions\": \"<string>\",\n \"data\": \"<object>\"\n}"
								}
							]
						},
						{
							"name": "List appointments  (Paginated)",
							"request": {
								"auth": {
									"type": "apikey",
									"apikey": [
										{
											"key": "value",
											"value": "{{SESSION_TOKEN}}",
											"type": "string"
										},
										{
											"key": "key",
											"value": "session_token",
											"type": "string"
										},
										{
											"key": "in",
											"value": "query",
											"type": "string"
										}
									]
								},
								"method": "GET",
								"header": [],
								"url": {
									"raw": "{{baseUrl}}/appointment/listView?location_id=0&employee_id=0&skip=0&count=10&q=&start_date=&company_id={{company_id}}",
									"host": [
										"{{baseUrl}}"
									],
									"path": [
										"appointment",
										"listView"
									],
									"query": [
										{
											"key": "location_id",
											"value": "0",
											"description": "Location ID"
										},
										{
											"key": "employee_id",
											"value": "0",
											"description": "Employee ID"
										},
										{
											"key": "skip",
											"value": "0",
											"description": "The number of results to skip"
										},
										{
											"key": "count",
											"value": "10",
											"description": "The number of results to return"
										},
										{
											"key": "q",
											"value": "",
											"description": "Search query"
										},
										{
											"key": "start_date",
											"value": "",
											"description": "Start date"
										},
										{
											"key": "company_id",
											"value": "{{company_id}}"
										}
									]
								},
								"description": "Get a list of appointments and their attributes in a paginated format. Requires multiple calls."
							},
							"response": [
								{
									"name": "successful operation",
									"originalRequest": {
										"method": "GET",
										"header": [],
										"url": {
											"raw": "{{baseUrl}}/appointment/listView?location_id=0&employee_id=0&skip=0&count=10&q=&start_date=&session_token=<API Key>",
											"host": [
												"{{baseUrl}}"
											],
											"path": [
												"appointment",
												"listView"
											],
											"query": [
												{
													"key": "location_id",
													"value": "0"
												},
												{
													"key": "employee_id",
													"value": "0"
												},
												{
													"key": "skip",
													"value": "0"
												},
												{
													"key": "count",
													"value": "10"
												},
												{
													"key": "q",
													"value": ""
												},
												{
													"key": "start_date",
													"value": ""
												},
												{
													"key": "session_token",
													"value": "<API Key>"
												}
											]
										}
									},
									"status": "OK",
									"code": 200,
									"_postman_previewlanguage": "json",
									"header": [
										{
											"key": "Content-Type",
											"value": "application/json"
										}
									],
									"cookie": [],
									"body": "{\n \"statusCode\": \"<integer>\",\n \"statusDescriptions\": \"<string>\",\n \"data\": {\n  \"results\": [\n   {\n    \"company_id\": \"<long>\",\n    \"client_email\": \"<email>\",\n    \"client_name\": \"<string>\",\n    \"service_id\": \"<long>\",\n    \"start_date\": \"<string>\",\n    \"id\": \"<long>\",\n    \"client_id\": \"<long>\",\n    \"client_phone\": \"<string>\",\n    \"client_address\": \"<string>\",\n    \"employee_id\": \"<long>\",\n    \"location_id\": \"<long>\",\n    \"end_date\": \"<string>\",\n    \"length\": \"<integer>\",\n    \"duration_padding\": 0,\n    \"note\": \"<string>\",\n    \"status\": \"<integer>\",\n    \"type\": \"<string>\",\n    \"last_updated\": \"<dateTime>\",\n    \"created_at\": \"<dateTime>\",\n    \"subservices\": \"<string>\",\n    \"paid\": false,\n    \"price\": 0,\n    \"ews_id\": \"\",\n    \"custom_fields\": \"<object>\",\n    \"timezone_short\": \"<string>\",\n    \"timezone_offset_seconds\": \"<integer>\",\n    \"timezone_id\": \"<integer>\"\n   },\n   {\n    \"company_id\": \"<long>\",\n    \"client_email\": \"<email>\",\n    \"client_name\": \"<string>\",\n    \"service_id\": \"<long>\",\n    \"start_date\": \"<string>\",\n    \"id\": \"<long>\",\n    \"client_id\": \"<long>\",\n    \"client_phone\": \"<string>\",\n    \"client_address\": \"<string>\",\n    \"employee_id\": \"<long>\",\n    \"location_id\": \"<long>\",\n    \"end_date\": \"<string>\",\n    \"length\": \"<integer>\",\n    \"duration_padding\": 0,\n    \"note\": \"<string>\",\n    \"status\": \"<integer>\",\n    \"type\": \"<string>\",\n    \"last_updated\": \"<dateTime>\",\n    \"created_at\": \"<dateTime>\",\n    \"subservices\": \"<string>\",\n    \"paid\": false,\n    \"price\": 0,\n    \"ews_id\": \"\",\n    \"custom_fields\": \"<object>\",\n    \"timezone_short\": \"<string>\",\n    \"timezone_offset_seconds\": \"<integer>\",\n    \"timezone_id\": \"<integer>\"\n   }\n  ],\n  \"last_rows\": \"<integer>\"\n }\n}"
								}
							]
						},
						{
							"name": "Verify appointment",
							"request": {
								"auth": {
									"type": "apikey",
									"apikey": [
										{
											"key": "value",
											"value": "{{SESSION_TOKEN}}",
											"type": "string"
										},
										{
											"key": "key",
											"value": "session_token",
											"type": "string"
										},
										{
											"key": "in",
											"value": "query",
											"type": "string"
										}
									]
								},
								"method": "POST",
								"header": [
									{
										"key": "Content-Type",
										"value": "application/json"
									}
								],
								"body": {
									"mode": "raw",
									"raw": "{\n    \"appointment_id\": \"<integer>\"\n}"
								},
								"url": {
									"raw": "{{baseUrl}}/appointment/verify?company_id={{company_id}}",
									"host": [
										"{{baseUrl}}"
									],
									"path": [
										"appointment",
										"verify"
									],
									"query": [
										{
											"key": "company_id",
											"value": "{{company_id}}"
										}
									]
								},
								"description": "Using this endpoint you can verify an appointment. This will initiate the verification system of an appointment. The client for that appointment will receive a “Verification required” email which will guide him in the verification process. "
							},
							"response": [
								{
									"name": "successful operation",
									"originalRequest": {
										"method": "POST",
										"header": [],
										"body": {
											"mode": "raw",
											"raw": "{\n    \"appointment_id\": \"<integer>\"\n}"
										},
										"url": {
											"raw": "{{baseUrl}}/appointment/verify?session_token=<API Key>",
											"host": [
												"{{baseUrl}}"
											],
											"path": [
												"appointment",
												"verify"
											],
											"query": [
												{
													"key": "session_token",
													"value": "<API Key>"
												}
											]
										}
									},
									"status": "OK",
									"code": 200,
									"_postman_previewlanguage": "json",
									"header": [
										{
											"key": "Content-Type",
											"value": "application/json"
										}
									],
									"cookie": [],
									"body": "{\n \"statusCode\": \"<integer>\",\n \"statusDescriptions\": \"<string>\",\n \"data\": {\n  \"company_id\": \"<long>\",\n  \"client_email\": \"<email>\",\n  \"client_name\": \"<string>\",\n  \"service_id\": \"<long>\",\n  \"start_date\": \"<string>\",\n  \"id\": \"<long>\",\n  \"client_id\": \"<long>\",\n  \"client_phone\": \"<string>\",\n  \"client_address\": \"<string>\",\n  \"employee_id\": \"<long>\",\n  \"location_id\": \"<long>\",\n  \"end_date\": \"<string>\",\n  \"length\": \"<integer>\",\n  \"duration_padding\": 0,\n  \"note\": \"<string>\",\n  \"status\": \"<integer>\",\n  \"type\": \"<string>\",\n  \"last_updated\": \"<dateTime>\",\n  \"created_at\": \"<dateTime>\",\n  \"subservices\": \"<string>\",\n  \"paid\": false,\n  \"price\": 0,\n  \"ews_id\": \"\",\n  \"custom_fields\": \"<object>\",\n  \"timezone_short\": \"<string>\",\n  \"timezone_offset_seconds\": \"<integer>\",\n  \"timezone_id\": \"<integer>\"\n }\n}"
								}
							]
						},
						{
							"name": "Confirm appointment",
							"request": {
								"auth": {
									"type": "apikey",
									"apikey": [
										{
											"key": "value",
											"value": "{{SESSION_TOKEN}}",
											"type": "string"
										},
										{
											"key": "key",
											"value": "session_token",
											"type": "string"
										},
										{
											"key": "in",
											"value": "query",
											"type": "string"
										}
									]
								},
								"method": "POST",
								"header": [
									{
										"key": "Content-Type",
										"value": "application/json"
									}
								],
								"body": {
									"mode": "raw",
									"raw": "{\n    \"appointment_id\": \"<integer>\"\n}"
								},
								"url": {
									"raw": "{{baseUrl}}/appointment/confirm?company_id={{company_id}}",
									"host": [
										"{{baseUrl}}"
									],
									"path": [
										"appointment",
										"confirm"
									],
									"query": [
										{
											"key": "company_id",
											"value": "{{company_id}}"
										}
									]
								},
								"description": "Confirm an existing appointment. View appointment status for definitions of available statuses.\n\n<div class='ui grey icon message'>\n<div class='content'>\n  <div class=\"header\">\n  <i class='small paper plane outline\n icon'>\n </i>\n Triggers Client Notification\n</div>\n <p>By default triggers an email and SMS if configured. <a href=\"https://support.setster.com/hc/en-us/sections/360004456154-Email-and-SMS-Notifications\" target=\"_blank\" style=\"color: #636d82 !important\">Learn More</a></p></div></div>\n"
							},
							"response": [
								{
									"name": "successful operation",
									"originalRequest": {
										"method": "POST",
										"header": [],
										"body": {
											"mode": "raw",
											"raw": "{\n    \"appointment_id\": \"<integer>\"\n}"
										},
										"url": {
											"raw": "{{baseUrl}}/appointment/confirm?session_token=<API Key>",
											"host": [
												"{{baseUrl}}"
											],
											"path": [
												"appointment",
												"confirm"
											],
											"query": [
												{
													"key": "session_token",
													"value": "<API Key>"
												}
											]
										}
									},
									"status": "OK",
									"code": 200,
									"_postman_previewlanguage": "json",
									"header": [
										{
											"key": "Content-Type",
											"value": "application/json"
										}
									],
									"cookie": [],
									"body": "{\n \"statusCode\": \"<integer>\",\n \"statusDescriptions\": \"<string>\",\n \"data\": {\n  \"company_id\": \"<long>\",\n  \"client_email\": \"<email>\",\n  \"client_name\": \"<string>\",\n  \"service_id\": \"<long>\",\n  \"start_date\": \"<string>\",\n  \"id\": \"<long>\",\n  \"client_id\": \"<long>\",\n  \"client_phone\": \"<string>\",\n  \"client_address\": \"<string>\",\n  \"employee_id\": \"<long>\",\n  \"location_id\": \"<long>\",\n  \"end_date\": \"<string>\",\n  \"length\": \"<integer>\",\n  \"duration_padding\": 0,\n  \"note\": \"<string>\",\n  \"status\": \"<integer>\",\n  \"type\": \"<string>\",\n  \"last_updated\": \"<dateTime>\",\n  \"created_at\": \"<dateTime>\",\n  \"subservices\": \"<string>\",\n  \"paid\": false,\n  \"price\": 0,\n  \"ews_id\": \"\",\n  \"custom_fields\": \"<object>\",\n  \"timezone_short\": \"<string>\",\n  \"timezone_offset_seconds\": \"<integer>\",\n  \"timezone_id\": \"<integer>\"\n }\n}"
								}
							]
						},
						{
							"name": "Decline appointment",
							"request": {
								"auth": {
									"type": "apikey",
									"apikey": [
										{
											"key": "value",
											"value": "{{SESSION_TOKEN}}",
											"type": "string"
										},
										{
											"key": "key",
											"value": "session_token",
											"type": "string"
										},
										{
											"key": "in",
											"value": "query",
											"type": "string"
										}
									]
								},
								"method": "POST",
								"header": [
									{
										"key": "Content-Type",
										"value": "application/json"
									}
								],
								"body": {
									"mode": "raw",
									"raw": "{\n    \"appointment_id\": \"<integer>\",\n    \"reason\": \"<string>\"\n}"
								},
								"url": {
									"raw": "{{baseUrl}}/appointment/decline?company_id={{company_id}}",
									"host": [
										"{{baseUrl}}"
									],
									"path": [
										"appointment",
										"decline"
									],
									"query": [
										{
											"key": "company_id",
											"value": "{{company_id}}"
										}
									]
								},
								"description": "Decline an existing appointment. View appointment status for definitions of available statuses.\n\n<div class='ui grey icon message'>\n<div class='content'>\n  <div class=\"header\">\n  <i class='small paper plane outline\n icon'>\n </i>\n Triggers Client Notification\n</div>\n <p>By default triggers an email and SMS if configured. <a href=\"https://support.setster.com/hc/en-us/sections/360004456154-Email-and-SMS-Notifications\" target=\"_blank\" style=\"color: #636d82 !important\">Learn More</a></p></div></div>\n"
							},
							"response": [
								{
									"name": "successful operation",
									"originalRequest": {
										"method": "POST",
										"header": [],
										"body": {
											"mode": "raw",
											"raw": "{\n    \"appointment_id\": \"<integer>\",\n    \"reason\": \"<string>\"\n}"
										},
										"url": {
											"raw": "{{baseUrl}}/appointment/decline?session_token=<API Key>",
											"host": [
												"{{baseUrl}}"
											],
											"path": [
												"appointment",
												"decline"
											],
											"query": [
												{
													"key": "session_token",
													"value": "<API Key>"
												}
											]
										}
									},
									"status": "OK",
									"code": 200,
									"_postman_previewlanguage": "json",
									"header": [
										{
											"key": "Content-Type",
											"value": "application/json"
										}
									],
									"cookie": [],
									"body": "{\n \"statusCode\": \"<integer>\",\n \"statusDescriptions\": \"<string>\",\n \"data\": {\n  \"company_id\": \"<long>\",\n  \"client_email\": \"<email>\",\n  \"client_name\": \"<string>\",\n  \"service_id\": \"<long>\",\n  \"start_date\": \"<string>\",\n  \"id\": \"<long>\",\n  \"client_id\": \"<long>\",\n  \"client_phone\": \"<string>\",\n  \"client_address\": \"<string>\",\n  \"employee_id\": \"<long>\",\n  \"location_id\": \"<long>\",\n  \"end_date\": \"<string>\",\n  \"length\": \"<integer>\",\n  \"duration_padding\": 0,\n  \"note\": \"<string>\",\n  \"status\": \"<integer>\",\n  \"type\": \"<string>\",\n  \"last_updated\": \"<dateTime>\",\n  \"created_at\": \"<dateTime>\",\n  \"subservices\": \"<string>\",\n  \"paid\": false,\n  \"price\": 0,\n  \"ews_id\": \"\",\n  \"custom_fields\": \"<object>\",\n  \"timezone_short\": \"<string>\",\n  \"timezone_offset_seconds\": \"<integer>\",\n  \"timezone_id\": \"<integer>\"\n }\n}"
								}
							]
						},
						{
							"name": "List all upcoming appointments",
							"request": {
								"auth": {
									"type": "apikey",
									"apikey": [
										{
											"key": "value",
											"value": "{{SESSION_TOKEN}}",
											"type": "string"
										},
										{
											"key": "key",
											"value": "session_token",
											"type": "string"
										},
										{
											"key": "in",
											"value": "query",
											"type": "string"
										}
									]
								},
								"method": "GET",
								"header": [],
								"url": {
									"raw": "{{baseUrl}}/appointment/upcoming?skip=<integer>&count=<integer>&company_id={{company_id}}",
									"host": [
										"{{baseUrl}}"
									],
									"path": [
										"appointment",
										"upcoming"
									],
									"query": [
										{
											"key": "skip",
											"value": "<integer>"
										},
										{
											"key": "count",
											"value": "<integer>"
										},
										{
											"key": "company_id",
											"value": "{{company_id}}"
										}
									]
								},
								"description": "List all existing future/upcoming appointments. Future appointments have a start date and time after the API call's date and time.\nThis returns appointments with the statuses Unverified, Unconfirmed, and Confirmed only—view appointment status for definitions of available statuses."
							},
							"response": [
								{
									"name": "successful operation",
									"originalRequest": {
										"method": "GET",
										"header": [],
										"url": {
											"raw": "{{baseUrl}}/appointment/upcoming?skip=<integer>&count=<integer>&session_token=<API Key>",
											"host": [
												"{{baseUrl}}"
											],
											"path": [
												"appointment",
												"upcoming"
											],
											"query": [
												{
													"key": "skip",
													"value": "<integer>"
												},
												{
													"key": "count",
													"value": "<integer>"
												},
												{
													"key": "session_token",
													"value": "<API Key>"
												}
											]
										}
									},
									"status": "OK",
									"code": 200,
									"_postman_previewlanguage": "json",
									"header": [
										{
											"key": "Content-Type",
											"value": "application/json"
										}
									],
									"cookie": [],
									"body": "{\n \"statusCode\": \"<integer>\",\n \"statusDescriptions\": \"<string>\",\n \"data\": {\n  \"last_rows\": \"<boolean>\",\n  \"records\": [\n   {\n    \"company_id\": \"<long>\",\n    \"client_email\": \"<email>\",\n    \"client_name\": \"<string>\",\n    \"service_id\": \"<long>\",\n    \"start_date\": \"<string>\",\n    \"id\": \"<long>\",\n    \"client_id\": \"<long>\",\n    \"client_phone\": \"<string>\",\n    \"client_address\": \"<string>\",\n    \"employee_id\": \"<long>\",\n    \"location_id\": \"<long>\",\n    \"end_date\": \"<string>\",\n    \"length\": \"<integer>\",\n    \"duration_padding\": 0,\n    \"note\": \"<string>\",\n    \"status\": \"<integer>\",\n    \"type\": \"<string>\",\n    \"last_updated\": \"<dateTime>\",\n    \"created_at\": \"<dateTime>\",\n    \"subservices\": \"<string>\",\n    \"paid\": false,\n    \"price\": 0,\n    \"ews_id\": \"\",\n    \"custom_fields\": \"<object>\",\n    \"timezone_short\": \"<string>\",\n    \"timezone_offset_seconds\": \"<integer>\",\n    \"timezone_id\": \"<integer>\"\n   },\n   {\n    \"company_id\": \"<long>\",\n    \"client_email\": \"<email>\",\n    \"client_name\": \"<string>\",\n    \"service_id\": \"<long>\",\n    \"start_date\": \"<string>\",\n    \"id\": \"<long>\",\n    \"client_id\": \"<long>\",\n    \"client_phone\": \"<string>\",\n    \"client_address\": \"<string>\",\n    \"employee_id\": \"<long>\",\n    \"location_id\": \"<long>\",\n    \"end_date\": \"<string>\",\n    \"length\": \"<integer>\",\n    \"duration_padding\": 0,\n    \"note\": \"<string>\",\n    \"status\": \"<integer>\",\n    \"type\": \"<string>\",\n    \"last_updated\": \"<dateTime>\",\n    \"created_at\": \"<dateTime>\",\n    \"subservices\": \"<string>\",\n    \"paid\": false,\n    \"price\": 0,\n    \"ews_id\": \"\",\n    \"custom_fields\": \"<object>\",\n    \"timezone_short\": \"<string>\",\n    \"timezone_offset_seconds\": \"<integer>\",\n    \"timezone_id\": \"<integer>\"\n   }\n  ]\n }\n}"
								}
							]
						},
						{
							"name": "Get hash key for an appointment",
							"request": {
								"auth": {
									"type": "apikey",
									"apikey": [
										{
											"key": "value",
											"value": "{{SESSION_TOKEN}}",
											"type": "string"
										},
										{
											"key": "key",
											"value": "session_token",
											"type": "string"
										},
										{
											"key": "in",
											"value": "query",
											"type": "string"
										}
									]
								},
								"method": "GET",
								"header": [],
								"url": {
									"raw": "{{baseUrl}}/appointment/hash/:id?hash_type=reschedule&company_id={{company_id}}",
									"host": [
										"{{baseUrl}}"
									],
									"path": [
										"appointment",
										"hash",
										":id"
									],
									"query": [
										{
											"key": "hash_type",
											"value": "reschedule"
										},
										{
											"key": "company_id",
											"value": "{{company_id}}"
										}
									],
									"variable": [
										{
											"key": "id",
											"value": "<integer>",
											"description": "(Required) "
										}
									]
								},
								"description": "Get the hash key for an existing appointment."
							},
							"response": [
								{
									"name": "successful operation",
									"originalRequest": {
										"method": "GET",
										"header": [],
										"url": {
											"raw": "{{baseUrl}}/appointment/hash/:id?hash_type=reschedule&session_token=<API Key>",
											"host": [
												"{{baseUrl}}"
											],
											"path": [
												"appointment",
												"hash",
												":id"
											],
											"query": [
												{
													"key": "hash_type",
													"value": "reschedule"
												},
												{
													"key": "session_token",
													"value": "<API Key>"
												}
											],
											"variable": [
												{
													"key": "id"
												}
											]
										}
									},
									"status": "OK",
									"code": 200,
									"_postman_previewlanguage": "json",
									"header": [
										{
											"key": "Content-Type",
											"value": "application/json"
										}
									],
									"cookie": [],
									"body": "{\n \"statusCode\": \"<integer>\",\n \"statusDescriptions\": \"<string>\",\n \"data\": \"<string>\"\n}"
								}
							]
						},
						{
							"name": "Send reminder for appointment",
							"request": {
								"auth": {
									"type": "apikey",
									"apikey": [
										{
											"key": "value",
											"value": "{{SESSION_TOKEN}}",
											"type": "string"
										},
										{
											"key": "key",
											"value": "session_token",
											"type": "string"
										},
										{
											"key": "in",
											"value": "query",
											"type": "string"
										}
									]
								},
								"method": "POST",
								"header": [
									{
										"key": "Content-Type",
										"value": "application/json"
									}
								],
								"body": {
									"mode": "raw",
									"raw": "{\n    \"appointment_id\": \"<integer>\",\n    \"send_to\": \"both\"\n}"
								},
								"url": {
									"raw": "{{baseUrl}}/appointment/sendReminder?company_id={{company_id}}",
									"host": [
										"{{baseUrl}}"
									],
									"path": [
										"appointment",
										"sendReminder"
									],
									"query": [
										{
											"key": "company_id",
											"value": "{{company_id}}"
										}
									]
								},
								"description": "Trigger an a reminder email and SMS (if configured) for a specific appointment.\n\n<div class='ui grey icon message'>\n<div class='content'>\n  <div class=\"header\">\n  <i class='small paper plane outline\n icon'>\n </i>\n Triggers Client Notification\n</div>\n <p>By default triggers an email and SMS if configured. <a href=\"https://support.setster.com/hc/en-us/sections/360004456154-Email-and-SMS-Notifications\" target=\"_blank\" style=\"color: #636d82 !important\">Learn More</a></p></div></div>\n"
							},
							"response": [
								{
									"name": "successful operation",
									"originalRequest": {
										"method": "POST",
										"header": [],
										"body": {
											"mode": "raw",
											"raw": "{\n    \"appointment_id\": \"<integer>\",\n    \"send_to\": \"both\"\n}"
										},
										"url": {
											"raw": "{{baseUrl}}/appointment/sendReminder?session_token=<API Key>",
											"host": [
												"{{baseUrl}}"
											],
											"path": [
												"appointment",
												"sendReminder"
											],
											"query": [
												{
													"key": "session_token",
													"value": "<API Key>"
												}
											]
										}
									},
									"status": "OK",
									"code": 200,
									"_postman_previewlanguage": "json",
									"header": [
										{
											"key": "Content-Type",
											"value": "application/json"
										}
									],
									"cookie": [],
									"body": "{\n \"statusCode\": \"<integer>\",\n \"statusDescriptions\": \"<string>\",\n \"data\": \"<object>\"\n}"
								}
							]
						}
					]
				}
			]
		},
		{
			"name": "Webhooks",
			"item": [
				{
					"name": "Guide",
					"item": [
						{
							"name": "1. Authenticate",
							"item": [
								{
									"name": "Authenticate Get Session Token",
									"event": [
										{
											"listen": "test",
											"script": {
												"exec": [
													"var jsonData = JSON.parse(responseBody);",
													"pm.collectionVariables.set(\"SESSION_TOKEN\", jsonData.data.session_token);",
													"pm.collectionVariables.set(\"company_id\", jsonData.data.user.company_id);",
													"",
													"",
													""
												],
												"type": "text/javascript"
											}
										}
									],
									"request": {
										"method": "POST",
										"header": [],
										"url": {
											"raw": "{{baseUrl}}/account/authenticate?email={{email}}&token={{API_TOKEN}}&company_id={{company_id}}",
											"host": [
												"{{baseUrl}}"
											],
											"path": [
												"account",
												"authenticate"
											],
											"query": [
												{
													"key": "email",
													"value": "{{email}}",
													"description": "(Required) Account owner email address"
												},
												{
													"key": "token",
													"value": "{{API_TOKEN}}",
													"description": "(Required) API key"
												},
												{
													"key": "company_id",
													"value": "{{company_id}}"
												}
											]
										},
										"description": "The first step to using the Setster API is to authenticate. \nAuthentication is done using your secret API Key and the account-owner email. \nIn the returned response, the session_token should be used for all consecutive API calls. \nPlease note the session, and the session_token expires periodically, and re-authentication will be required. We recommended you follow standard practices and develop an authentication methodology within your application to keep the connection open."
									},
									"response": [
										{
											"name": "successful operation",
											"originalRequest": {
												"method": "POST",
												"header": [],
												"url": {
													"raw": "{{baseUrl}}/account/authenticate?email=<email>&token=<string>",
													"host": [
														"{{baseUrl}}"
													],
													"path": [
														"account",
														"authenticate"
													],
													"query": [
														{
															"key": "email",
															"value": "<email>"
														},
														{
															"key": "token",
															"value": "<string>"
														}
													]
												}
											},
											"status": "OK",
											"code": 200,
											"_postman_previewlanguage": "json",
											"header": [
												{
													"key": "Content-Type",
													"value": "application/json"
												}
											],
											"cookie": [],
											"body": "{\n \"statusCode\": \"<integer>\",\n \"statusDescriptions\": \"<string>\",\n \"data\": {\n  \"user\": {\n   \"id\": \"<integer>\",\n   \"company_id\": \"<integer>\",\n   \"account_type\": \"<integer>\",\n   \"enable_locations\": \"<boolean>\",\n   \"intuit_user_id\": \"<integer>\",\n   \"nick_name\": \"<string>\",\n   \"is_owner\": \"<boolean>\",\n   \"enabled\": \"<boolean>\"\n  },\n  \"session_token\": \"<string>\"\n }\n}"
										},
										{
											"name": "Account is not active or Incorrect API key",
											"originalRequest": {
												"method": "POST",
												"header": [],
												"url": {
													"raw": "{{baseUrl}}/account/authenticate?email=<email>&token=<string>",
													"host": [
														"{{baseUrl}}"
													],
													"path": [
														"account",
														"authenticate"
													],
													"query": [
														{
															"key": "email",
															"value": "<email>"
														},
														{
															"key": "token",
															"value": "<string>"
														}
													]
												}
											},
											"status": "Unauthorized",
											"code": 401,
											"_postman_previewlanguage": "json",
											"header": [
												{
													"key": "Content-Type",
													"value": "application/json"
												}
											],
											"cookie": [],
											"body": "{\n \"statusCode\": \"<integer>\",\n \"statusDescriptions\": \"<string>\",\n \"data\": \"<object>\"\n}"
										}
									]
								}
							]
						},
						{
							"name": "2. Create Webhook Flow",
							"item": [
								{
									"name": "Appointment Created",
									"item": [
										{
											"name": "1. Test Target Url",
											"item": [
												{
													"name": "Test Target Url",
													"event": [
														{
															"listen": "test",
															"script": {
																"exec": [
																	"pm.test('Status received is ' + pm.response.code, function() {",
																	"    pm.expect(pm.response.code).to.be.oneOf([200,201,202]);",
																	"});"
																],
																"type": "text/javascript"
															}
														}
													],
													"request": {
														"method": "POST",
														"header": [
															{
																"key": "setster-verification-key",
																"value": "testkey1234567891234567891234567",
																"description": "Will be return from creating a webhook POST request",
																"type": "text"
															},
															{
																"key": "setster-event-type",
																"value": "appointment.created",
																"type": "text"
															}
														],
														"body": {
															"mode": "raw",
															"raw": "{\n    \"client_street1\": \"{{$randomStreetAddress}}\",\n    \"client_street2\": \"\",\n    \"client_city\": \"{{$randomCity}}\",\n    \"client_state\": \"CA\",\n    \"client_zip\": \"90048\",\n    \"client_country\": \"{{$randomCountryCode}}\",\n    \"client_email\": \"ironman@setster.com\",\n    \"client_id\": \"12345\",\n    \"client_name\": \"{{$randomFullName}}\",\n    \"client_phone\": \"{{$randomPhoneNumber}}\",\n    \"custom_fields\": \"{\\\"1\\\":[\\\"(555) 555-5555\\\",\\\"Phone\\\"],\\\"2\\\":[null,\\\"Address\\\"]}\",\n    \"custom_data\": \"{\\\"phone_70104\\\":\\\"(555) 555-5555\\\",\\\"address_70105\\\":null}\",\n    \"created_at\": \"2021-02-09T11:14:10-08:00\",\n    \"employee_id\": \"12345\",\n    \"end_date\": \"2021-02-11T14:00:00-08:00\",\n    \"id\": \"12345678912\",\n    \"last_updated\": \"2021-02-09T11:17:20-08:00\",\n    \"location_id\": \"12345\",\n    \"location_name\": \"Location 1\",\n    \"note\": \"\",\n    \"paid\": false,\n    \"price\": \"0.00\",\n    \"provider_name\": \"Captain Marvel\",\n    \"provider_phone\": \"{{$randomPhoneNumber}}\",\n    \"service_id\": \"12345\",\n    \"service_name\": \"Service 1\",\n    \"start_date\": \"2021-02-11T12:00:00-08:00\",\n    \"status\": \"Confirmed\",\n    \"subservices\": \"\",\n    \"timezone_id\": \"553\",\n    \"duration\": \"2:0:0\",\n    \"client_full_address\": \"123 Road, #14, Los Angeles, CA, 90048, USA\",\n    \"start_date_friendly\": \"Thu, Feb 11th 2021, 12:00:00 PM (PST)\",\n    \"end_date_friendly\": \"Thu, Feb 11th 2021, 2:00:00 PM (PST)\",\n    \"created_at_friendly\": \"Tue, Feb 9th 2021, 11:14:10 AM (PST)\",\n    \"last_updated_friendly\": \"Tue, Feb 9th 2021, 11:17:20 AM (PST)\"\n}",
															"options": {
																"raw": {
																	"language": "json"
																}
															}
														},
														"url": {
															"raw": "{{webhook_target_url_created}}",
															"host": [
																"{{webhook_target_url_created}}"
															]
														}
													},
													"response": [
														{
															"name": "Webhook Event Data",
															"originalRequest": {
																"method": "POST",
																"header": [
																	{
																		"key": "setster-verification-key",
																		"value": "testkey1234567891234567891234567",
																		"type": "text"
																	},
																	{
																		"key": "setster-event-type",
																		"value": "appointment.created",
																		"type": "text"
																	}
																],
																"body": {
																	"mode": "raw",
																	"raw": "{\n  \"data\": {\n    \"company_id\": {{company_id}},\n    \"client_email\": \"{{client_email}}\",\n    \"client_name\": \"{{client_name}}\",\n    \"client_phone\": \"12345678\",\n    \"client_address\": \"string\",\n    \"employee_id\": {{employee_id}},\n    \"location_id\": {{location_id}},\n    \"service_id\": {{service_id}},\n    \"start_date\": \"{{start_date}} {{available_time}}\",\n    \"duration\": 0,\n    \"note\": \"string\",\n    \"status\": 0,\n    \"subservices\": \"string\",\n    \"paid\": false,\n    \"price\": 0,\n    \"ews_id\": \"string\",\n    \"custom_fields\": {\n      \"1\": [\n        \"(01512) 793246\",\n        \"Work Phone\"\n      ],\n      \"2\": [\n        [\n          \"201 S. Division St.\",\n          \"500\",\n          \"Ann Arbor\",\n          \"MI\",\n          \"48104\"\n        ],\n        \"Full Address\"\n      ],\n      \"3\": [\n        \"123ABC\",\n        \"Coupon Code\",\n        \"h\"\n      ]\n    },\n    \"timezone_id\": 553\n  }\n}\n",
																	"options": {
																		"raw": {
																			"language": "json"
																		}
																	}
																},
																"url": {
																	"raw": "{{baseUrl}}/appointment",
																	"host": [
																		"{{baseUrl}}"
																	],
																	"path": [
																		"appointment"
																	]
																}
															},
															"_postman_previewlanguage": "json",
															"header": [],
															"cookie": [],
															"body": "{\n    \"client_street1\": \"1111 Test Street\",\n    \"client_street2\": \"EQWE\",\n    \"client_city\": \"LA\",\n    \"client_state\": \"CA\",\n    \"client_zip\": \"300925\",\n    \"client_country\": \"USA\",\n    \"client_email\": \"test@setster.com\",\n    \"client_id\": \"1425851\",\n    \"client_name\": \"testtt\",\n    \"client_phone\": \"+40756250176\",\n    \"custom_fields\": \"{\\\"1\\\":[\\\"+40756250176\\\",\\\"Phone\\\"],\\\"2\\\":[[\\\"kjkjk\\\",\\\"l\\\",\\\"l\\\",\\\"kjl\\\",\\\"kj\\\"],\\\"Address\\\"]}\",\n    \"custom_data\": {\n        \"phone_41086\": \"+40756250176\",\n        \"address_70781\": {\n            \"street\": \"kjkjk\",\n            \"suite\": \"l\",\n            \"city\": \"l\",\n            \"state\": \"kjl\",\n            \"zip\": \"kj\"\n        }\n    },\n    \"created_at\": \"2021-03-10T11:47:20+02:00\",\n    \"employee_id\": \"12700\",\n    \"end_date\": \"2021-03-11T10:00:00+02:00\",\n    \"id\": \"19867165037\",\n    \"last_updated\": \"2021-03-10T11:47:23+02:00\",\n    \"location_id\": \"29322\",\n    \"location_name\": \"Location A\",\n    \"note\": \"lkjl\",\n    \"paid\": false,\n    \"price\": \"0.00\",\n    \"provider_name\": \"Provider A\",\n    \"provider_phone\": \"555-222-4546\",\n    \"service_id\": \"41523\",\n    \"service_name\": \"Service A\",\n    \"start_date\": \"2021-03-11T09:00:00+02:00\",\n    \"status\": \"Confirmed\",\n    \"subservices\": \"\",\n    \"timezone_id\": \"414\",\n    \"duration\": \"1:0:0\",\n    \"client_full_address\": \"kjkjk, l, l, kjl, kj, EQWE, LA, CA, 300925, USA\",\n    \"start_date_friendly\": \"Thu, Mar 11th 2021, 9:00:00 AM (EET)\",\n    \"end_date_friendly\": \"Thu, Mar 11th 2021, 10:00:00 AM (EET)\",\n    \"created_at_friendly\": \"Wed, Mar 10th 2021, 11:47:20 AM (EET)\",\n    \"last_updated_friendly\": \"Wed, Mar 10th 2021, 11:47:23 AM (EET)\"\n}"
														}
													]
												}
											]
										},
										{
											"name": "2. Create Webhook",
											"item": [
												{
													"name": "Create Webhook",
													"request": {
														"auth": {
															"type": "apikey",
															"apikey": [
																{
																	"key": "value",
																	"value": "{{SESSION_TOKEN}}",
																	"type": "string"
																},
																{
																	"key": "key",
																	"value": "session_token",
																	"type": "string"
																},
																{
																	"key": "in",
																	"value": "query",
																	"type": "string"
																}
															]
														},
														"method": "POST",
														"header": [
															{
																"key": "Content-Type",
																"value": "application/json"
															}
														],
														"body": {
															"mode": "raw",
															"raw": "{\"company_id\":{{company_id}},\"target_url\":\"{{webhook_target_url_created}}\",\"events\":[\"appointment.created\"],\"active\":1}",
															"options": {
																"raw": {
																	"language": "json"
																}
															}
														},
														"url": {
															"raw": "{{baseUrl}}/subscribe?company_id={{company_id}}",
															"host": [
																"{{baseUrl}}"
															],
															"path": [
																"subscribe"
															],
															"query": [
																{
																	"key": "company_id",
																	"value": "{{company_id}}"
																}
															]
														},
														"description": "Create a webHook"
													},
													"response": [
														{
															"name": "successful operation",
															"originalRequest": {
																"method": "POST",
																"header": [],
																"body": {
																	"mode": "urlencoded",
																	"urlencoded": [
																		{
																			"key": "data",
																			"value": "{\"company_id\":24232,\"target_url\":\"\",\"events\":[\"appointment.created\",\"appointment.created\"],\"active\":1}"
																		}
																	]
																},
																"url": {
																	"raw": "{{baseUrl}}/subscribe?session_token=<API Key>",
																	"host": [
																		"{{baseUrl}}"
																	],
																	"path": [
																		"subscribe"
																	],
																	"query": [
																		{
																			"key": "session_token",
																			"value": "<API Key>"
																		}
																	]
																}
															},
															"status": "Created",
															"code": 201,
															"_postman_previewlanguage": "json",
															"header": [
																{
																	"key": "Content-Type",
																	"value": "application/json"
																}
															],
															"cookie": [],
															"body": "{\n \"statusCode\": null,\n \"statusDescriptions\": \"OK\",\n \"data\": {\n  \"company_id\": 24232,\n  \"target_url\": \"\",\n  \"id\": 13425,\n  \"events\": [\n   {\n    \"id\": 13425,\n    \"event\": \"appointment.created\",\n    \"active\": 1,\n    \"created_at\": \"1953-08-31T05:07:01.204Z\"\n   },\n   {\n    \"id\": 13425,\n    \"event\": \"appointment.created\",\n    \"active\": 1,\n    \"created_at\": \"1994-01-11T13:41:48.763Z\"\n   }\n  ],\n  \"active\": 1,\n  \"verification_key\": \"est officia\",\n  \"created_at\": \"1969-08-08T00:35:43.863Z\",\n  \"updated_at\": \"1943-07-07T22:50:53.025Z\"\n }\n}"
														}
													]
												}
											]
										},
										{
											"name": "3. Test Webhook",
											"item": [
												{
													"name": "1. List Locations (Select Location)",
													"request": {
														"auth": {
															"type": "apikey",
															"apikey": [
																{
																	"key": "value",
																	"value": "{{SESSION_TOKEN}}",
																	"type": "string"
																},
																{
																	"key": "key",
																	"value": "session_token",
																	"type": "string"
																},
																{
																	"key": "in",
																	"value": "query",
																	"type": "string"
																}
															]
														},
														"method": "GET",
														"header": [],
														"url": {
															"raw": "{{baseUrl}}/location?company_id={{company_id}}",
															"host": [
																"{{baseUrl}}"
															],
															"path": [
																"location"
															],
															"query": [
																{
																	"key": "id",
																	"value": "<integer>",
																	"description": "Location ID",
																	"disabled": true
																},
																{
																	"key": "company_id",
																	"value": "{{company_id}}",
																	"description": "(Required) Company id"
																},
																{
																	"key": "name",
																	"value": "<string>",
																	"disabled": true
																},
																{
																	"key": "description",
																	"value": "<string>",
																	"disabled": true
																},
																{
																	"key": "street1",
																	"value": "<string>",
																	"disabled": true
																},
																{
																	"key": "street2",
																	"value": "<string>",
																	"disabled": true
																},
																{
																	"key": "city",
																	"value": "<string>",
																	"disabled": true
																},
																{
																	"key": "state",
																	"value": "<string>",
																	"disabled": true
																},
																{
																	"key": "zip",
																	"value": "<string>",
																	"disabled": true
																},
																{
																	"key": "phone",
																	"value": "<string>",
																	"disabled": true
																},
																{
																	"key": "email",
																	"value": "<string>",
																	"disabled": true
																},
																{
																	"key": "website",
																	"value": "<string>",
																	"disabled": true
																},
																{
																	"key": "lat",
																	"value": "<number>",
																	"disabled": true
																},
																{
																	"key": "lng",
																	"value": "<number>",
																	"disabled": true
																},
																{
																	"key": "country",
																	"value": "<string>",
																	"disabled": true
																},
																{
																	"key": "tags",
																	"value": "<string>",
																	"disabled": true
																},
																{
																	"key": "photo",
																	"value": "<string>",
																	"disabled": true
																},
																{
																	"key": "paypal_email",
																	"value": "<string>",
																	"disabled": true
																},
																{
																	"key": "timezone_id",
																	"value": "<integer>",
																	"description": "The timezone id",
																	"disabled": true
																},
																{
																	"key": "virtual",
																	"value": "<boolean>",
																	"disabled": true
																},
																{
																	"key": "tmp_default",
																	"value": "<boolean>",
																	"disabled": true
																},
																{
																	"key": "has_links",
																	"value": "<boolean>",
																	"disabled": true
																},
																{
																	"key": "include_links",
																	"value": "<boolean>",
																	"disabled": true
																}
															]
														},
														"description": "Get a list of all locations and their attributes."
													},
													"response": [
														{
															"name": "successful operation",
															"originalRequest": {
																"method": "GET",
																"header": [],
																"url": {
																	"raw": "{{baseUrl}}/location?id=<integer>&company_id=<integer>&name=<string>&description=<string>&street1=<string>&street2=<string>&city=<string>&state=<string>&zip=<string>&phone=<string>&email=<string>&website=<string>&lat=<number>&lng=<number>&country=<string>&tags=<string>&photo=<string>&paypal_email=<string>&timezone_id=<integer>&virtual=<boolean>&tmp_default=<boolean>&has_links=<boolean>&include_links=<boolean>&session_token=<API Key>",
																	"host": [
																		"{{baseUrl}}"
																	],
																	"path": [
																		"location"
																	],
																	"query": [
																		{
																			"key": "id",
																			"value": "<integer>"
																		},
																		{
																			"key": "company_id",
																			"value": "<integer>"
																		},
																		{
																			"key": "name",
																			"value": "<string>"
																		},
																		{
																			"key": "description",
																			"value": "<string>"
																		},
																		{
																			"key": "street1",
																			"value": "<string>"
																		},
																		{
																			"key": "street2",
																			"value": "<string>"
																		},
																		{
																			"key": "city",
																			"value": "<string>"
																		},
																		{
																			"key": "state",
																			"value": "<string>"
																		},
																		{
																			"key": "zip",
																			"value": "<string>"
																		},
																		{
																			"key": "phone",
																			"value": "<string>"
																		},
																		{
																			"key": "email",
																			"value": "<string>"
																		},
																		{
																			"key": "website",
																			"value": "<string>"
																		},
																		{
																			"key": "lat",
																			"value": "<number>"
																		},
																		{
																			"key": "lng",
																			"value": "<number>"
																		},
																		{
																			"key": "country",
																			"value": "<string>"
																		},
																		{
																			"key": "tags",
																			"value": "<string>"
																		},
																		{
																			"key": "photo",
																			"value": "<string>"
																		},
																		{
																			"key": "paypal_email",
																			"value": "<string>"
																		},
																		{
																			"key": "timezone_id",
																			"value": "<integer>"
																		},
																		{
																			"key": "virtual",
																			"value": "<boolean>"
																		},
																		{
																			"key": "tmp_default",
																			"value": "<boolean>"
																		},
																		{
																			"key": "has_links",
																			"value": "<boolean>"
																		},
																		{
																			"key": "include_links",
																			"value": "<boolean>"
																		},
																		{
																			"key": "session_token",
																			"value": "<API Key>"
																		}
																	]
																}
															},
															"status": "OK",
															"code": 200,
															"_postman_previewlanguage": "json",
															"header": [
																{
																	"key": "Content-Type",
																	"value": "application/json"
																}
															],
															"cookie": [],
															"body": "{\n \"statusCode\": \"<integer>\",\n \"statusDescriptions\": \"<string>\",\n \"data\": [\n  {\n   \"company_id\": \"<long>\",\n   \"name\": \"<string>\",\n   \"id\": \"<long>\",\n   \"description\": \"\",\n   \"is_main\": false,\n   \"virtual\": false,\n   \"street1\": \"<string>\",\n   \"street2\": \"<string>\",\n   \"city\": \"<string>\",\n   \"state\": \"<string>\",\n   \"zip\": \"<string>\",\n   \"country\": \"<string>\",\n   \"photo\": \"<uri>\",\n   \"phone\": \"\",\n   \"email\": \"<email>\",\n   \"website\": \"<uri>\",\n   \"tags\": \"\",\n   \"paypal_email\": \"<email>\",\n   \"timezone_id\": \"<string>\",\n   \"lat\": \"<float>\",\n   \"lng\": \"<float>\",\n   \"ord\": 0\n  },\n  {\n   \"company_id\": \"<long>\",\n   \"name\": \"<string>\",\n   \"id\": \"<long>\",\n   \"description\": \"\",\n   \"is_main\": false,\n   \"virtual\": false,\n   \"street1\": \"<string>\",\n   \"street2\": \"<string>\",\n   \"city\": \"<string>\",\n   \"state\": \"<string>\",\n   \"zip\": \"<string>\",\n   \"country\": \"<string>\",\n   \"photo\": \"<uri>\",\n   \"phone\": \"\",\n   \"email\": \"<email>\",\n   \"website\": \"<uri>\",\n   \"tags\": \"\",\n   \"paypal_email\": \"<email>\",\n   \"timezone_id\": \"<string>\",\n   \"lat\": \"<float>\",\n   \"lng\": \"<float>\",\n   \"ord\": 0\n  }\n ]\n}"
														}
													]
												},
												{
													"name": "2. List Employees (Select an Employee) - Optional",
													"request": {
														"auth": {
															"type": "apikey",
															"apikey": [
																{
																	"key": "value",
																	"value": "{{SESSION_TOKEN}}",
																	"type": "string"
																},
																{
																	"key": "key",
																	"value": "session_token",
																	"type": "string"
																},
																{
																	"key": "in",
																	"value": "query",
																	"type": "string"
																}
															]
														},
														"method": "GET",
														"header": [],
														"url": {
															"raw": "{{baseUrl}}/employee?company_id={{company_id}}",
															"host": [
																"{{baseUrl}}"
															],
															"path": [
																"employee"
															],
															"query": [
																{
																	"key": "id",
																	"value": "<integer>",
																	"description": "Employee id",
																	"disabled": true
																},
																{
																	"key": "company_id",
																	"value": "{{company_id}}",
																	"description": "(Required) Company id"
																},
																{
																	"key": "statuses",
																	"value": "<string>",
																	"description": "By default only active employees are returned. This filter allows to return all the employees, including the inactive ones",
																	"disabled": true
																},
																{
																	"key": "status",
																	"value": "<integer>",
																	"disabled": true
																},
																{
																	"key": "include_links",
																	"value": "<boolean>",
																	"disabled": true
																},
																{
																	"key": "email",
																	"value": "<string>",
																	"disabled": true
																},
																{
																	"key": "first_name",
																	"value": "<string>",
																	"disabled": true
																},
																{
																	"key": "last_name",
																	"value": "<string>",
																	"disabled": true
																},
																{
																	"key": "job",
																	"value": "<string>",
																	"disabled": true
																},
																{
																	"key": "bio",
																	"value": "<string>",
																	"disabled": true
																},
																{
																	"key": "phone",
																	"value": "<string>",
																	"disabled": true
																},
																{
																	"key": "photo_url",
																	"value": "<string>",
																	"disabled": true
																},
																{
																	"key": "public_email",
																	"value": "<boolean>",
																	"disabled": true
																},
																{
																	"key": "public_phone",
																	"value": "<boolean>",
																	"disabled": true
																},
																{
																	"key": "receivesms",
																	"value": "<boolean>",
																	"disabled": true
																},
																{
																	"key": "sms_email",
																	"value": "<string>",
																	"disabled": true
																},
																{
																	"key": "intuit_user_id",
																	"value": "<string>",
																	"disabled": true
																},
																{
																	"key": "ipp_mode",
																	"value": "<integer>",
																	"disabled": true
																},
																{
																	"key": "intuit_auth_id",
																	"value": "<string>",
																	"disabled": true
																},
																{
																	"key": "intuit_realm_id",
																	"value": "<string>",
																	"disabled": true
																},
																{
																	"key": "intuit_ticket_id",
																	"value": "<string>",
																	"disabled": true
																},
																{
																	"key": "newsletter",
																	"value": "<boolean>",
																	"disabled": true
																},
																{
																	"key": "is_owner",
																	"value": "<boolean>",
																	"disabled": true
																},
																{
																	"key": "ics_service",
																	"value": "<string>",
																	"disabled": true
																},
																{
																	"key": "ics_export_service",
																	"value": "<string>",
																	"disabled": true
																},
																{
																	"key": "ics_url",
																	"value": "<string>",
																	"disabled": true
																},
																{
																	"key": "ics_export_hash",
																	"value": "<string>",
																	"disabled": true
																},
																{
																	"key": "google_export_canceled",
																	"value": "<boolean>",
																	"disabled": true
																},
																{
																	"key": "google_export_add_pt",
																	"value": "<boolean>",
																	"disabled": true
																},
																{
																	"key": "username",
																	"value": "<string>",
																	"disabled": true
																},
																{
																	"key": "nickname",
																	"value": "<string>",
																	"disabled": true
																},
																{
																	"key": "linkedin",
																	"value": "<uri>",
																	"disabled": true
																},
																{
																	"key": "yelp",
																	"value": "<uri>",
																	"disabled": true
																},
																{
																	"key": "pinterest",
																	"value": "<uri>",
																	"disabled": true
																},
																{
																	"key": "vimeo",
																	"value": "<uri>",
																	"disabled": true
																},
																{
																	"key": "youtube",
																	"value": "<uri>",
																	"disabled": true
																},
																{
																	"key": "twitter",
																	"value": "<uri>",
																	"disabled": true
																},
																{
																	"key": "facebook",
																	"value": "<uri>",
																	"disabled": true
																}
															]
														},
														"description": "Get a list of all employees and their attributes."
													},
													"response": [
														{
															"name": "successful operation",
															"originalRequest": {
																"method": "GET",
																"header": [],
																"url": {
																	"raw": "{{baseUrl}}/employee?id=<integer>&company_id=<integer>&statuses=<string>&status=<integer>&include_links=<boolean>&email=<string>&first_name=<string>&last_name=<string>&job=<string>&bio=<string>&phone=<string>&photo_url=<string>&public_email=<boolean>&public_phone=<boolean>&receivesms=<boolean>&sms_email=<string>&intuit_user_id=<string>&ipp_mode=<integer>&intuit_auth_id=<string>&intuit_realm_id=<string>&intuit_ticket_id=<string>&newsletter=<boolean>&is_owner=<boolean>&ics_service=<string>&ics_export_service=<string>&ics_url=<string>&ics_export_hash=<string>&google_export_canceled=<boolean>&google_export_add_pt=<boolean>&username=<string>&nickname=<string>&linkedin=<uri>&yelp=<uri>&pinterest=<uri>&vimeo=<uri>&youtube=<uri>&twitter=<uri>&facebook=<uri>&session_token=<API Key>",
																	"host": [
																		"{{baseUrl}}"
																	],
																	"path": [
																		"employee"
																	],
																	"query": [
																		{
																			"key": "id",
																			"value": "<integer>"
																		},
																		{
																			"key": "company_id",
																			"value": "<integer>"
																		},
																		{
																			"key": "statuses",
																			"value": "<string>"
																		},
																		{
																			"key": "status",
																			"value": "<integer>"
																		},
																		{
																			"key": "include_links",
																			"value": "<boolean>"
																		},
																		{
																			"key": "email",
																			"value": "<string>"
																		},
																		{
																			"key": "first_name",
																			"value": "<string>"
																		},
																		{
																			"key": "last_name",
																			"value": "<string>"
																		},
																		{
																			"key": "job",
																			"value": "<string>"
																		},
																		{
																			"key": "bio",
																			"value": "<string>"
																		},
																		{
																			"key": "phone",
																			"value": "<string>"
																		},
																		{
																			"key": "photo_url",
																			"value": "<string>"
																		},
																		{
																			"key": "public_email",
																			"value": "<boolean>"
																		},
																		{
																			"key": "public_phone",
																			"value": "<boolean>"
																		},
																		{
																			"key": "receivesms",
																			"value": "<boolean>"
																		},
																		{
																			"key": "sms_email",
																			"value": "<string>"
																		},
																		{
																			"key": "intuit_user_id",
																			"value": "<string>"
																		},
																		{
																			"key": "ipp_mode",
																			"value": "<integer>"
																		},
																		{
																			"key": "intuit_auth_id",
																			"value": "<string>"
																		},
																		{
																			"key": "intuit_realm_id",
																			"value": "<string>"
																		},
																		{
																			"key": "intuit_ticket_id",
																			"value": "<string>"
																		},
																		{
																			"key": "newsletter",
																			"value": "<boolean>"
																		},
																		{
																			"key": "is_owner",
																			"value": "<boolean>"
																		},
																		{
																			"key": "ics_service",
																			"value": "<string>"
																		},
																		{
																			"key": "ics_export_service",
																			"value": "<string>"
																		},
																		{
																			"key": "ics_url",
																			"value": "<string>"
																		},
																		{
																			"key": "ics_export_hash",
																			"value": "<string>"
																		},
																		{
																			"key": "google_export_canceled",
																			"value": "<boolean>"
																		},
																		{
																			"key": "google_export_add_pt",
																			"value": "<boolean>"
																		},
																		{
																			"key": "username",
																			"value": "<string>"
																		},
																		{
																			"key": "nickname",
																			"value": "<string>"
																		},
																		{
																			"key": "linkedin",
																			"value": "<uri>"
																		},
																		{
																			"key": "yelp",
																			"value": "<uri>"
																		},
																		{
																			"key": "pinterest",
																			"value": "<uri>"
																		},
																		{
																			"key": "vimeo",
																			"value": "<uri>"
																		},
																		{
																			"key": "youtube",
																			"value": "<uri>"
																		},
																		{
																			"key": "twitter",
																			"value": "<uri>"
																		},
																		{
																			"key": "facebook",
																			"value": "<uri>"
																		},
																		{
																			"key": "session_token",
																			"value": "<API Key>"
																		}
																	]
																}
															},
															"status": "OK",
															"code": 200,
															"_postman_previewlanguage": "json",
															"header": [
																{
																	"key": "Content-Type",
																	"value": "application/json"
																}
															],
															"cookie": [],
															"body": "{\n \"statusCode\": \"<integer>\",\n \"statusDescriptions\": \"<string>\",\n \"data\": [\n  {\n   \"company_id\": \"<long>\",\n   \"email\": \"<email>\",\n   \"first_name\": \"<string>\",\n   \"last_name\": \"<string>\",\n   \"id\": \"<long>\",\n   \"job\": \"<string>\",\n   \"bio\": \"<string>\",\n   \"phone\": \"<string>\",\n   \"photo_url\": \"<uri>\",\n   \"public_email\": false,\n   \"public_phone\": false,\n   \"status\": false,\n   \"username\": \"<string>\",\n   \"nickname\": \"<string>\",\n   \"linkedin\": \"\",\n   \"yelp\": \"<uri>\",\n   \"pinterest\": \"<uri>\",\n   \"vimeo\": \"<uri>\",\n   \"youtube\": \"<uri>\",\n   \"twitter\": \"<uri>\",\n   \"facebook\": \"<uri>\",\n   \"receivesms\": false,\n   \"sms_email\": \"<email>\",\n   \"intuit_user_id\": \"<string>\",\n   \"ipp_mode\": \"<integer>\",\n   \"intuit_auth_id\": \"<string>\",\n   \"intuit_db_id\": \"<string>\",\n   \"intuit_realm_id\": \"<string>\",\n   \"intuit_ticket_id\": \"<string>\",\n   \"newsletter\": \"<integer>\",\n   \"is_owner\": false,\n   \"ics_service\": 0,\n   \"ics_export_service\": 0,\n   \"ics_url\": \"<uri>\",\n   \"ics_export_hash\": \"<string>\",\n   \"google_export_canceled\": 0,\n   \"google_export_add_pt\": 0,\n   \"ord\": 0,\n   \"ics_export_url\": \"<string>\",\n   \"permissions\": \"<string>\",\n   \"can_login\": \"<boolean>\"\n  },\n  {\n   \"company_id\": \"<long>\",\n   \"email\": \"<email>\",\n   \"first_name\": \"<string>\",\n   \"last_name\": \"<string>\",\n   \"id\": \"<long>\",\n   \"job\": \"<string>\",\n   \"bio\": \"<string>\",\n   \"phone\": \"<string>\",\n   \"photo_url\": \"<uri>\",\n   \"public_email\": false,\n   \"public_phone\": false,\n   \"status\": false,\n   \"username\": \"<string>\",\n   \"nickname\": \"<string>\",\n   \"linkedin\": \"\",\n   \"yelp\": \"<uri>\",\n   \"pinterest\": \"<uri>\",\n   \"vimeo\": \"<uri>\",\n   \"youtube\": \"<uri>\",\n   \"twitter\": \"<uri>\",\n   \"facebook\": \"<uri>\",\n   \"receivesms\": false,\n   \"sms_email\": \"<email>\",\n   \"intuit_user_id\": \"<string>\",\n   \"ipp_mode\": \"<integer>\",\n   \"intuit_auth_id\": \"<string>\",\n   \"intuit_db_id\": \"<string>\",\n   \"intuit_realm_id\": \"<string>\",\n   \"intuit_ticket_id\": \"<string>\",\n   \"newsletter\": \"<integer>\",\n   \"is_owner\": false,\n   \"ics_service\": 0,\n   \"ics_export_service\": 0,\n   \"ics_url\": \"<uri>\",\n   \"ics_export_hash\": \"<string>\",\n   \"google_export_canceled\": 0,\n   \"google_export_add_pt\": 0,\n   \"ord\": 0,\n   \"ics_export_url\": \"<string>\",\n   \"permissions\": \"<string>\",\n   \"can_login\": \"<boolean>\"\n  }\n ]\n}"
														}
													]
												},
												{
													"name": "3. List services (Select a Service)",
													"request": {
														"auth": {
															"type": "apikey",
															"apikey": [
																{
																	"key": "value",
																	"value": "{{SESSION_TOKEN}}",
																	"type": "string"
																},
																{
																	"key": "key",
																	"value": "session_token",
																	"type": "string"
																},
																{
																	"key": "in",
																	"value": "query",
																	"type": "string"
																}
															]
														},
														"method": "GET",
														"header": [],
														"url": {
															"raw": "{{baseUrl}}/service?company_id={{company_id}}",
															"host": [
																"{{baseUrl}}"
															],
															"path": [
																"service"
															],
															"query": [
																{
																	"key": "id",
																	"value": "<integer>",
																	"description": "Service id",
																	"disabled": true
																},
																{
																	"key": "company_id",
																	"value": "{{company_id}}",
																	"description": "(Required) Company id"
																},
																{
																	"key": "location_id",
																	"value": "<integer>",
																	"description": "Location id",
																	"disabled": true
																},
																{
																	"key": "active_services",
																	"value": "false",
																	"description": "Return only active services",
																	"disabled": true
																},
																{
																	"key": "description",
																	"value": "<string>",
																	"disabled": true
																},
																{
																	"key": "auto_confirm",
																	"value": "<boolean>",
																	"disabled": true
																},
																{
																	"key": "is_subservice",
																	"value": "<boolean>",
																	"disabled": true
																},
																{
																	"key": "duration",
																	"value": "<integer>",
																	"disabled": true
																},
																{
																	"key": "duration_padding",
																	"value": "<integer>",
																	"disabled": true
																},
																{
																	"key": "max_clients",
																	"value": "<integer>",
																	"disabled": true
																},
																{
																	"key": "prior_notice",
																	"value": "<integer>",
																	"disabled": true
																},
																{
																	"key": "after_notice",
																	"value": "<integer>",
																	"disabled": true
																},
																{
																	"key": "cancel_appointment",
																	"value": "<integer>",
																	"disabled": true
																},
																{
																	"key": "reschedule_appointment",
																	"value": "<integer>",
																	"disabled": true
																},
																{
																	"key": "send_reminder",
																	"value": "<integer>",
																	"disabled": true
																},
																{
																	"key": "start_step",
																	"value": "<integer>",
																	"disabled": true
																},
																{
																	"key": "set_schedule",
																	"value": "<integer>",
																	"disabled": true
																},
																{
																	"key": "price",
																	"value": "<integer>",
																	"disabled": true
																},
																{
																	"key": "payment_min_amount",
																	"value": "<number>",
																	"disabled": true
																},
																{
																	"key": "allow_cash_payment",
																	"value": "<boolean>",
																	"disabled": true
																},
																{
																	"key": "group_session",
																	"value": "<integer>",
																	"disabled": true
																},
																{
																	"key": "waiting_list",
																	"value": "<integer>",
																	"disabled": true
																},
																{
																	"key": "client_instructions",
																	"value": "<string>",
																	"disabled": true
																},
																{
																	"key": "widget_message",
																	"value": "<string>",
																	"disabled": true
																},
																{
																	"key": "password",
																	"value": "<string>",
																	"disabled": true
																},
																{
																	"key": "active_from",
																	"value": "<dateTime>",
																	"disabled": true
																},
																{
																	"key": "active_until",
																	"value": "<dateTime>",
																	"disabled": true
																},
																{
																	"key": "active_interval_status",
																	"value": "<boolean>",
																	"disabled": true
																},
																{
																	"key": "status",
																	"value": "<boolean>",
																	"disabled": true
																},
																{
																	"key": "photo",
																	"value": "<string>",
																	"disabled": true
																},
																{
																	"key": "active_rules",
																	"value": "<boolean>",
																	"disabled": true
																},
																{
																	"key": "tmp_default",
																	"value": "<boolean>",
																	"disabled": true
																}
															]
														},
														"description": "Get a list of all services and their attributes."
													},
													"response": [
														{
															"name": "successful operation",
															"originalRequest": {
																"method": "GET",
																"header": [],
																"url": {
																	"raw": "{{baseUrl}}/service?id=<integer>&company_id=<integer>&location_id=<integer>&active_services=false&description=<string>&auto_confirm=<boolean>&is_subservice=<boolean>&duration=<integer>&duration_padding=<integer>&max_clients=<integer>&prior_notice=<integer>&after_notice=<integer>&cancel_appointment=<integer>&reschedule_appointment=<integer>&send_reminder=<integer>&start_step=<integer>&set_schedule=<integer>&price=<integer>&payment_min_amount=<number>&allow_cash_payment=<boolean>&group_session=<integer>&waiting_list=<integer>&client_instructions=<string>&widget_message=<string>&password=<string>&active_from=<dateTime>&active_until=<dateTime>&active_interval_status=<boolean>&status=<boolean>&photo=<string>&active_rules=<boolean>&tmp_default=<boolean>&session_token=<API Key>",
																	"host": [
																		"{{baseUrl}}"
																	],
																	"path": [
																		"service"
																	],
																	"query": [
																		{
																			"key": "id",
																			"value": "<integer>"
																		},
																		{
																			"key": "company_id",
																			"value": "<integer>"
																		},
																		{
																			"key": "location_id",
																			"value": "<integer>"
																		},
																		{
																			"key": "active_services",
																			"value": "false"
																		},
																		{
																			"key": "description",
																			"value": "<string>"
																		},
																		{
																			"key": "auto_confirm",
																			"value": "<boolean>"
																		},
																		{
																			"key": "is_subservice",
																			"value": "<boolean>"
																		},
																		{
																			"key": "duration",
																			"value": "<integer>"
																		},
																		{
																			"key": "duration_padding",
																			"value": "<integer>"
																		},
																		{
																			"key": "max_clients",
																			"value": "<integer>"
																		},
																		{
																			"key": "prior_notice",
																			"value": "<integer>"
																		},
																		{
																			"key": "after_notice",
																			"value": "<integer>"
																		},
																		{
																			"key": "cancel_appointment",
																			"value": "<integer>"
																		},
																		{
																			"key": "reschedule_appointment",
																			"value": "<integer>"
																		},
																		{
																			"key": "send_reminder",
																			"value": "<integer>"
																		},
																		{
																			"key": "start_step",
																			"value": "<integer>"
																		},
																		{
																			"key": "set_schedule",
																			"value": "<integer>"
																		},
																		{
																			"key": "price",
																			"value": "<integer>"
																		},
																		{
																			"key": "payment_min_amount",
																			"value": "<number>"
																		},
																		{
																			"key": "allow_cash_payment",
																			"value": "<boolean>"
																		},
																		{
																			"key": "group_session",
																			"value": "<integer>"
																		},
																		{
																			"key": "waiting_list",
																			"value": "<integer>"
																		},
																		{
																			"key": "client_instructions",
																			"value": "<string>"
																		},
																		{
																			"key": "widget_message",
																			"value": "<string>"
																		},
																		{
																			"key": "password",
																			"value": "<string>"
																		},
																		{
																			"key": "active_from",
																			"value": "<dateTime>"
																		},
																		{
																			"key": "active_until",
																			"value": "<dateTime>"
																		},
																		{
																			"key": "active_interval_status",
																			"value": "<boolean>"
																		},
																		{
																			"key": "status",
																			"value": "<boolean>"
																		},
																		{
																			"key": "photo",
																			"value": "<string>"
																		},
																		{
																			"key": "active_rules",
																			"value": "<boolean>"
																		},
																		{
																			"key": "tmp_default",
																			"value": "<boolean>"
																		},
																		{
																			"key": "session_token",
																			"value": "<API Key>"
																		}
																	]
																}
															},
															"status": "OK",
															"code": 200,
															"_postman_previewlanguage": "json",
															"header": [
																{
																	"key": "Content-Type",
																	"value": "application/json"
																}
															],
															"cookie": [],
															"body": "{\n \"statusCode\": \"<integer>\",\n \"statusDescriptions\": \"<string>\",\n \"data\": [\n  {\n   \"company_id\": \"<long>\",\n   \"name\": \"<string>\",\n   \"duration\": 60,\n   \"id\": \"<long>\",\n   \"description\": \"<string>\",\n   \"auto_confirm\": false,\n   \"is_subservice\": false,\n   \"duration_padding\": 0,\n   \"max_clients\": 0,\n   \"prior_notice\": 0,\n   \"after_notice\": 0,\n   \"cancel_appointment\": 0,\n   \"reschedule_appointment\": 0,\n   \"send_reminder\": 0,\n   \"start_step\": 0,\n   \"set_schedule\": false,\n   \"schedule\": [\n    {\n     \"repeat\": \"<integer>\",\n     \"start_date\": \"<date>\",\n     \"start_time\": {\n      \"hour\": \"<integer>\",\n      \"min\": \"<integer>\",\n      \"am\": \"<string>\"\n     },\n     \"end_date\": \"<date>\",\n     \"end_time\": {\n      \"hour\": \"<integer>\",\n      \"min\": \"<integer>\",\n      \"am\": \"<string>\"\n     },\n     \"days\": \"<object>\"\n    },\n    {\n     \"repeat\": \"<integer>\",\n     \"start_date\": \"<date>\",\n     \"start_time\": {\n      \"hour\": \"<integer>\",\n      \"min\": \"<integer>\",\n      \"am\": \"<string>\"\n     },\n     \"end_date\": \"<date>\",\n     \"end_time\": {\n      \"hour\": \"<integer>\",\n      \"min\": \"<integer>\",\n      \"am\": \"<string>\"\n     },\n     \"days\": \"<object>\"\n    }\n   ],\n   \"price\": 0,\n   \"payment_min_amount\": 0,\n   \"allow_cash_payment\": false,\n   \"group_session\": 0,\n   \"waiting_list\": 0,\n   \"client_instructions\": \"<string>\",\n   \"widget_message\": \"<string>\",\n   \"password\": \"<string>\",\n   \"ord\": \"<integer>\",\n   \"created_at\": \"<dateTime>\",\n   \"active_from\": \"<date>\",\n   \"active_until\": \"<date>\",\n   \"active_interval_status\": true,\n   \"status\": true,\n   \"active_rules\": 1,\n   \"photo\": \"<string>\"\n  },\n  {\n   \"company_id\": \"<long>\",\n   \"name\": \"<string>\",\n   \"duration\": 60,\n   \"id\": \"<long>\",\n   \"description\": \"<string>\",\n   \"auto_confirm\": false,\n   \"is_subservice\": false,\n   \"duration_padding\": 0,\n   \"max_clients\": 0,\n   \"prior_notice\": 0,\n   \"after_notice\": 0,\n   \"cancel_appointment\": 0,\n   \"reschedule_appointment\": 0,\n   \"send_reminder\": 0,\n   \"start_step\": 0,\n   \"set_schedule\": false,\n   \"schedule\": [\n    {\n     \"repeat\": \"<integer>\",\n     \"start_date\": \"<date>\",\n     \"start_time\": {\n      \"hour\": \"<integer>\",\n      \"min\": \"<integer>\",\n      \"am\": \"<string>\"\n     },\n     \"end_date\": \"<date>\",\n     \"end_time\": {\n      \"hour\": \"<integer>\",\n      \"min\": \"<integer>\",\n      \"am\": \"<string>\"\n     },\n     \"days\": \"<object>\"\n    },\n    {\n     \"repeat\": \"<integer>\",\n     \"start_date\": \"<date>\",\n     \"start_time\": {\n      \"hour\": \"<integer>\",\n      \"min\": \"<integer>\",\n      \"am\": \"<string>\"\n     },\n     \"end_date\": \"<date>\",\n     \"end_time\": {\n      \"hour\": \"<integer>\",\n      \"min\": \"<integer>\",\n      \"am\": \"<string>\"\n     },\n     \"days\": \"<object>\"\n    }\n   ],\n   \"price\": 0,\n   \"payment_min_amount\": 0,\n   \"allow_cash_payment\": false,\n   \"group_session\": 0,\n   \"waiting_list\": 0,\n   \"client_instructions\": \"<string>\",\n   \"widget_message\": \"<string>\",\n   \"password\": \"<string>\",\n   \"ord\": \"<integer>\",\n   \"created_at\": \"<dateTime>\",\n   \"active_from\": \"<date>\",\n   \"active_until\": \"<date>\",\n   \"active_interval_status\": true,\n   \"status\": true,\n   \"active_rules\": 1,\n   \"photo\": \"<string>\"\n  }\n ]\n}"
														}
													]
												},
												{
													"name": "4. Get Availability (Select Date Time)",
													"request": {
														"auth": {
															"type": "apikey",
															"apikey": [
																{
																	"key": "value",
																	"value": "{{SESSION_TOKEN}}",
																	"type": "string"
																},
																{
																	"key": "key",
																	"value": "session_token",
																	"type": "string"
																},
																{
																	"key": "in",
																	"value": "query",
																	"type": "string"
																}
															]
														},
														"method": "GET",
														"header": [],
														"url": {
															"raw": "{{baseUrl}}/availability?service_id={{service_id}}&start_date={{start_date}}&t=daily&return=times&company_id={{company_id}}",
															"host": [
																"{{baseUrl}}"
															],
															"path": [
																"availability"
															],
															"query": [
																{
																	"key": "service_id",
																	"value": "{{service_id}}",
																	"description": "(Required) The ID of the selected service"
																},
																{
																	"key": "subservices",
																	"value": "<integer>",
																	"description": "The IDs of the selected subservices",
																	"disabled": true
																},
																{
																	"key": "subservices",
																	"value": "<integer>",
																	"description": "The IDs of the selected subservices",
																	"disabled": true
																},
																{
																	"key": "location_id",
																	"value": "{{location_id}}",
																	"description": "The ID of the selected location",
																	"disabled": true
																},
																{
																	"key": "provider_id",
																	"value": "{{employee_id}}",
																	"description": "The ID of the provider (employee)",
																	"disabled": true
																},
																{
																	"key": "start_date",
																	"value": "{{start_date}}",
																	"description": "(Required) (YYYY-mm-dd) The day for which the availability is requested"
																},
																{
																	"key": "t",
																	"value": "daily",
																	"description": "(Required)  - If 'weekly', then the availability for the whole week of 'start_date' will be returned.\n- If 'daily', only the availability for 'start_date' will be returned"
																},
																{
																	"key": "return",
																	"value": "times",
																	"description": "(Required)  - If 'boxes', the availability will be returned as a set of boxes representing fractions of an hour.\n- If 'times', the availability will be returned as times when the availability slots begin. "
																},
																{
																	"key": "timezone_id",
																	"value": "<integer>",
																	"description": "The ID of the timezone relative to which the availability is calculated. Defaults to the location timezone.",
																	"disabled": true
																},
																{
																	"key": "first_available",
																	"value": "<boolean>",
																	"description": "When there is no availability from start_date to the end of the interval(t - daily/weekly), whole agenda is scanned until a first available time slot is returned.",
																	"disabled": true
																},
																{
																	"key": "available_seats",
																	"value": "<boolean>",
																	"description": "Retrieve available seats for an appointment start time. This will return the number of seats for an employee. If none is provided, a random employee will be selected and the number of seats for that employee will be returned.",
																	"disabled": true
																},
																{
																	"key": "total_seats",
																	"value": "<boolean>",
																	"description": "Use this parameter to get the total number of seats for all employees",
																	"disabled": true
																},
																{
																	"key": "no_of_weeks",
																	"value": "<integer>",
																	"description": "Used to retreive the availability for one month. Accepted values are between 1 and 5",
																	"disabled": true
																},
																{
																	"key": "company_id",
																	"value": "{{company_id}}"
																}
															]
														},
														"description": "Get the available times to schedule an appointment."
													},
													"response": [
														{
															"name": "successful operation",
															"originalRequest": {
																"method": "GET",
																"header": [],
																"url": {
																	"raw": "{{baseUrl}}/availability?service_id=<long>&subservices=<integer>&subservices=<integer>&location_id=<long>&provider_id=<long>&start_date=<date>&t=<string>&return=<string>&timezone_id=<integer>&first_available=<boolean>&available_seats=<boolean>&total_seats=<boolean>&no_of_weeks=<integer>&session_token=<API Key>",
																	"host": [
																		"{{baseUrl}}"
																	],
																	"path": [
																		"availability"
																	],
																	"query": [
																		{
																			"key": "service_id",
																			"value": "<long>"
																		},
																		{
																			"key": "subservices",
																			"value": "<integer>"
																		},
																		{
																			"key": "subservices",
																			"value": "<integer>"
																		},
																		{
																			"key": "location_id",
																			"value": "<long>"
																		},
																		{
																			"key": "provider_id",
																			"value": "<long>"
																		},
																		{
																			"key": "start_date",
																			"value": "<date>"
																		},
																		{
																			"key": "t",
																			"value": "<string>"
																		},
																		{
																			"key": "return",
																			"value": "<string>"
																		},
																		{
																			"key": "timezone_id",
																			"value": "<integer>"
																		},
																		{
																			"key": "first_available",
																			"value": "<boolean>"
																		},
																		{
																			"key": "available_seats",
																			"value": "<boolean>"
																		},
																		{
																			"key": "total_seats",
																			"value": "<boolean>"
																		},
																		{
																			"key": "no_of_weeks",
																			"value": "<integer>"
																		},
																		{
																			"key": "session_token",
																			"value": "<API Key>"
																		}
																	]
																}
															},
															"status": "OK",
															"code": 200,
															"_postman_previewlanguage": "json",
															"header": [
																{
																	"key": "Content-Type",
																	"value": "application/json"
																}
															],
															"cookie": [],
															"body": "{\n \"statusCode\": \"<integer>\",\n \"statusDescriptions\": \"<string>\",\n \"data\": {\n  \"interval\": \"<integer>\",\n  \"boxInterval\": \"<integer>\",\n  \"padding\": \"<integer>\",\n  \"day\": \"<integer>\",\n  \"month\": \"<integer>\",\n  \"year\": \"<integer>\",\n  \"times\": [\n   \"<string>\",\n   \"<string>\"\n  ]\n }\n}"
														}
													]
												},
												{
													"name": "5. Create appointment",
													"request": {
														"auth": {
															"type": "apikey",
															"apikey": [
																{
																	"key": "value",
																	"value": "{{SESSION_TOKEN}}",
																	"type": "string"
																},
																{
																	"key": "key",
																	"value": "session_token",
																	"type": "string"
																},
																{
																	"key": "in",
																	"value": "query",
																	"type": "string"
																}
															]
														},
														"method": "POST",
														"header": [
															{
																"key": "Content-Type",
																"value": "application/json"
															}
														],
														"body": {
															"mode": "raw",
															"raw": "{\n    \"company_id\": {{company_id}},\n    \"client_email\": \"{{client_email}}\",\n    \"client_name\": \"{{client_name}}\",\n    \"service_id\": {{service_id}},\n    \"start_date\": \"{{start_date}} {{available_time}}\",\n    \"client_phone\": \"<string>\",\n    \"client_address\": \"<string>\",\n    \"employee_id\": \"<long>\",\n    \"location_id\": \"<long>\",\n    \"duration\": 15,\n    \"note\": \"<string>\",\n    \"status\": \"<integer>\",\n    \"subservices\": \"<string>\",\n    \"paid\": false,\n    \"price\": 0,\n    \"ews_id\": \"\",\n    \"custom_fields\": \"<object>\",\n    \"timezone_id\": \"<integer>\"\n}"
														},
														"url": {
															"raw": "{{baseUrl}}/appointment?company_id={{company_id}}",
															"host": [
																"{{baseUrl}}"
															],
															"path": [
																"appointment"
															],
															"query": [
																{
																	"key": "company_id",
																	"value": "{{company_id}}"
																}
															]
														},
														"description": "Create a new appointment."
													},
													"response": [
														{
															"name": "The appointment has been created",
															"originalRequest": {
																"method": "POST",
																"header": [],
																"body": {
																	"mode": "raw",
																	"raw": "{\n    \"data\": {\n        \"company_id\": \"<long>\",\n        \"client_email\": \"<email>\",\n        \"client_name\": \"<string>\",\n        \"service_id\": \"<long>\",\n        \"start_date\": \"<string>\",\n        \"client_phone\": \"<string>\",\n        \"client_address\": \"<string>\",\n        \"employee_id\": \"<long>\",\n        \"location_id\": \"<long>\",\n        \"duration\": 15,\n        \"note\": \"<string>\",\n        \"status\": \"<integer>\",\n        \"subservices\": \"<string>\",\n        \"paid\": false,\n        \"price\": 0,\n        \"ews_id\": \"\",\n        \"custom_fields\": \"<object>\",\n        \"timezone_id\": \"<integer>\"\n    }\n}"
																},
																"url": {
																	"raw": "{{baseUrl}}/appointment?session_token=<API Key>",
																	"host": [
																		"{{baseUrl}}"
																	],
																	"path": [
																		"appointment"
																	],
																	"query": [
																		{
																			"key": "session_token",
																			"value": "<API Key>"
																		}
																	]
																}
															},
															"status": "OK",
															"code": 200,
															"_postman_previewlanguage": "json",
															"header": [
																{
																	"key": "Content-Type",
																	"value": "application/json"
																}
															],
															"cookie": [],
															"body": "{\n \"statusCode\": \"<integer>\",\n \"statusDescriptions\": \"<string>\",\n \"data\": {\n  \"company_id\": \"<long>\",\n  \"client_email\": \"<email>\",\n  \"client_name\": \"<string>\",\n  \"service_id\": \"<long>\",\n  \"start_date\": \"<string>\",\n  \"id\": \"<long>\",\n  \"client_id\": \"<long>\",\n  \"client_phone\": \"<string>\",\n  \"client_address\": \"<string>\",\n  \"employee_id\": \"<long>\",\n  \"location_id\": \"<long>\",\n  \"end_date\": \"<string>\",\n  \"length\": \"<integer>\",\n  \"duration_padding\": 0,\n  \"note\": \"<string>\",\n  \"status\": \"<integer>\",\n  \"type\": \"<string>\",\n  \"last_updated\": \"<dateTime>\",\n  \"created_at\": \"<dateTime>\",\n  \"subservices\": \"<string>\",\n  \"paid\": false,\n  \"price\": 0,\n  \"ews_id\": \"\",\n  \"custom_fields\": \"<object>\",\n  \"timezone_short\": \"<string>\",\n  \"timezone_offset_seconds\": \"<integer>\",\n  \"timezone_id\": \"<integer>\"\n }\n}"
														},
														{
															"name": "The appointment can not be created",
															"originalRequest": {
																"method": "POST",
																"header": [],
																"body": {
																	"mode": "raw",
																	"raw": "{\n    \"data\": {\n        \"company_id\": \"<long>\",\n        \"client_email\": \"<email>\",\n        \"client_name\": \"<string>\",\n        \"service_id\": \"<long>\",\n        \"start_date\": \"<string>\",\n        \"client_phone\": \"<string>\",\n        \"client_address\": \"<string>\",\n        \"employee_id\": \"<long>\",\n        \"location_id\": \"<long>\",\n        \"duration\": 15,\n        \"note\": \"<string>\",\n        \"status\": \"<integer>\",\n        \"subservices\": \"<string>\",\n        \"paid\": false,\n        \"price\": 0,\n        \"ews_id\": \"\",\n        \"custom_fields\": \"<object>\",\n        \"timezone_id\": \"<integer>\"\n    }\n}"
																},
																"url": {
																	"raw": "{{baseUrl}}/appointment?session_token=<API Key>",
																	"host": [
																		"{{baseUrl}}"
																	],
																	"path": [
																		"appointment"
																	],
																	"query": [
																		{
																			"key": "session_token",
																			"value": "<API Key>"
																		}
																	]
																}
															},
															"status": "Forbidden",
															"code": 403,
															"_postman_previewlanguage": "json",
															"header": [
																{
																	"key": "Content-Type",
																	"value": "application/json"
																}
															],
															"cookie": [],
															"body": "{\n \"statusCode\": \"<integer>\",\n \"statusDescriptions\": \"<string>\",\n \"data\": \"<object>\"\n}"
														}
													]
												}
											]
										}
									]
								},
								{
									"name": "Appointment Updated",
									"item": [
										{
											"name": "1. Test Target Url",
											"item": [
												{
													"name": "Test Target Url",
													"event": [
														{
															"listen": "test",
															"script": {
																"exec": [
																	"pm.test('Status received is ' + pm.response.code, function() {",
																	"    pm.expect(pm.response.code).to.be.oneOf([200,201,202]);",
																	"});"
																],
																"type": "text/javascript"
															}
														}
													],
													"request": {
														"method": "POST",
														"header": [
															{
																"key": "setster-verification-key",
																"value": "testkey1234567891234567891234567",
																"description": "Will be return from creating a webhook POST request",
																"type": "text"
															},
															{
																"key": "setster-event-type",
																"value": "appointment.created",
																"type": "text"
															}
														],
														"body": {
															"mode": "raw",
															"raw": "{\n    \"client_street1\": \"{{$randomStreetAddress}}\",\n    \"client_street2\": \"\",\n    \"client_city\": \"{{$randomCity}}\",\n    \"client_state\": \"CA\",\n    \"client_zip\": \"90048\",\n    \"client_country\": \"{{$randomCountryCode}}\",\n    \"client_email\": \"ironman@setster.com\",\n    \"client_id\": \"12345\",\n    \"client_name\": \"{{$randomFullName}}\",\n    \"client_phone\": \"{{$randomPhoneNumber}}\",\n    \"custom_fields\": \"{\\\"1\\\":[\\\"(555) 555-5555\\\",\\\"Phone\\\"],\\\"2\\\":[null,\\\"Address\\\"]}\",\n    \"custom_data\": \"{\\\"phone_70104\\\":\\\"(555) 555-5555\\\",\\\"address_70105\\\":null}\",\n    \"created_at\": \"2021-02-09T11:14:10-08:00\",\n    \"employee_id\": \"12345\",\n    \"end_date\": \"2021-02-11T14:00:00-08:00\",\n    \"id\": \"12345678912\",\n    \"last_updated\": \"2021-02-09T11:17:20-08:00\",\n    \"location_id\": \"12345\",\n    \"location_name\": \"Location 1\",\n    \"note\": \"\",\n    \"paid\": false,\n    \"price\": \"0.00\",\n    \"provider_name\": \"Captain Marvel\",\n    \"provider_phone\": \"{{$randomPhoneNumber}}\",\n    \"service_id\": \"12345\",\n    \"service_name\": \"Service 1\",\n    \"start_date\": \"2021-02-11T12:00:00-08:00\",\n    \"status\": \"Confirmed\",\n    \"subservices\": \"\",\n    \"timezone_id\": \"553\",\n    \"duration\": \"2:0:0\",\n    \"client_full_address\": \"123 Road, #14, Los Angeles, CA, 90048, USA\",\n    \"start_date_friendly\": \"Thu, Feb 11th 2021, 12:00:00 PM (PST)\",\n    \"end_date_friendly\": \"Thu, Feb 11th 2021, 2:00:00 PM (PST)\",\n    \"created_at_friendly\": \"Tue, Feb 9th 2021, 11:14:10 AM (PST)\",\n    \"last_updated_friendly\": \"Tue, Feb 9th 2021, 11:17:20 AM (PST)\"\n}",
															"options": {
																"raw": {
																	"language": "json"
																}
															}
														},
														"url": {
															"raw": "{{webhook_target_url_updated}}",
															"host": [
																"{{webhook_target_url_updated}}"
															]
														}
													},
													"response": [
														{
															"name": "Webhook Event Data",
															"originalRequest": {
																"method": "POST",
																"header": [
																	{
																		"key": "setster-verification-key",
																		"value": "testkey1234567891234567891234567",
																		"type": "text"
																	},
																	{
																		"key": "setster-event-type",
																		"value": "appointment.updated",
																		"type": "text"
																	}
																],
																"body": {
																	"mode": "raw",
																	"raw": "{\n  \"data\": {\n    \"company_id\": {{company_id}},\n    \"client_email\": \"{{client_email}}\",\n    \"client_name\": \"{{client_name}}\",\n    \"client_phone\": \"12345678\",\n    \"client_address\": \"string\",\n    \"employee_id\": {{employee_id}},\n    \"location_id\": {{location_id}},\n    \"service_id\": {{service_id}},\n    \"start_date\": \"{{start_date}} {{available_time}}\",\n    \"duration\": 0,\n    \"note\": \"string\",\n    \"status\": 0,\n    \"subservices\": \"string\",\n    \"paid\": false,\n    \"price\": 0,\n    \"ews_id\": \"string\",\n    \"custom_fields\": {\n      \"1\": [\n        \"(01512) 793246\",\n        \"Work Phone\"\n      ],\n      \"2\": [\n        [\n          \"201 S. Division St.\",\n          \"500\",\n          \"Ann Arbor\",\n          \"MI\",\n          \"48104\"\n        ],\n        \"Full Address\"\n      ],\n      \"3\": [\n        \"123ABC\",\n        \"Coupon Code\",\n        \"h\"\n      ]\n    },\n    \"timezone_id\": 553\n  }\n}\n",
																	"options": {
																		"raw": {
																			"language": "json"
																		}
																	}
																},
																"url": {
																	"raw": "{{baseUrl}}/appointment",
																	"host": [
																		"{{baseUrl}}"
																	],
																	"path": [
																		"appointment"
																	]
																}
															},
															"_postman_previewlanguage": "json",
															"header": [],
															"cookie": [],
															"body": "{\n    \"client_street1\": \"1111 Test Street\",\n    \"client_street2\": \"EQWE\",\n    \"client_city\": \"LA\",\n    \"client_state\": \"CA\",\n    \"client_zip\": \"300925\",\n    \"client_country\": \"USA\",\n    \"client_email\": \"test@setster.com\",\n    \"client_id\": \"1425851\",\n    \"client_name\": \"testtt\",\n    \"client_phone\": \"+40756250176\",\n    \"custom_fields\": \"{\\\"1\\\":[\\\"+40756250176\\\",\\\"Phone\\\"],\\\"2\\\":[[\\\"kjkjk\\\",\\\"l\\\",\\\"l\\\",\\\"kjl\\\",\\\"kj\\\"],\\\"Address\\\"]}\",\n    \"custom_data\": {\n        \"phone_41086\": \"+40756250176\",\n        \"address_70781\": {\n            \"street\": \"kjkjk\",\n            \"suite\": \"l\",\n            \"city\": \"l\",\n            \"state\": \"kjl\",\n            \"zip\": \"kj\"\n        }\n    },\n    \"created_at\": \"2021-03-10T11:47:20+02:00\",\n    \"employee_id\": \"12700\",\n    \"end_date\": \"2021-03-11T10:00:00+02:00\",\n    \"id\": \"19867165037\",\n    \"last_updated\": \"2021-03-10T11:47:23+02:00\",\n    \"location_id\": \"29322\",\n    \"location_name\": \"Location A\",\n    \"note\": \"lkjl\",\n    \"paid\": false,\n    \"price\": \"0.00\",\n    \"provider_name\": \"Provider A\",\n    \"provider_phone\": \"555-222-4546\",\n    \"service_id\": \"41523\",\n    \"service_name\": \"Service A\",\n    \"start_date\": \"2021-03-11T09:00:00+02:00\",\n    \"status\": \"Confirmed\",\n    \"subservices\": \"\",\n    \"timezone_id\": \"414\",\n    \"duration\": \"1:0:0\",\n    \"client_full_address\": \"kjkjk, l, l, kjl, kj, EQWE, LA, CA, 300925, USA\",\n    \"start_date_friendly\": \"Thu, Mar 11th 2021, 9:00:00 AM (EET)\",\n    \"end_date_friendly\": \"Thu, Mar 11th 2021, 10:00:00 AM (EET)\",\n    \"created_at_friendly\": \"Wed, Mar 10th 2021, 11:47:20 AM (EET)\",\n    \"last_updated_friendly\": \"Wed, Mar 10th 2021, 11:47:23 AM (EET)\"\n}"
														}
													]
												}
											]
										},
										{
											"name": "2. Create Webhook",
											"item": [
												{
													"name": "Create Webhook",
													"request": {
														"auth": {
															"type": "apikey",
															"apikey": [
																{
																	"key": "value",
																	"value": "{{SESSION_TOKEN}}",
																	"type": "string"
																},
																{
																	"key": "key",
																	"value": "session_token",
																	"type": "string"
																},
																{
																	"key": "in",
																	"value": "query",
																	"type": "string"
																}
															]
														},
														"method": "POST",
														"header": [
															{
																"key": "Content-Type",
																"value": "application/json"
															}
														],
														"body": {
															"mode": "raw",
															"raw": "{\"company_id\":{{company_id}},\"target_url\":\"{{webhook_target_url_updated}}\",\"events\":[\"appointment.updated\"],\"active\":1}",
															"options": {
																"raw": {
																	"language": "json"
																}
															}
														},
														"url": {
															"raw": "{{baseUrl}}/subscribe?company_id={{company_id}}",
															"host": [
																"{{baseUrl}}"
															],
															"path": [
																"subscribe"
															],
															"query": [
																{
																	"key": "company_id",
																	"value": "{{company_id}}"
																}
															]
														},
														"description": "Create a webHook"
													},
													"response": [
														{
															"name": "successful operation",
															"originalRequest": {
																"method": "POST",
																"header": [],
																"body": {
																	"mode": "urlencoded",
																	"urlencoded": [
																		{
																			"key": "data",
																			"value": "{\"company_id\":24232,\"target_url\":\"\",\"events\":[\"appointment.created\",\"appointment.created\"],\"active\":1}"
																		}
																	]
																},
																"url": {
																	"raw": "{{baseUrl}}/subscribe?session_token=<API Key>",
																	"host": [
																		"{{baseUrl}}"
																	],
																	"path": [
																		"subscribe"
																	],
																	"query": [
																		{
																			"key": "session_token",
																			"value": "<API Key>"
																		}
																	]
																}
															},
															"status": "Created",
															"code": 201,
															"_postman_previewlanguage": "json",
															"header": [
																{
																	"key": "Content-Type",
																	"value": "application/json"
																}
															],
															"cookie": [],
															"body": "{\n \"statusCode\": null,\n \"statusDescriptions\": \"OK\",\n \"data\": {\n  \"company_id\": 24232,\n  \"target_url\": \"\",\n  \"id\": 13425,\n  \"events\": [\n   {\n    \"id\": 13425,\n    \"event\": \"appointment.created\",\n    \"active\": 1,\n    \"created_at\": \"1953-08-31T05:07:01.204Z\"\n   },\n   {\n    \"id\": 13425,\n    \"event\": \"appointment.created\",\n    \"active\": 1,\n    \"created_at\": \"1994-01-11T13:41:48.763Z\"\n   }\n  ],\n  \"active\": 1,\n  \"verification_key\": \"est officia\",\n  \"created_at\": \"1969-08-08T00:35:43.863Z\",\n  \"updated_at\": \"1943-07-07T22:50:53.025Z\"\n }\n}"
														}
													]
												}
											]
										},
										{
											"name": "3. Test Webhook",
											"item": [
												{
													"name": "1. List appointments (Find Id)",
													"request": {
														"auth": {
															"type": "apikey",
															"apikey": [
																{
																	"key": "value",
																	"value": "{{SESSION_TOKEN}}",
																	"type": "string"
																},
																{
																	"key": "key",
																	"value": "session_token",
																	"type": "string"
																},
																{
																	"key": "in",
																	"value": "query",
																	"type": "string"
																}
															]
														},
														"method": "GET",
														"header": [],
														"url": {
															"raw": "{{baseUrl}}/appointment?id=<integer>&company_id={{company_id}}&employee_id=<integer>&location_id=<integer>&service_id=<integer>&client_id=<integer>&timezone_id=<integer>&ews_id=<string>&status=<string>&search_text=<string>&client_name=<string>&client_email=<string>&custom_field_1=<string>&custom_field_2=<string>&custom_field_3=<string>&custom_field_4=<string>&custom_field_5=<string>&start_date=<string>&end_date=<string>&paid=<integer>&start=0&end=<integer>&updated_after=<dateTime>&updated_before=<dateTime>&created_after=<dateTime>&created_before=<dateTime>&num_results=0&sort_by=start_date&sort_order=asc",
															"host": [
																"{{baseUrl}}"
															],
															"path": [
																"appointment"
															],
															"query": [
																{
																	"key": "id",
																	"value": "<integer>",
																	"description": "The appointment id"
																},
																{
																	"key": "company_id",
																	"value": "{{company_id}}",
																	"description": "(Required) "
																},
																{
																	"key": "employee_id",
																	"value": "<integer>"
																},
																{
																	"key": "location_id",
																	"value": "<integer>"
																},
																{
																	"key": "service_id",
																	"value": "<integer>"
																},
																{
																	"key": "client_id",
																	"value": "<integer>"
																},
																{
																	"key": "timezone_id",
																	"value": "<integer>",
																	"description": "Returns appointments date fields with specified time offset"
																},
																{
																	"key": "ews_id",
																	"value": "<string>"
																},
																{
																	"key": "status",
																	"value": "<string>"
																},
																{
																	"key": "search_text",
																	"value": "<string>"
																},
																{
																	"key": "client_name",
																	"value": "<string>"
																},
																{
																	"key": "client_email",
																	"value": "<string>"
																},
																{
																	"key": "custom_field_1",
																	"value": "<string>"
																},
																{
																	"key": "custom_field_2",
																	"value": "<string>"
																},
																{
																	"key": "custom_field_3",
																	"value": "<string>"
																},
																{
																	"key": "custom_field_4",
																	"value": "<string>"
																},
																{
																	"key": "custom_field_5",
																	"value": "<string>"
																},
																{
																	"key": "start_date",
																	"value": "<string>"
																},
																{
																	"key": "end_date",
																	"value": "<string>"
																},
																{
																	"key": "paid",
																	"value": "<integer>"
																},
																{
																	"key": "start",
																	"value": "0",
																	"description": "List pager"
																},
																{
																	"key": "end",
																	"value": "<integer>",
																	"description": "List pager / 'all' - no limit"
																},
																{
																	"key": "updated_after",
																	"value": "<dateTime>",
																	"description": "Lower date limit for which the appointment was updated"
																},
																{
																	"key": "updated_before",
																	"value": "<dateTime>",
																	"description": "Upper date limit for which the appointment was updated"
																},
																{
																	"key": "created_after",
																	"value": "<dateTime>",
																	"description": "Lower date limit for which the appointment was created"
																},
																{
																	"key": "created_before",
																	"value": "<dateTime>",
																	"description": "Upper date limit for which the appointment was created"
																},
																{
																	"key": "num_results",
																	"value": "0",
																	"description": "If 1, the call returns only the number of appointments found"
																},
																{
																	"key": "sort_by",
																	"value": "start_date"
																},
																{
																	"key": "sort_order",
																	"value": "asc"
																}
															]
														},
														"description": "Get a list of all appointments (upcoming and past) and their attributes.\nWe advise using filters to fetch appointments for specific date ranges or different attributes."
													},
													"response": [
														{
															"name": "successful operation",
															"originalRequest": {
																"method": "GET",
																"header": [],
																"url": {
																	"raw": "{{baseUrl}}/appointment?id=<integer>&company_id=<integer>&employee_id=<integer>&location_id=<integer>&service_id=<integer>&client_id=<integer>&timezone_id=<integer>&ews_id=<string>&status=<string>&search_text=<string>&client_name=<string>&client_email=<string>&custom_field_1=<string>&custom_field_2=<string>&custom_field_3=<string>&custom_field_4=<string>&custom_field_5=<string>&start_date=<string>&end_date=<string>&paid=<integer>&start=0&end=<integer>&updated_after=<dateTime>&updated_before=<dateTime>&created_after=<dateTime>&created_before=<dateTime>&num_results=0&sort_by=start_date&sort_order=asc&session_token=<API Key>",
																	"host": [
																		"{{baseUrl}}"
																	],
																	"path": [
																		"appointment"
																	],
																	"query": [
																		{
																			"key": "id",
																			"value": "<integer>"
																		},
																		{
																			"key": "company_id",
																			"value": "<integer>"
																		},
																		{
																			"key": "employee_id",
																			"value": "<integer>"
																		},
																		{
																			"key": "location_id",
																			"value": "<integer>"
																		},
																		{
																			"key": "service_id",
																			"value": "<integer>"
																		},
																		{
																			"key": "client_id",
																			"value": "<integer>"
																		},
																		{
																			"key": "timezone_id",
																			"value": "<integer>"
																		},
																		{
																			"key": "ews_id",
																			"value": "<string>"
																		},
																		{
																			"key": "status",
																			"value": "<string>"
																		},
																		{
																			"key": "search_text",
																			"value": "<string>"
																		},
																		{
																			"key": "client_name",
																			"value": "<string>"
																		},
																		{
																			"key": "client_email",
																			"value": "<string>"
																		},
																		{
																			"key": "custom_field_1",
																			"value": "<string>"
																		},
																		{
																			"key": "custom_field_2",
																			"value": "<string>"
																		},
																		{
																			"key": "custom_field_3",
																			"value": "<string>"
																		},
																		{
																			"key": "custom_field_4",
																			"value": "<string>"
																		},
																		{
																			"key": "custom_field_5",
																			"value": "<string>"
																		},
																		{
																			"key": "start_date",
																			"value": "<string>"
																		},
																		{
																			"key": "end_date",
																			"value": "<string>"
																		},
																		{
																			"key": "paid",
																			"value": "<integer>"
																		},
																		{
																			"key": "start",
																			"value": "0"
																		},
																		{
																			"key": "end",
																			"value": "<integer>"
																		},
																		{
																			"key": "updated_after",
																			"value": "<dateTime>"
																		},
																		{
																			"key": "updated_before",
																			"value": "<dateTime>"
																		},
																		{
																			"key": "created_after",
																			"value": "<dateTime>"
																		},
																		{
																			"key": "created_before",
																			"value": "<dateTime>"
																		},
																		{
																			"key": "num_results",
																			"value": "0"
																		},
																		{
																			"key": "sort_by",
																			"value": "start_date"
																		},
																		{
																			"key": "sort_order",
																			"value": "asc"
																		},
																		{
																			"key": "session_token",
																			"value": "<API Key>"
																		}
																	]
																}
															},
															"status": "OK",
															"code": 200,
															"_postman_previewlanguage": "json",
															"header": [
																{
																	"key": "Content-Type",
																	"value": "application/json"
																}
															],
															"cookie": [],
															"body": "{\n \"statusCode\": \"<integer>\",\n \"statusDescriptions\": \"<string>\",\n \"data\": [\n  {\n   \"company_id\": \"<long>\",\n   \"client_email\": \"<email>\",\n   \"client_name\": \"<string>\",\n   \"service_id\": \"<long>\",\n   \"start_date\": \"<string>\",\n   \"id\": \"<long>\",\n   \"client_id\": \"<long>\",\n   \"client_phone\": \"<string>\",\n   \"client_address\": \"<string>\",\n   \"employee_id\": \"<long>\",\n   \"location_id\": \"<long>\",\n   \"end_date\": \"<string>\",\n   \"length\": \"<integer>\",\n   \"duration_padding\": 0,\n   \"note\": \"<string>\",\n   \"status\": \"<integer>\",\n   \"type\": \"<string>\",\n   \"last_updated\": \"<dateTime>\",\n   \"created_at\": \"<dateTime>\",\n   \"subservices\": \"<string>\",\n   \"paid\": false,\n   \"price\": 0,\n   \"ews_id\": \"\",\n   \"custom_fields\": \"<object>\",\n   \"timezone_short\": \"<string>\",\n   \"timezone_offset_seconds\": \"<integer>\",\n   \"timezone_id\": \"<integer>\"\n  },\n  {\n   \"company_id\": \"<long>\",\n   \"client_email\": \"<email>\",\n   \"client_name\": \"<string>\",\n   \"service_id\": \"<long>\",\n   \"start_date\": \"<string>\",\n   \"id\": \"<long>\",\n   \"client_id\": \"<long>\",\n   \"client_phone\": \"<string>\",\n   \"client_address\": \"<string>\",\n   \"employee_id\": \"<long>\",\n   \"location_id\": \"<long>\",\n   \"end_date\": \"<string>\",\n   \"length\": \"<integer>\",\n   \"duration_padding\": 0,\n   \"note\": \"<string>\",\n   \"status\": \"<integer>\",\n   \"type\": \"<string>\",\n   \"last_updated\": \"<dateTime>\",\n   \"created_at\": \"<dateTime>\",\n   \"subservices\": \"<string>\",\n   \"paid\": false,\n   \"price\": 0,\n   \"ews_id\": \"\",\n   \"custom_fields\": \"<object>\",\n   \"timezone_short\": \"<string>\",\n   \"timezone_offset_seconds\": \"<integer>\",\n   \"timezone_id\": \"<integer>\"\n  }\n ]\n}"
														}
													]
												},
												{
													"name": "2. Modify appointment by Id",
													"request": {
														"auth": {
															"type": "apikey",
															"apikey": [
																{
																	"key": "value",
																	"value": "{{SESSION_TOKEN}}",
																	"type": "string"
																},
																{
																	"key": "key",
																	"value": "session_token",
																	"type": "string"
																},
																{
																	"key": "in",
																	"value": "query",
																	"type": "string"
																}
															]
														},
														"method": "PUT",
														"header": [
															{
																"key": "Content-Type",
																"value": "application/json"
															}
														],
														"body": {
															"mode": "raw",
															"raw": "{\n    \"company_id\": \"{{company_id}}\",\n    \"client_email\": \"<email>\",\n    \"client_name\": \"<string>\",\n    \"service_id\": \"<long>\",\n    \"start_date\": \"<string>\",\n    \"client_phone\": \"<string>\",\n    \"client_address\": \"<string>\",\n    \"employee_id\": \"<long>\",\n    \"location_id\": \"<long>\",\n    \"duration\": 15,\n    \"note\": \"<string>\",\n    \"status\": \"<integer>\",\n    \"subservices\": \"<string>\",\n    \"paid\": false,\n    \"price\": 0,\n    \"ews_id\": \"\",\n    \"custom_fields\": \"<object>\",\n    \"timezone_id\": \"<integer>\"\n}"
														},
														"url": {
															"raw": "{{baseUrl}}/appointment/:id?company_id={{company_id}}",
															"host": [
																"{{baseUrl}}"
															],
															"path": [
																"appointment",
																":id"
															],
															"query": [
																{
																	"key": "company_id",
																	"value": "{{company_id}}"
																}
															],
															"variable": [
																{
																	"key": "id",
																	"value": "<long>",
																	"description": "(Required) Appointment id"
																}
															]
														},
														"description": "Modify the attributes for an existing appointment. Most commonly used to reschedule the appointment to a different date and time or to modify the appointment status.\n\n<div class='ui grey icon message'>\n<div class='content'>\n  <div class=\"header\">\n  <i class='small paper plane outline\n icon'>\n </i>\n Triggers Client Notification\n</div>\n <p>By default triggers an email and SMS if configured. <a href=\"https://support.setster.com/hc/en-us/sections/360004456154-Email-and-SMS-Notifications\" target=\"_blank\" style=\"color: #636d82 !important\">Learn More</a></p></div></div>\n"
													},
													"response": [
														{
															"name": "successful operation",
															"originalRequest": {
																"method": "PUT",
																"header": [],
																"body": {
																	"mode": "raw",
																	"raw": "{\n    \"data\": {\n        \"company_id\": \"<long>\",\n        \"client_email\": \"<email>\",\n        \"client_name\": \"<string>\",\n        \"service_id\": \"<long>\",\n        \"start_date\": \"<string>\",\n        \"client_phone\": \"<string>\",\n        \"client_address\": \"<string>\",\n        \"employee_id\": \"<long>\",\n        \"location_id\": \"<long>\",\n        \"duration\": 15,\n        \"note\": \"<string>\",\n        \"status\": \"<integer>\",\n        \"subservices\": \"<string>\",\n        \"paid\": false,\n        \"price\": 0,\n        \"ews_id\": \"\",\n        \"custom_fields\": \"<object>\",\n        \"timezone_id\": \"<integer>\"\n    }\n}"
																},
																"url": {
																	"raw": "{{baseUrl}}/appointment/:id?session_token=<API Key>",
																	"host": [
																		"{{baseUrl}}"
																	],
																	"path": [
																		"appointment",
																		":id"
																	],
																	"query": [
																		{
																			"key": "session_token",
																			"value": "<API Key>"
																		}
																	],
																	"variable": [
																		{
																			"key": "id"
																		}
																	]
																}
															},
															"status": "OK",
															"code": 200,
															"_postman_previewlanguage": "json",
															"header": [
																{
																	"key": "Content-Type",
																	"value": "application/json"
																}
															],
															"cookie": [],
															"body": "{\n \"statusCode\": \"<integer>\",\n \"statusDescriptions\": \"<string>\",\n \"data\": {\n  \"company_id\": \"<long>\",\n  \"client_email\": \"<email>\",\n  \"client_name\": \"<string>\",\n  \"service_id\": \"<long>\",\n  \"start_date\": \"<string>\",\n  \"id\": \"<long>\",\n  \"client_id\": \"<long>\",\n  \"client_phone\": \"<string>\",\n  \"client_address\": \"<string>\",\n  \"employee_id\": \"<long>\",\n  \"location_id\": \"<long>\",\n  \"end_date\": \"<string>\",\n  \"length\": \"<integer>\",\n  \"duration_padding\": 0,\n  \"note\": \"<string>\",\n  \"status\": \"<integer>\",\n  \"type\": \"<string>\",\n  \"last_updated\": \"<dateTime>\",\n  \"created_at\": \"<dateTime>\",\n  \"subservices\": \"<string>\",\n  \"paid\": false,\n  \"price\": 0,\n  \"ews_id\": \"\",\n  \"custom_fields\": \"<object>\",\n  \"timezone_short\": \"<string>\",\n  \"timezone_offset_seconds\": \"<integer>\",\n  \"timezone_id\": \"<integer>\"\n }\n}"
														}
													]
												}
											]
										}
									]
								},
								{
									"name": "Appointment Canceled",
									"item": [
										{
											"name": "1. Test Target Url",
											"item": [
												{
													"name": "Test Target Url",
													"event": [
														{
															"listen": "test",
															"script": {
																"exec": [
																	"pm.test('Status received is ' + pm.response.code, function() {",
																	"    pm.expect(pm.response.code).to.be.oneOf([200,201,202]);",
																	"});"
																],
																"type": "text/javascript"
															}
														}
													],
													"request": {
														"method": "POST",
														"header": [
															{
																"key": "setster-verification-key",
																"value": "testkey1234567891234567891234567",
																"description": "Will be return from creating a webhook POST request",
																"type": "text"
															},
															{
																"key": "setster-event-type",
																"value": "appointment.created",
																"type": "text"
															}
														],
														"body": {
															"mode": "raw",
															"raw": "{\n    \"client_street1\": \"{{$randomStreetAddress}}\",\n    \"client_street2\": \"\",\n    \"client_city\": \"{{$randomCity}}\",\n    \"client_state\": \"CA\",\n    \"client_zip\": \"90048\",\n    \"client_country\": \"{{$randomCountryCode}}\",\n    \"client_email\": \"ironman@setster.com\",\n    \"client_id\": \"12345\",\n    \"client_name\": \"{{$randomFullName}}\",\n    \"client_phone\": \"{{$randomPhoneNumber}}\",\n    \"custom_fields\": \"{\\\"1\\\":[\\\"(555) 555-5555\\\",\\\"Phone\\\"],\\\"2\\\":[null,\\\"Address\\\"]}\",\n    \"custom_data\": \"{\\\"phone_70104\\\":\\\"(555) 555-5555\\\",\\\"address_70105\\\":null}\",\n    \"created_at\": \"2021-02-09T11:14:10-08:00\",\n    \"employee_id\": \"12345\",\n    \"end_date\": \"2021-02-11T14:00:00-08:00\",\n    \"id\": \"12345678912\",\n    \"last_updated\": \"2021-02-09T11:17:20-08:00\",\n    \"location_id\": \"12345\",\n    \"location_name\": \"Location 1\",\n    \"note\": \"\",\n    \"paid\": false,\n    \"price\": \"0.00\",\n    \"provider_name\": \"Captain Marvel\",\n    \"provider_phone\": \"{{$randomPhoneNumber}}\",\n    \"service_id\": \"12345\",\n    \"service_name\": \"Service 1\",\n    \"start_date\": \"2021-02-11T12:00:00-08:00\",\n    \"status\": \"Confirmed\",\n    \"subservices\": \"\",\n    \"timezone_id\": \"553\",\n    \"duration\": \"2:0:0\",\n    \"client_full_address\": \"123 Road, #14, Los Angeles, CA, 90048, USA\",\n    \"start_date_friendly\": \"Thu, Feb 11th 2021, 12:00:00 PM (PST)\",\n    \"end_date_friendly\": \"Thu, Feb 11th 2021, 2:00:00 PM (PST)\",\n    \"created_at_friendly\": \"Tue, Feb 9th 2021, 11:14:10 AM (PST)\",\n    \"last_updated_friendly\": \"Tue, Feb 9th 2021, 11:17:20 AM (PST)\"\n}",
															"options": {
																"raw": {
																	"language": "json"
																}
															}
														},
														"url": {
															"raw": "{{webhook_target_url_canceled}}",
															"host": [
																"{{webhook_target_url_canceled}}"
															]
														}
													},
													"response": [
														{
															"name": "Webhook Event Data",
															"originalRequest": {
																"method": "POST",
																"header": [
																	{
																		"key": "setster-verification-key",
																		"value": "testkey1234567891234567891234567",
																		"type": "text"
																	},
																	{
																		"key": "setster-event-type",
																		"value": "appointment.canceled",
																		"type": "text"
																	}
																],
																"body": {
																	"mode": "raw",
																	"raw": "{\n  \"data\": {\n    \"company_id\": {{company_id}},\n    \"client_email\": \"{{client_email}}\",\n    \"client_name\": \"{{client_name}}\",\n    \"client_phone\": \"12345678\",\n    \"client_address\": \"string\",\n    \"employee_id\": {{employee_id}},\n    \"location_id\": {{location_id}},\n    \"service_id\": {{service_id}},\n    \"start_date\": \"{{start_date}} {{available_time}}\",\n    \"duration\": 0,\n    \"note\": \"string\",\n    \"status\": 0,\n    \"subservices\": \"string\",\n    \"paid\": false,\n    \"price\": 0,\n    \"ews_id\": \"string\",\n    \"custom_fields\": {\n      \"1\": [\n        \"(01512) 793246\",\n        \"Work Phone\"\n      ],\n      \"2\": [\n        [\n          \"201 S. Division St.\",\n          \"500\",\n          \"Ann Arbor\",\n          \"MI\",\n          \"48104\"\n        ],\n        \"Full Address\"\n      ],\n      \"3\": [\n        \"123ABC\",\n        \"Coupon Code\",\n        \"h\"\n      ]\n    },\n    \"timezone_id\": 553\n  }\n}\n",
																	"options": {
																		"raw": {
																			"language": "json"
																		}
																	}
																},
																"url": {
																	"raw": "{{baseUrl}}/appointment",
																	"host": [
																		"{{baseUrl}}"
																	],
																	"path": [
																		"appointment"
																	]
																}
															},
															"_postman_previewlanguage": "json",
															"header": [],
															"cookie": [],
															"body": "{\n    \"client_street1\": \"1111 Test Street\",\n    \"client_street2\": \"EQWE\",\n    \"client_city\": \"LA\",\n    \"client_state\": \"CA\",\n    \"client_zip\": \"300925\",\n    \"client_country\": \"USA\",\n    \"client_email\": \"test@setster.com\",\n    \"client_id\": \"1425851\",\n    \"client_name\": \"testtt\",\n    \"client_phone\": \"+40756250176\",\n    \"custom_fields\": \"{\\\"1\\\":[\\\"+40756250176\\\",\\\"Phone\\\"],\\\"2\\\":[[\\\"kjkjk\\\",\\\"l\\\",\\\"l\\\",\\\"kjl\\\",\\\"kj\\\"],\\\"Address\\\"]}\",\n    \"custom_data\": {\n        \"phone_41086\": \"+40756250176\",\n        \"address_70781\": {\n            \"street\": \"kjkjk\",\n            \"suite\": \"l\",\n            \"city\": \"l\",\n            \"state\": \"kjl\",\n            \"zip\": \"kj\"\n        }\n    },\n    \"created_at\": \"2021-03-10T11:47:20+02:00\",\n    \"employee_id\": \"12700\",\n    \"end_date\": \"2021-03-11T10:00:00+02:00\",\n    \"id\": \"19867165037\",\n    \"last_updated\": \"2021-03-10T11:47:23+02:00\",\n    \"location_id\": \"29322\",\n    \"location_name\": \"Location A\",\n    \"note\": \"lkjl\",\n    \"paid\": false,\n    \"price\": \"0.00\",\n    \"provider_name\": \"Provider A\",\n    \"provider_phone\": \"555-222-4546\",\n    \"service_id\": \"41523\",\n    \"service_name\": \"Service A\",\n    \"start_date\": \"2021-03-11T09:00:00+02:00\",\n    \"status\": \"Confirmed\",\n    \"subservices\": \"\",\n    \"timezone_id\": \"414\",\n    \"duration\": \"1:0:0\",\n    \"client_full_address\": \"kjkjk, l, l, kjl, kj, EQWE, LA, CA, 300925, USA\",\n    \"start_date_friendly\": \"Thu, Mar 11th 2021, 9:00:00 AM (EET)\",\n    \"end_date_friendly\": \"Thu, Mar 11th 2021, 10:00:00 AM (EET)\",\n    \"created_at_friendly\": \"Wed, Mar 10th 2021, 11:47:20 AM (EET)\",\n    \"last_updated_friendly\": \"Wed, Mar 10th 2021, 11:47:23 AM (EET)\"\n}"
														}
													]
												}
											]
										},
										{
											"name": "2. Create Webhook",
											"item": [
												{
													"name": "Create Webhook",
													"request": {
														"auth": {
															"type": "apikey",
															"apikey": [
																{
																	"key": "value",
																	"value": "{{SESSION_TOKEN}}",
																	"type": "string"
																},
																{
																	"key": "key",
																	"value": "session_token",
																	"type": "string"
																},
																{
																	"key": "in",
																	"value": "query",
																	"type": "string"
																}
															]
														},
														"method": "POST",
														"header": [
															{
																"key": "Content-Type",
																"value": "application/json"
															}
														],
														"body": {
															"mode": "raw",
															"raw": "{\"company_id\":{{company_id}},\"target_url\":\"{{webhook_target_url_canceled}}\",\"events\":[\"appointment.canceled\"],\"active\":1}",
															"options": {
																"raw": {
																	"language": "json"
																}
															}
														},
														"url": {
															"raw": "{{baseUrl}}/subscribe?company_id={{company_id}}",
															"host": [
																"{{baseUrl}}"
															],
															"path": [
																"subscribe"
															],
															"query": [
																{
																	"key": "company_id",
																	"value": "{{company_id}}"
																}
															]
														},
														"description": "Create a webHook"
													},
													"response": [
														{
															"name": "successful operation",
															"originalRequest": {
																"method": "POST",
																"header": [],
																"body": {
																	"mode": "urlencoded",
																	"urlencoded": [
																		{
																			"key": "data",
																			"value": "{\"company_id\":24232,\"target_url\":\"\",\"events\":[\"appointment.created\",\"appointment.created\"],\"active\":1}"
																		}
																	]
																},
																"url": {
																	"raw": "{{baseUrl}}/subscribe?session_token=<API Key>",
																	"host": [
																		"{{baseUrl}}"
																	],
																	"path": [
																		"subscribe"
																	],
																	"query": [
																		{
																			"key": "session_token",
																			"value": "<API Key>"
																		}
																	]
																}
															},
															"status": "Created",
															"code": 201,
															"_postman_previewlanguage": "json",
															"header": [
																{
																	"key": "Content-Type",
																	"value": "application/json"
																}
															],
															"cookie": [],
															"body": "{\n \"statusCode\": null,\n \"statusDescriptions\": \"OK\",\n \"data\": {\n  \"company_id\": 24232,\n  \"target_url\": \"\",\n  \"id\": 13425,\n  \"events\": [\n   {\n    \"id\": 13425,\n    \"event\": \"appointment.created\",\n    \"active\": 1,\n    \"created_at\": \"1953-08-31T05:07:01.204Z\"\n   },\n   {\n    \"id\": 13425,\n    \"event\": \"appointment.created\",\n    \"active\": 1,\n    \"created_at\": \"1994-01-11T13:41:48.763Z\"\n   }\n  ],\n  \"active\": 1,\n  \"verification_key\": \"est officia\",\n  \"created_at\": \"1969-08-08T00:35:43.863Z\",\n  \"updated_at\": \"1943-07-07T22:50:53.025Z\"\n }\n}"
														}
													]
												}
											]
										},
										{
											"name": "3. Test Webhook",
											"item": [
												{
													"name": "1. List appointments (Find Id)",
													"request": {
														"auth": {
															"type": "apikey",
															"apikey": [
																{
																	"key": "value",
																	"value": "{{SESSION_TOKEN}}",
																	"type": "string"
																},
																{
																	"key": "key",
																	"value": "session_token",
																	"type": "string"
																},
																{
																	"key": "in",
																	"value": "query",
																	"type": "string"
																}
															]
														},
														"method": "GET",
														"header": [],
														"url": {
															"raw": "{{baseUrl}}/appointment?id=<integer>&company_id={{company_id}}&employee_id=<integer>&location_id=<integer>&service_id=<integer>&client_id=<integer>&timezone_id=<integer>&ews_id=<string>&status=<string>&search_text=<string>&client_name=<string>&client_email=<string>&custom_field_1=<string>&custom_field_2=<string>&custom_field_3=<string>&custom_field_4=<string>&custom_field_5=<string>&start_date=<string>&end_date=<string>&paid=<integer>&start=0&end=<integer>&updated_after=<dateTime>&updated_before=<dateTime>&created_after=<dateTime>&created_before=<dateTime>&num_results=0&sort_by=start_date&sort_order=asc",
															"host": [
																"{{baseUrl}}"
															],
															"path": [
																"appointment"
															],
															"query": [
																{
																	"key": "id",
																	"value": "<integer>",
																	"description": "The appointment id"
																},
																{
																	"key": "company_id",
																	"value": "{{company_id}}",
																	"description": "(Required) "
																},
																{
																	"key": "employee_id",
																	"value": "<integer>"
																},
																{
																	"key": "location_id",
																	"value": "<integer>"
																},
																{
																	"key": "service_id",
																	"value": "<integer>"
																},
																{
																	"key": "client_id",
																	"value": "<integer>"
																},
																{
																	"key": "timezone_id",
																	"value": "<integer>",
																	"description": "Returns appointments date fields with specified time offset"
																},
																{
																	"key": "ews_id",
																	"value": "<string>"
																},
																{
																	"key": "status",
																	"value": "<string>"
																},
																{
																	"key": "search_text",
																	"value": "<string>"
																},
																{
																	"key": "client_name",
																	"value": "<string>"
																},
																{
																	"key": "client_email",
																	"value": "<string>"
																},
																{
																	"key": "custom_field_1",
																	"value": "<string>"
																},
																{
																	"key": "custom_field_2",
																	"value": "<string>"
																},
																{
																	"key": "custom_field_3",
																	"value": "<string>"
																},
																{
																	"key": "custom_field_4",
																	"value": "<string>"
																},
																{
																	"key": "custom_field_5",
																	"value": "<string>"
																},
																{
																	"key": "start_date",
																	"value": "<string>"
																},
																{
																	"key": "end_date",
																	"value": "<string>"
																},
																{
																	"key": "paid",
																	"value": "<integer>"
																},
																{
																	"key": "start",
																	"value": "0",
																	"description": "List pager"
																},
																{
																	"key": "end",
																	"value": "<integer>",
																	"description": "List pager / 'all' - no limit"
																},
																{
																	"key": "updated_after",
																	"value": "<dateTime>",
																	"description": "Lower date limit for which the appointment was updated"
																},
																{
																	"key": "updated_before",
																	"value": "<dateTime>",
																	"description": "Upper date limit for which the appointment was updated"
																},
																{
																	"key": "created_after",
																	"value": "<dateTime>",
																	"description": "Lower date limit for which the appointment was created"
																},
																{
																	"key": "created_before",
																	"value": "<dateTime>",
																	"description": "Upper date limit for which the appointment was created"
																},
																{
																	"key": "num_results",
																	"value": "0",
																	"description": "If 1, the call returns only the number of appointments found"
																},
																{
																	"key": "sort_by",
																	"value": "start_date"
																},
																{
																	"key": "sort_order",
																	"value": "asc"
																}
															]
														},
														"description": "Get a list of all appointments (upcoming and past) and their attributes.\nWe advise using filters to fetch appointments for specific date ranges or different attributes."
													},
													"response": [
														{
															"name": "successful operation",
															"originalRequest": {
																"method": "GET",
																"header": [],
																"url": {
																	"raw": "{{baseUrl}}/appointment?id=<integer>&company_id=<integer>&employee_id=<integer>&location_id=<integer>&service_id=<integer>&client_id=<integer>&timezone_id=<integer>&ews_id=<string>&status=<string>&search_text=<string>&client_name=<string>&client_email=<string>&custom_field_1=<string>&custom_field_2=<string>&custom_field_3=<string>&custom_field_4=<string>&custom_field_5=<string>&start_date=<string>&end_date=<string>&paid=<integer>&start=0&end=<integer>&updated_after=<dateTime>&updated_before=<dateTime>&created_after=<dateTime>&created_before=<dateTime>&num_results=0&sort_by=start_date&sort_order=asc&session_token=<API Key>",
																	"host": [
																		"{{baseUrl}}"
																	],
																	"path": [
																		"appointment"
																	],
																	"query": [
																		{
																			"key": "id",
																			"value": "<integer>"
																		},
																		{
																			"key": "company_id",
																			"value": "<integer>"
																		},
																		{
																			"key": "employee_id",
																			"value": "<integer>"
																		},
																		{
																			"key": "location_id",
																			"value": "<integer>"
																		},
																		{
																			"key": "service_id",
																			"value": "<integer>"
																		},
																		{
																			"key": "client_id",
																			"value": "<integer>"
																		},
																		{
																			"key": "timezone_id",
																			"value": "<integer>"
																		},
																		{
																			"key": "ews_id",
																			"value": "<string>"
																		},
																		{
																			"key": "status",
																			"value": "<string>"
																		},
																		{
																			"key": "search_text",
																			"value": "<string>"
																		},
																		{
																			"key": "client_name",
																			"value": "<string>"
																		},
																		{
																			"key": "client_email",
																			"value": "<string>"
																		},
																		{
																			"key": "custom_field_1",
																			"value": "<string>"
																		},
																		{
																			"key": "custom_field_2",
																			"value": "<string>"
																		},
																		{
																			"key": "custom_field_3",
																			"value": "<string>"
																		},
																		{
																			"key": "custom_field_4",
																			"value": "<string>"
																		},
																		{
																			"key": "custom_field_5",
																			"value": "<string>"
																		},
																		{
																			"key": "start_date",
																			"value": "<string>"
																		},
																		{
																			"key": "end_date",
																			"value": "<string>"
																		},
																		{
																			"key": "paid",
																			"value": "<integer>"
																		},
																		{
																			"key": "start",
																			"value": "0"
																		},
																		{
																			"key": "end",
																			"value": "<integer>"
																		},
																		{
																			"key": "updated_after",
																			"value": "<dateTime>"
																		},
																		{
																			"key": "updated_before",
																			"value": "<dateTime>"
																		},
																		{
																			"key": "created_after",
																			"value": "<dateTime>"
																		},
																		{
																			"key": "created_before",
																			"value": "<dateTime>"
																		},
																		{
																			"key": "num_results",
																			"value": "0"
																		},
																		{
																			"key": "sort_by",
																			"value": "start_date"
																		},
																		{
																			"key": "sort_order",
																			"value": "asc"
																		},
																		{
																			"key": "session_token",
																			"value": "<API Key>"
																		}
																	]
																}
															},
															"status": "OK",
															"code": 200,
															"_postman_previewlanguage": "json",
															"header": [
																{
																	"key": "Content-Type",
																	"value": "application/json"
																}
															],
															"cookie": [],
															"body": "{\n \"statusCode\": \"<integer>\",\n \"statusDescriptions\": \"<string>\",\n \"data\": [\n  {\n   \"company_id\": \"<long>\",\n   \"client_email\": \"<email>\",\n   \"client_name\": \"<string>\",\n   \"service_id\": \"<long>\",\n   \"start_date\": \"<string>\",\n   \"id\": \"<long>\",\n   \"client_id\": \"<long>\",\n   \"client_phone\": \"<string>\",\n   \"client_address\": \"<string>\",\n   \"employee_id\": \"<long>\",\n   \"location_id\": \"<long>\",\n   \"end_date\": \"<string>\",\n   \"length\": \"<integer>\",\n   \"duration_padding\": 0,\n   \"note\": \"<string>\",\n   \"status\": \"<integer>\",\n   \"type\": \"<string>\",\n   \"last_updated\": \"<dateTime>\",\n   \"created_at\": \"<dateTime>\",\n   \"subservices\": \"<string>\",\n   \"paid\": false,\n   \"price\": 0,\n   \"ews_id\": \"\",\n   \"custom_fields\": \"<object>\",\n   \"timezone_short\": \"<string>\",\n   \"timezone_offset_seconds\": \"<integer>\",\n   \"timezone_id\": \"<integer>\"\n  },\n  {\n   \"company_id\": \"<long>\",\n   \"client_email\": \"<email>\",\n   \"client_name\": \"<string>\",\n   \"service_id\": \"<long>\",\n   \"start_date\": \"<string>\",\n   \"id\": \"<long>\",\n   \"client_id\": \"<long>\",\n   \"client_phone\": \"<string>\",\n   \"client_address\": \"<string>\",\n   \"employee_id\": \"<long>\",\n   \"location_id\": \"<long>\",\n   \"end_date\": \"<string>\",\n   \"length\": \"<integer>\",\n   \"duration_padding\": 0,\n   \"note\": \"<string>\",\n   \"status\": \"<integer>\",\n   \"type\": \"<string>\",\n   \"last_updated\": \"<dateTime>\",\n   \"created_at\": \"<dateTime>\",\n   \"subservices\": \"<string>\",\n   \"paid\": false,\n   \"price\": 0,\n   \"ews_id\": \"\",\n   \"custom_fields\": \"<object>\",\n   \"timezone_short\": \"<string>\",\n   \"timezone_offset_seconds\": \"<integer>\",\n   \"timezone_id\": \"<integer>\"\n  }\n ]\n}"
														}
													]
												},
												{
													"name": "2. Modify appointment status (3)",
													"event": [
														{
															"listen": "test",
															"script": {
																"exec": [
																	"// pm.test(\"The status for cancelling an appointment should be set to 3\", function(){",
																	"//     const responseJson = pm.response.json().data;",
																	"//     if(Object.keys(responseJson).includes('status')){",
																	"//         const currentStatus = responseJson.status;",
																	"//         pm.expect(currentStatus).to.eql(\"3\");",
																	"//     }",
																	"// });"
																],
																"type": "text/javascript"
															}
														}
													],
													"request": {
														"auth": {
															"type": "apikey",
															"apikey": [
																{
																	"key": "value",
																	"value": "{{SESSION_TOKEN}}",
																	"type": "string"
																},
																{
																	"key": "key",
																	"value": "session_token",
																	"type": "string"
																},
																{
																	"key": "in",
																	"value": "query",
																	"type": "string"
																}
															]
														},
														"method": "PUT",
														"header": [
															{
																"key": "Content-Type",
																"value": "application/json"
															}
														],
														"body": {
															"mode": "raw",
															"raw": "{\n    \"company_id\": {{company_id}},\n    \"client_email\": \"{{client_email}}\",\n    \"client_name\": \"{{client_name}}\",\n    \"service_id\": {{service_id}},\n    \"start_date\": \"{{start_date}}\",\n    \"status\": 3,\n    \"client_phone\": \"<string>\",\n    \"client_address\": \"<string>\",\n    \"employee_id\": \"<long>\",\n    \"location_id\": \"<long>\",\n    \"duration\": 15,\n    \"note\": \"<string>\",\n    \"subservices\": \"<string>\",\n    \"paid\": false,\n    \"price\": 0,\n    \"ews_id\": \"\",\n    \"custom_fields\": \"<object>\",\n    \"timezone_id\": \"<integer>\"\n}"
														},
														"url": {
															"raw": "{{baseUrl}}/appointment/:id?company_id={{company_id}}",
															"host": [
																"{{baseUrl}}"
															],
															"path": [
																"appointment",
																":id"
															],
															"query": [
																{
																	"key": "company_id",
																	"value": "{{company_id}}"
																}
															],
															"variable": [
																{
																	"key": "id",
																	"value": "<long>",
																	"description": "(Required) Appointment id"
																}
															]
														},
														"description": "Modify the attributes for an existing appointment. Most commonly used to reschedule the appointment to a different date and time or to modify the appointment status.\n\n<div class='ui grey icon message'>\n<div class='content'>\n  <div class=\"header\">\n  <i class='small paper plane outline\n icon'>\n </i>\n Triggers Client Notification\n</div>\n <p>By default triggers an email and SMS if configured. <a href=\"https://support.setster.com/hc/en-us/sections/360004456154-Email-and-SMS-Notifications\" target=\"_blank\" style=\"color: #636d82 !important\">Learn More</a></p></div></div>\n"
													},
													"response": [
														{
															"name": "successful operation",
															"originalRequest": {
																"method": "PUT",
																"header": [],
																"body": {
																	"mode": "raw",
																	"raw": "{\n    \"data\": {\n        \"company_id\": \"<long>\",\n        \"client_email\": \"<email>\",\n        \"client_name\": \"<string>\",\n        \"service_id\": \"<long>\",\n        \"start_date\": \"<string>\",\n        \"client_phone\": \"<string>\",\n        \"client_address\": \"<string>\",\n        \"employee_id\": \"<long>\",\n        \"location_id\": \"<long>\",\n        \"duration\": 15,\n        \"note\": \"<string>\",\n        \"status\": \"<integer>\",\n        \"subservices\": \"<string>\",\n        \"paid\": false,\n        \"price\": 0,\n        \"ews_id\": \"\",\n        \"custom_fields\": \"<object>\",\n        \"timezone_id\": \"<integer>\"\n    }\n}"
																},
																"url": {
																	"raw": "{{baseUrl}}/appointment/:id?session_token=<API Key>",
																	"host": [
																		"{{baseUrl}}"
																	],
																	"path": [
																		"appointment",
																		":id"
																	],
																	"query": [
																		{
																			"key": "session_token",
																			"value": "<API Key>"
																		}
																	],
																	"variable": [
																		{
																			"key": "id"
																		}
																	]
																}
															},
															"status": "OK",
															"code": 200,
															"_postman_previewlanguage": "json",
															"header": [
																{
																	"key": "Content-Type",
																	"value": "application/json"
																}
															],
															"cookie": [],
															"body": "{\n \"statusCode\": \"<integer>\",\n \"statusDescriptions\": \"<string>\",\n \"data\": {\n  \"company_id\": \"<long>\",\n  \"client_email\": \"<email>\",\n  \"client_name\": \"<string>\",\n  \"service_id\": \"<long>\",\n  \"start_date\": \"<string>\",\n  \"id\": \"<long>\",\n  \"client_id\": \"<long>\",\n  \"client_phone\": \"<string>\",\n  \"client_address\": \"<string>\",\n  \"employee_id\": \"<long>\",\n  \"location_id\": \"<long>\",\n  \"end_date\": \"<string>\",\n  \"length\": \"<integer>\",\n  \"duration_padding\": 0,\n  \"note\": \"<string>\",\n  \"status\": \"<integer>\",\n  \"type\": \"<string>\",\n  \"last_updated\": \"<dateTime>\",\n  \"created_at\": \"<dateTime>\",\n  \"subservices\": \"<string>\",\n  \"paid\": false,\n  \"price\": 0,\n  \"ews_id\": \"\",\n  \"custom_fields\": \"<object>\",\n  \"timezone_short\": \"<string>\",\n  \"timezone_offset_seconds\": \"<integer>\",\n  \"timezone_id\": \"<integer>\"\n }\n}"
														}
													]
												}
											]
										}
									]
								},
								{
									"name": "Appointment Rescheduled",
									"item": [
										{
											"name": "1. Test Target Url",
											"item": [
												{
													"name": "Test Target Url",
													"event": [
														{
															"listen": "test",
															"script": {
																"exec": [
																	"pm.test('Status received is ' + pm.response.code, function() {",
																	"    pm.expect(pm.response.code).to.be.oneOf([200,201,202]);",
																	"});"
																],
																"type": "text/javascript"
															}
														}
													],
													"request": {
														"method": "POST",
														"header": [
															{
																"key": "setster-verification-key",
																"value": "testkey1234567891234567891234567",
																"description": "Will be return from creating a webhook POST request",
																"type": "text"
															},
															{
																"key": "setster-event-type",
																"value": "appointment.created",
																"type": "text"
															}
														],
														"body": {
															"mode": "raw",
															"raw": "{\n    \"client_street1\": \"{{$randomStreetAddress}}\",\n    \"client_street2\": \"\",\n    \"client_city\": \"{{$randomCity}}\",\n    \"client_state\": \"CA\",\n    \"client_zip\": \"90048\",\n    \"client_country\": \"{{$randomCountryCode}}\",\n    \"client_email\": \"ironman@setster.com\",\n    \"client_id\": \"12345\",\n    \"client_name\": \"{{$randomFullName}}\",\n    \"client_phone\": \"{{$randomPhoneNumber}}\",\n    \"custom_fields\": \"{\\\"1\\\":[\\\"(555) 555-5555\\\",\\\"Phone\\\"],\\\"2\\\":[null,\\\"Address\\\"]}\",\n    \"custom_data\": \"{\\\"phone_70104\\\":\\\"(555) 555-5555\\\",\\\"address_70105\\\":null}\",\n    \"created_at\": \"2021-02-09T11:14:10-08:00\",\n    \"employee_id\": \"12345\",\n    \"end_date\": \"2021-02-11T14:00:00-08:00\",\n    \"id\": \"12345678912\",\n    \"last_updated\": \"2021-02-09T11:17:20-08:00\",\n    \"location_id\": \"12345\",\n    \"location_name\": \"Location 1\",\n    \"note\": \"\",\n    \"paid\": false,\n    \"price\": \"0.00\",\n    \"provider_name\": \"Captain Marvel\",\n    \"provider_phone\": \"{{$randomPhoneNumber}}\",\n    \"service_id\": \"12345\",\n    \"service_name\": \"Service 1\",\n    \"start_date\": \"2021-02-11T12:00:00-08:00\",\n    \"status\": \"Confirmed\",\n    \"subservices\": \"\",\n    \"timezone_id\": \"553\",\n    \"duration\": \"2:0:0\",\n    \"client_full_address\": \"123 Road, #14, Los Angeles, CA, 90048, USA\",\n    \"start_date_friendly\": \"Thu, Feb 11th 2021, 12:00:00 PM (PST)\",\n    \"end_date_friendly\": \"Thu, Feb 11th 2021, 2:00:00 PM (PST)\",\n    \"created_at_friendly\": \"Tue, Feb 9th 2021, 11:14:10 AM (PST)\",\n    \"last_updated_friendly\": \"Tue, Feb 9th 2021, 11:17:20 AM (PST)\"\n}",
															"options": {
																"raw": {
																	"language": "json"
																}
															}
														},
														"url": {
															"raw": "{{webhook_target_url_rescheduled}}",
															"host": [
																"{{webhook_target_url_rescheduled}}"
															]
														}
													},
													"response": [
														{
															"name": "Webhook Event Data",
															"originalRequest": {
																"method": "POST",
																"header": [
																	{
																		"key": "setster-verification-key",
																		"value": "testkey1234567891234567891234567",
																		"type": "text"
																	},
																	{
																		"key": "setster-event-type",
																		"value": "appointment.rescheduled",
																		"type": "text"
																	}
																],
																"body": {
																	"mode": "raw",
																	"raw": "{\n  \"data\": {\n    \"company_id\": {{company_id}},\n    \"client_email\": \"{{client_email}}\",\n    \"client_name\": \"{{client_name}}\",\n    \"client_phone\": \"12345678\",\n    \"client_address\": \"string\",\n    \"employee_id\": {{employee_id}},\n    \"location_id\": {{location_id}},\n    \"service_id\": {{service_id}},\n    \"start_date\": \"{{start_date}} {{available_time}}\",\n    \"duration\": 0,\n    \"note\": \"string\",\n    \"status\": 0,\n    \"subservices\": \"string\",\n    \"paid\": false,\n    \"price\": 0,\n    \"ews_id\": \"string\",\n    \"custom_fields\": {\n      \"1\": [\n        \"(01512) 793246\",\n        \"Work Phone\"\n      ],\n      \"2\": [\n        [\n          \"201 S. Division St.\",\n          \"500\",\n          \"Ann Arbor\",\n          \"MI\",\n          \"48104\"\n        ],\n        \"Full Address\"\n      ],\n      \"3\": [\n        \"123ABC\",\n        \"Coupon Code\",\n        \"h\"\n      ]\n    },\n    \"timezone_id\": 553\n  }\n}\n",
																	"options": {
																		"raw": {
																			"language": "json"
																		}
																	}
																},
																"url": {
																	"raw": "{{baseUrl}}/appointment",
																	"host": [
																		"{{baseUrl}}"
																	],
																	"path": [
																		"appointment"
																	]
																}
															},
															"_postman_previewlanguage": "json",
															"header": [],
															"cookie": [],
															"body": "{\n    \"client_street1\": \"1111 Test Street\",\n    \"client_street2\": \"EQWE\",\n    \"client_city\": \"LA\",\n    \"client_state\": \"CA\",\n    \"client_zip\": \"300925\",\n    \"client_country\": \"USA\",\n    \"client_email\": \"test@setster.com\",\n    \"client_id\": \"1425851\",\n    \"client_name\": \"testtt\",\n    \"client_phone\": \"+40756250176\",\n    \"custom_fields\": \"{\\\"1\\\":[\\\"+40756250176\\\",\\\"Phone\\\"],\\\"2\\\":[[\\\"kjkjk\\\",\\\"l\\\",\\\"l\\\",\\\"kjl\\\",\\\"kj\\\"],\\\"Address\\\"]}\",\n    \"custom_data\": {\n        \"phone_41086\": \"+40756250176\",\n        \"address_70781\": {\n            \"street\": \"kjkjk\",\n            \"suite\": \"l\",\n            \"city\": \"l\",\n            \"state\": \"kjl\",\n            \"zip\": \"kj\"\n        }\n    },\n    \"created_at\": \"2021-03-10T11:47:20+02:00\",\n    \"employee_id\": \"12700\",\n    \"end_date\": \"2021-03-11T10:00:00+02:00\",\n    \"id\": \"19867165037\",\n    \"last_updated\": \"2021-03-10T11:47:23+02:00\",\n    \"location_id\": \"29322\",\n    \"location_name\": \"Location A\",\n    \"note\": \"lkjl\",\n    \"paid\": false,\n    \"price\": \"0.00\",\n    \"provider_name\": \"Provider A\",\n    \"provider_phone\": \"555-222-4546\",\n    \"service_id\": \"41523\",\n    \"service_name\": \"Service A\",\n    \"start_date\": \"2021-03-11T09:00:00+02:00\",\n    \"status\": \"Confirmed\",\n    \"subservices\": \"\",\n    \"timezone_id\": \"414\",\n    \"duration\": \"1:0:0\",\n    \"client_full_address\": \"kjkjk, l, l, kjl, kj, EQWE, LA, CA, 300925, USA\",\n    \"start_date_friendly\": \"Thu, Mar 11th 2021, 9:00:00 AM (EET)\",\n    \"end_date_friendly\": \"Thu, Mar 11th 2021, 10:00:00 AM (EET)\",\n    \"created_at_friendly\": \"Wed, Mar 10th 2021, 11:47:20 AM (EET)\",\n    \"last_updated_friendly\": \"Wed, Mar 10th 2021, 11:47:23 AM (EET)\"\n}"
														}
													]
												}
											]
										},
										{
											"name": "2. Create Webhook",
											"item": [
												{
													"name": "Create Webhook",
													"request": {
														"auth": {
															"type": "apikey",
															"apikey": [
																{
																	"key": "value",
																	"value": "{{SESSION_TOKEN}}",
																	"type": "string"
																},
																{
																	"key": "key",
																	"value": "session_token",
																	"type": "string"
																},
																{
																	"key": "in",
																	"value": "query",
																	"type": "string"
																}
															]
														},
														"method": "POST",
														"header": [
															{
																"key": "Content-Type",
																"value": "application/json"
															}
														],
														"body": {
															"mode": "raw",
															"raw": "{\"company_id\":{{company_id}},\"target_url\":\"{{webhook_target_url_rescheduled}}\",\"events\":[\"appointment.rescheduled\"],\"active\":1}",
															"options": {
																"raw": {
																	"language": "json"
																}
															}
														},
														"url": {
															"raw": "{{baseUrl}}/subscribe?company_id={{company_id}}",
															"host": [
																"{{baseUrl}}"
															],
															"path": [
																"subscribe"
															],
															"query": [
																{
																	"key": "company_id",
																	"value": "{{company_id}}"
																}
															]
														},
														"description": "Create a webHook"
													},
													"response": [
														{
															"name": "successful operation",
															"originalRequest": {
																"method": "POST",
																"header": [],
																"body": {
																	"mode": "urlencoded",
																	"urlencoded": [
																		{
																			"key": "data",
																			"value": "{\"company_id\":24232,\"target_url\":\"\",\"events\":[\"appointment.created\",\"appointment.created\"],\"active\":1}"
																		}
																	]
																},
																"url": {
																	"raw": "{{baseUrl}}/subscribe?session_token=<API Key>",
																	"host": [
																		"{{baseUrl}}"
																	],
																	"path": [
																		"subscribe"
																	],
																	"query": [
																		{
																			"key": "session_token",
																			"value": "<API Key>"
																		}
																	]
																}
															},
															"status": "Created",
															"code": 201,
															"_postman_previewlanguage": "json",
															"header": [
																{
																	"key": "Content-Type",
																	"value": "application/json"
																}
															],
															"cookie": [],
															"body": "{\n \"statusCode\": null,\n \"statusDescriptions\": \"OK\",\n \"data\": {\n  \"company_id\": 24232,\n  \"target_url\": \"\",\n  \"id\": 13425,\n  \"events\": [\n   {\n    \"id\": 13425,\n    \"event\": \"appointment.created\",\n    \"active\": 1,\n    \"created_at\": \"1953-08-31T05:07:01.204Z\"\n   },\n   {\n    \"id\": 13425,\n    \"event\": \"appointment.created\",\n    \"active\": 1,\n    \"created_at\": \"1994-01-11T13:41:48.763Z\"\n   }\n  ],\n  \"active\": 1,\n  \"verification_key\": \"est officia\",\n  \"created_at\": \"1969-08-08T00:35:43.863Z\",\n  \"updated_at\": \"1943-07-07T22:50:53.025Z\"\n }\n}"
														}
													]
												}
											]
										},
										{
											"name": "3. Test Webhook",
											"item": [
												{
													"name": "1. List appointments (Find Id)",
													"request": {
														"auth": {
															"type": "apikey",
															"apikey": [
																{
																	"key": "value",
																	"value": "{{SESSION_TOKEN}}",
																	"type": "string"
																},
																{
																	"key": "key",
																	"value": "session_token",
																	"type": "string"
																},
																{
																	"key": "in",
																	"value": "query",
																	"type": "string"
																}
															]
														},
														"method": "GET",
														"header": [],
														"url": {
															"raw": "{{baseUrl}}/appointment?id=<integer>&company_id={{company_id}}&employee_id=<integer>&location_id=<integer>&service_id=<integer>&client_id=<integer>&timezone_id=<integer>&ews_id=<string>&status=<string>&search_text=<string>&client_name=<string>&client_email=<string>&custom_field_1=<string>&custom_field_2=<string>&custom_field_3=<string>&custom_field_4=<string>&custom_field_5=<string>&start_date=<string>&end_date=<string>&paid=<integer>&start=0&end=<integer>&updated_after=<dateTime>&updated_before=<dateTime>&created_after=<dateTime>&created_before=<dateTime>&num_results=0&sort_by=start_date&sort_order=asc",
															"host": [
																"{{baseUrl}}"
															],
															"path": [
																"appointment"
															],
															"query": [
																{
																	"key": "id",
																	"value": "<integer>",
																	"description": "The appointment id"
																},
																{
																	"key": "company_id",
																	"value": "{{company_id}}",
																	"description": "(Required) "
																},
																{
																	"key": "employee_id",
																	"value": "<integer>"
																},
																{
																	"key": "location_id",
																	"value": "<integer>"
																},
																{
																	"key": "service_id",
																	"value": "<integer>"
																},
																{
																	"key": "client_id",
																	"value": "<integer>"
																},
																{
																	"key": "timezone_id",
																	"value": "<integer>",
																	"description": "Returns appointments date fields with specified time offset"
																},
																{
																	"key": "ews_id",
																	"value": "<string>"
																},
																{
																	"key": "status",
																	"value": "<string>"
																},
																{
																	"key": "search_text",
																	"value": "<string>"
																},
																{
																	"key": "client_name",
																	"value": "<string>"
																},
																{
																	"key": "client_email",
																	"value": "<string>"
																},
																{
																	"key": "custom_field_1",
																	"value": "<string>"
																},
																{
																	"key": "custom_field_2",
																	"value": "<string>"
																},
																{
																	"key": "custom_field_3",
																	"value": "<string>"
																},
																{
																	"key": "custom_field_4",
																	"value": "<string>"
																},
																{
																	"key": "custom_field_5",
																	"value": "<string>"
																},
																{
																	"key": "start_date",
																	"value": "<string>"
																},
																{
																	"key": "end_date",
																	"value": "<string>"
																},
																{
																	"key": "paid",
																	"value": "<integer>"
																},
																{
																	"key": "start",
																	"value": "0",
																	"description": "List pager"
																},
																{
																	"key": "end",
																	"value": "<integer>",
																	"description": "List pager / 'all' - no limit"
																},
																{
																	"key": "updated_after",
																	"value": "<dateTime>",
																	"description": "Lower date limit for which the appointment was updated"
																},
																{
																	"key": "updated_before",
																	"value": "<dateTime>",
																	"description": "Upper date limit for which the appointment was updated"
																},
																{
																	"key": "created_after",
																	"value": "<dateTime>",
																	"description": "Lower date limit for which the appointment was created"
																},
																{
																	"key": "created_before",
																	"value": "<dateTime>",
																	"description": "Upper date limit for which the appointment was created"
																},
																{
																	"key": "num_results",
																	"value": "0",
																	"description": "If 1, the call returns only the number of appointments found"
																},
																{
																	"key": "sort_by",
																	"value": "start_date"
																},
																{
																	"key": "sort_order",
																	"value": "asc"
																}
															]
														},
														"description": "Get a list of all appointments (upcoming and past) and their attributes.\nWe advise using filters to fetch appointments for specific date ranges or different attributes."
													},
													"response": [
														{
															"name": "successful operation",
															"originalRequest": {
																"method": "GET",
																"header": [],
																"url": {
																	"raw": "{{baseUrl}}/appointment?id=<integer>&company_id=<integer>&employee_id=<integer>&location_id=<integer>&service_id=<integer>&client_id=<integer>&timezone_id=<integer>&ews_id=<string>&status=<string>&search_text=<string>&client_name=<string>&client_email=<string>&custom_field_1=<string>&custom_field_2=<string>&custom_field_3=<string>&custom_field_4=<string>&custom_field_5=<string>&start_date=<string>&end_date=<string>&paid=<integer>&start=0&end=<integer>&updated_after=<dateTime>&updated_before=<dateTime>&created_after=<dateTime>&created_before=<dateTime>&num_results=0&sort_by=start_date&sort_order=asc&session_token=<API Key>",
																	"host": [
																		"{{baseUrl}}"
																	],
																	"path": [
																		"appointment"
																	],
																	"query": [
																		{
																			"key": "id",
																			"value": "<integer>"
																		},
																		{
																			"key": "company_id",
																			"value": "<integer>"
																		},
																		{
																			"key": "employee_id",
																			"value": "<integer>"
																		},
																		{
																			"key": "location_id",
																			"value": "<integer>"
																		},
																		{
																			"key": "service_id",
																			"value": "<integer>"
																		},
																		{
																			"key": "client_id",
																			"value": "<integer>"
																		},
																		{
																			"key": "timezone_id",
																			"value": "<integer>"
																		},
																		{
																			"key": "ews_id",
																			"value": "<string>"
																		},
																		{
																			"key": "status",
																			"value": "<string>"
																		},
																		{
																			"key": "search_text",
																			"value": "<string>"
																		},
																		{
																			"key": "client_name",
																			"value": "<string>"
																		},
																		{
																			"key": "client_email",
																			"value": "<string>"
																		},
																		{
																			"key": "custom_field_1",
																			"value": "<string>"
																		},
																		{
																			"key": "custom_field_2",
																			"value": "<string>"
																		},
																		{
																			"key": "custom_field_3",
																			"value": "<string>"
																		},
																		{
																			"key": "custom_field_4",
																			"value": "<string>"
																		},
																		{
																			"key": "custom_field_5",
																			"value": "<string>"
																		},
																		{
																			"key": "start_date",
																			"value": "<string>"
																		},
																		{
																			"key": "end_date",
																			"value": "<string>"
																		},
																		{
																			"key": "paid",
																			"value": "<integer>"
																		},
																		{
																			"key": "start",
																			"value": "0"
																		},
																		{
																			"key": "end",
																			"value": "<integer>"
																		},
																		{
																			"key": "updated_after",
																			"value": "<dateTime>"
																		},
																		{
																			"key": "updated_before",
																			"value": "<dateTime>"
																		},
																		{
																			"key": "created_after",
																			"value": "<dateTime>"
																		},
																		{
																			"key": "created_before",
																			"value": "<dateTime>"
																		},
																		{
																			"key": "num_results",
																			"value": "0"
																		},
																		{
																			"key": "sort_by",
																			"value": "start_date"
																		},
																		{
																			"key": "sort_order",
																			"value": "asc"
																		},
																		{
																			"key": "session_token",
																			"value": "<API Key>"
																		}
																	]
																}
															},
															"status": "OK",
															"code": 200,
															"_postman_previewlanguage": "json",
															"header": [
																{
																	"key": "Content-Type",
																	"value": "application/json"
																}
															],
															"cookie": [],
															"body": "{\n \"statusCode\": \"<integer>\",\n \"statusDescriptions\": \"<string>\",\n \"data\": [\n  {\n   \"company_id\": \"<long>\",\n   \"client_email\": \"<email>\",\n   \"client_name\": \"<string>\",\n   \"service_id\": \"<long>\",\n   \"start_date\": \"<string>\",\n   \"id\": \"<long>\",\n   \"client_id\": \"<long>\",\n   \"client_phone\": \"<string>\",\n   \"client_address\": \"<string>\",\n   \"employee_id\": \"<long>\",\n   \"location_id\": \"<long>\",\n   \"end_date\": \"<string>\",\n   \"length\": \"<integer>\",\n   \"duration_padding\": 0,\n   \"note\": \"<string>\",\n   \"status\": \"<integer>\",\n   \"type\": \"<string>\",\n   \"last_updated\": \"<dateTime>\",\n   \"created_at\": \"<dateTime>\",\n   \"subservices\": \"<string>\",\n   \"paid\": false,\n   \"price\": 0,\n   \"ews_id\": \"\",\n   \"custom_fields\": \"<object>\",\n   \"timezone_short\": \"<string>\",\n   \"timezone_offset_seconds\": \"<integer>\",\n   \"timezone_id\": \"<integer>\"\n  },\n  {\n   \"company_id\": \"<long>\",\n   \"client_email\": \"<email>\",\n   \"client_name\": \"<string>\",\n   \"service_id\": \"<long>\",\n   \"start_date\": \"<string>\",\n   \"id\": \"<long>\",\n   \"client_id\": \"<long>\",\n   \"client_phone\": \"<string>\",\n   \"client_address\": \"<string>\",\n   \"employee_id\": \"<long>\",\n   \"location_id\": \"<long>\",\n   \"end_date\": \"<string>\",\n   \"length\": \"<integer>\",\n   \"duration_padding\": 0,\n   \"note\": \"<string>\",\n   \"status\": \"<integer>\",\n   \"type\": \"<string>\",\n   \"last_updated\": \"<dateTime>\",\n   \"created_at\": \"<dateTime>\",\n   \"subservices\": \"<string>\",\n   \"paid\": false,\n   \"price\": 0,\n   \"ews_id\": \"\",\n   \"custom_fields\": \"<object>\",\n   \"timezone_short\": \"<string>\",\n   \"timezone_offset_seconds\": \"<integer>\",\n   \"timezone_id\": \"<integer>\"\n  }\n ]\n}"
														}
													]
												},
												{
													"name": "2. Get Availability (Select Date Time)",
													"request": {
														"auth": {
															"type": "apikey",
															"apikey": [
																{
																	"key": "value",
																	"value": "{{SESSION_TOKEN}}",
																	"type": "string"
																},
																{
																	"key": "key",
																	"value": "session_token",
																	"type": "string"
																},
																{
																	"key": "in",
																	"value": "query",
																	"type": "string"
																}
															]
														},
														"method": "GET",
														"header": [],
														"url": {
															"raw": "{{baseUrl}}/availability?service_id={{service_id}}&start_date={{start_date}}&t=daily&return=times&company_id={{company_id}}",
															"host": [
																"{{baseUrl}}"
															],
															"path": [
																"availability"
															],
															"query": [
																{
																	"key": "service_id",
																	"value": "{{service_id}}",
																	"description": "(Required) The ID of the selected service"
																},
																{
																	"key": "subservices",
																	"value": "<integer>",
																	"description": "The IDs of the selected subservices",
																	"disabled": true
																},
																{
																	"key": "subservices",
																	"value": "<integer>",
																	"description": "The IDs of the selected subservices",
																	"disabled": true
																},
																{
																	"key": "location_id",
																	"value": "{{location_id}}",
																	"description": "The ID of the selected location",
																	"disabled": true
																},
																{
																	"key": "provider_id",
																	"value": "{{employee_id}}",
																	"description": "The ID of the provider (employee)",
																	"disabled": true
																},
																{
																	"key": "start_date",
																	"value": "{{start_date}}",
																	"description": "(Required) (YYYY-mm-dd) The day for which the availability is requested"
																},
																{
																	"key": "t",
																	"value": "daily",
																	"description": "(Required)  - If 'weekly', then the availability for the whole week of 'start_date' will be returned.\n- If 'daily', only the availability for 'start_date' will be returned"
																},
																{
																	"key": "return",
																	"value": "times",
																	"description": "(Required)  - If 'boxes', the availability will be returned as a set of boxes representing fractions of an hour.\n- If 'times', the availability will be returned as times when the availability slots begin. "
																},
																{
																	"key": "timezone_id",
																	"value": "<integer>",
																	"description": "The ID of the timezone relative to which the availability is calculated. Defaults to the location timezone.",
																	"disabled": true
																},
																{
																	"key": "first_available",
																	"value": "<boolean>",
																	"description": "When there is no availability from start_date to the end of the interval(t - daily/weekly), whole agenda is scanned until a first available time slot is returned.",
																	"disabled": true
																},
																{
																	"key": "available_seats",
																	"value": "<boolean>",
																	"description": "Retrieve available seats for an appointment start time. This will return the number of seats for an employee. If none is provided, a random employee will be selected and the number of seats for that employee will be returned.",
																	"disabled": true
																},
																{
																	"key": "total_seats",
																	"value": "<boolean>",
																	"description": "Use this parameter to get the total number of seats for all employees",
																	"disabled": true
																},
																{
																	"key": "no_of_weeks",
																	"value": "<integer>",
																	"description": "Used to retreive the availability for one month. Accepted values are between 1 and 5",
																	"disabled": true
																},
																{
																	"key": "company_id",
																	"value": "{{company_id}}"
																}
															]
														},
														"description": "Get the available times to schedule an appointment."
													},
													"response": [
														{
															"name": "successful operation",
															"originalRequest": {
																"method": "GET",
																"header": [],
																"url": {
																	"raw": "{{baseUrl}}/availability?service_id=<long>&subservices=<integer>&subservices=<integer>&location_id=<long>&provider_id=<long>&start_date=<date>&t=<string>&return=<string>&timezone_id=<integer>&first_available=<boolean>&available_seats=<boolean>&total_seats=<boolean>&no_of_weeks=<integer>&session_token=<API Key>",
																	"host": [
																		"{{baseUrl}}"
																	],
																	"path": [
																		"availability"
																	],
																	"query": [
																		{
																			"key": "service_id",
																			"value": "<long>"
																		},
																		{
																			"key": "subservices",
																			"value": "<integer>"
																		},
																		{
																			"key": "subservices",
																			"value": "<integer>"
																		},
																		{
																			"key": "location_id",
																			"value": "<long>"
																		},
																		{
																			"key": "provider_id",
																			"value": "<long>"
																		},
																		{
																			"key": "start_date",
																			"value": "<date>"
																		},
																		{
																			"key": "t",
																			"value": "<string>"
																		},
																		{
																			"key": "return",
																			"value": "<string>"
																		},
																		{
																			"key": "timezone_id",
																			"value": "<integer>"
																		},
																		{
																			"key": "first_available",
																			"value": "<boolean>"
																		},
																		{
																			"key": "available_seats",
																			"value": "<boolean>"
																		},
																		{
																			"key": "total_seats",
																			"value": "<boolean>"
																		},
																		{
																			"key": "no_of_weeks",
																			"value": "<integer>"
																		},
																		{
																			"key": "session_token",
																			"value": "<API Key>"
																		}
																	]
																}
															},
															"status": "OK",
															"code": 200,
															"_postman_previewlanguage": "json",
															"header": [
																{
																	"key": "Content-Type",
																	"value": "application/json"
																}
															],
															"cookie": [],
															"body": "{\n \"statusCode\": \"<integer>\",\n \"statusDescriptions\": \"<string>\",\n \"data\": {\n  \"interval\": \"<integer>\",\n  \"boxInterval\": \"<integer>\",\n  \"padding\": \"<integer>\",\n  \"day\": \"<integer>\",\n  \"month\": \"<integer>\",\n  \"year\": \"<integer>\",\n  \"times\": [\n   \"<string>\",\n   \"<string>\"\n  ]\n }\n}"
														}
													]
												},
												{
													"name": "3. Update Appointment Time",
													"event": [
														{
															"listen": "test",
															"script": {
																"exec": [
																	""
																],
																"type": "text/javascript"
															}
														}
													],
													"request": {
														"auth": {
															"type": "apikey",
															"apikey": [
																{
																	"key": "value",
																	"value": "{{SESSION_TOKEN}}",
																	"type": "string"
																},
																{
																	"key": "key",
																	"value": "session_token",
																	"type": "string"
																},
																{
																	"key": "in",
																	"value": "query",
																	"type": "string"
																}
															]
														},
														"method": "PUT",
														"header": [
															{
																"key": "Content-Type",
																"value": "application/json"
															}
														],
														"body": {
															"mode": "raw",
															"raw": "{\n    \"company_id\": {{company_id}},\n    \"client_email\": \"{{client_email}}\",\n    \"client_name\": \"{{client_name}}\",\n    \"service_id\": {{service_id}},\n    \"start_date\": \"{{start_date}}\",\n    \"client_phone\": \"<string>\",\n    \"client_address\": \"<string>\",\n    \"employee_id\": \"<long>\",\n    \"location_id\": \"<long>\",\n    \"duration\": 15,\n    \"note\": \"<string>\",\n    \"subservices\": \"<string>\",\n    \"paid\": false,\n    \"price\": 0,\n    \"ews_id\": \"\",\n    \"custom_fields\": \"<object>\",\n    \"timezone_id\": \"<integer>\"\n}"
														},
														"url": {
															"raw": "{{baseUrl}}/appointment/:id?company_id={{company_id}}",
															"host": [
																"{{baseUrl}}"
															],
															"path": [
																"appointment",
																":id"
															],
															"query": [
																{
																	"key": "company_id",
																	"value": "{{company_id}}"
																}
															],
															"variable": [
																{
																	"key": "id",
																	"value": "<long>",
																	"description": "(Required) Appointment id"
																}
															]
														},
														"description": "Modify the attributes for an existing appointment. Most commonly used to reschedule the appointment to a different date and time or to modify the appointment status.\n\n<div class='ui grey icon message'>\n<div class='content'>\n  <div class=\"header\">\n  <i class='small paper plane outline\n icon'>\n </i>\n Triggers Client Notification\n</div>\n <p>By default triggers an email and SMS if configured. <a href=\"https://support.setster.com/hc/en-us/sections/360004456154-Email-and-SMS-Notifications\" target=\"_blank\" style=\"color: #636d82 !important\">Learn More</a></p></div></div>\n"
													},
													"response": [
														{
															"name": "successful operation",
															"originalRequest": {
																"method": "PUT",
																"header": [],
																"body": {
																	"mode": "raw",
																	"raw": "{\n    \"data\": {\n        \"company_id\": \"<long>\",\n        \"client_email\": \"<email>\",\n        \"client_name\": \"<string>\",\n        \"service_id\": \"<long>\",\n        \"start_date\": \"<string>\",\n        \"client_phone\": \"<string>\",\n        \"client_address\": \"<string>\",\n        \"employee_id\": \"<long>\",\n        \"location_id\": \"<long>\",\n        \"duration\": 15,\n        \"note\": \"<string>\",\n        \"status\": \"<integer>\",\n        \"subservices\": \"<string>\",\n        \"paid\": false,\n        \"price\": 0,\n        \"ews_id\": \"\",\n        \"custom_fields\": \"<object>\",\n        \"timezone_id\": \"<integer>\"\n    }\n}"
																},
																"url": {
																	"raw": "{{baseUrl}}/appointment/:id?session_token=<API Key>",
																	"host": [
																		"{{baseUrl}}"
																	],
																	"path": [
																		"appointment",
																		":id"
																	],
																	"query": [
																		{
																			"key": "session_token",
																			"value": "<API Key>"
																		}
																	],
																	"variable": [
																		{
																			"key": "id"
																		}
																	]
																}
															},
															"status": "OK",
															"code": 200,
															"_postman_previewlanguage": "json",
															"header": [
																{
																	"key": "Content-Type",
																	"value": "application/json"
																}
															],
															"cookie": [],
															"body": "{\n \"statusCode\": \"<integer>\",\n \"statusDescriptions\": \"<string>\",\n \"data\": {\n  \"company_id\": \"<long>\",\n  \"client_email\": \"<email>\",\n  \"client_name\": \"<string>\",\n  \"service_id\": \"<long>\",\n  \"start_date\": \"<string>\",\n  \"id\": \"<long>\",\n  \"client_id\": \"<long>\",\n  \"client_phone\": \"<string>\",\n  \"client_address\": \"<string>\",\n  \"employee_id\": \"<long>\",\n  \"location_id\": \"<long>\",\n  \"end_date\": \"<string>\",\n  \"length\": \"<integer>\",\n  \"duration_padding\": 0,\n  \"note\": \"<string>\",\n  \"status\": \"<integer>\",\n  \"type\": \"<string>\",\n  \"last_updated\": \"<dateTime>\",\n  \"created_at\": \"<dateTime>\",\n  \"subservices\": \"<string>\",\n  \"paid\": false,\n  \"price\": 0,\n  \"ews_id\": \"\",\n  \"custom_fields\": \"<object>\",\n  \"timezone_short\": \"<string>\",\n  \"timezone_offset_seconds\": \"<integer>\",\n  \"timezone_id\": \"<integer>\"\n }\n}"
														}
													]
												}
											]
										}
									]
								},
								{
									"name": "Appointment Reminder",
									"item": [
										{
											"name": "1. Test Target Url",
											"item": [
												{
													"name": "Test Target Url",
													"event": [
														{
															"listen": "test",
															"script": {
																"exec": [
																	"pm.test('Status received is ' + pm.response.code, function() {",
																	"    pm.expect(pm.response.code).to.be.oneOf([200,201,202]);",
																	"});"
																],
																"type": "text/javascript"
															}
														}
													],
													"request": {
														"method": "POST",
														"header": [
															{
																"key": "setster-verification-key",
																"value": "testkey1234567891234567891234567",
																"description": "Will be return from creating a webhook POST request",
																"type": "text"
															},
															{
																"key": "setster-event-type",
																"value": "appointment.created",
																"type": "text"
															}
														],
														"body": {
															"mode": "raw",
															"raw": "{\n    \"client_street1\": \"{{$randomStreetAddress}}\",\n    \"client_street2\": \"\",\n    \"client_city\": \"{{$randomCity}}\",\n    \"client_state\": \"CA\",\n    \"client_zip\": \"90048\",\n    \"client_country\": \"{{$randomCountryCode}}\",\n    \"client_email\": \"ironman@setster.com\",\n    \"client_id\": \"12345\",\n    \"client_name\": \"{{$randomFullName}}\",\n    \"client_phone\": \"{{$randomPhoneNumber}}\",\n    \"custom_fields\": \"{\\\"1\\\":[\\\"(555) 555-5555\\\",\\\"Phone\\\"],\\\"2\\\":[null,\\\"Address\\\"]}\",\n    \"custom_data\": \"{\\\"phone_70104\\\":\\\"(555) 555-5555\\\",\\\"address_70105\\\":null}\",\n    \"created_at\": \"2021-02-09T11:14:10-08:00\",\n    \"employee_id\": \"12345\",\n    \"end_date\": \"2021-02-11T14:00:00-08:00\",\n    \"id\": \"12345678912\",\n    \"last_updated\": \"2021-02-09T11:17:20-08:00\",\n    \"location_id\": \"12345\",\n    \"location_name\": \"Location 1\",\n    \"note\": \"\",\n    \"paid\": false,\n    \"price\": \"0.00\",\n    \"provider_name\": \"Captain Marvel\",\n    \"provider_phone\": \"{{$randomPhoneNumber}}\",\n    \"service_id\": \"12345\",\n    \"service_name\": \"Service 1\",\n    \"start_date\": \"2021-02-11T12:00:00-08:00\",\n    \"status\": \"Confirmed\",\n    \"subservices\": \"\",\n    \"timezone_id\": \"553\",\n    \"duration\": \"2:0:0\",\n    \"client_full_address\": \"123 Road, #14, Los Angeles, CA, 90048, USA\",\n    \"start_date_friendly\": \"Thu, Feb 11th 2021, 12:00:00 PM (PST)\",\n    \"end_date_friendly\": \"Thu, Feb 11th 2021, 2:00:00 PM (PST)\",\n    \"created_at_friendly\": \"Tue, Feb 9th 2021, 11:14:10 AM (PST)\",\n    \"last_updated_friendly\": \"Tue, Feb 9th 2021, 11:17:20 AM (PST)\"\n}",
															"options": {
																"raw": {
																	"language": "json"
																}
															}
														},
														"url": {
															"raw": "{{webhook_target_url_reminder}}",
															"host": [
																"{{webhook_target_url_reminder}}"
															]
														}
													},
													"response": [
														{
															"name": "Webhook Event Data",
															"originalRequest": {
																"method": "POST",
																"header": [
																	{
																		"key": "setster-verification-key",
																		"value": "testkey1234567891234567891234567",
																		"type": "text"
																	},
																	{
																		"key": "setster-event-type",
																		"value": "appointment.reminder",
																		"type": "text"
																	}
																],
																"body": {
																	"mode": "raw",
																	"raw": "{\n  \"data\": {\n    \"company_id\": {{company_id}},\n    \"client_email\": \"{{client_email}}\",\n    \"client_name\": \"{{client_name}}\",\n    \"client_phone\": \"12345678\",\n    \"client_address\": \"string\",\n    \"employee_id\": {{employee_id}},\n    \"location_id\": {{location_id}},\n    \"service_id\": {{service_id}},\n    \"start_date\": \"{{start_date}} {{available_time}}\",\n    \"duration\": 0,\n    \"note\": \"string\",\n    \"status\": 0,\n    \"subservices\": \"string\",\n    \"paid\": false,\n    \"price\": 0,\n    \"ews_id\": \"string\",\n    \"custom_fields\": {\n      \"1\": [\n        \"(01512) 793246\",\n        \"Work Phone\"\n      ],\n      \"2\": [\n        [\n          \"201 S. Division St.\",\n          \"500\",\n          \"Ann Arbor\",\n          \"MI\",\n          \"48104\"\n        ],\n        \"Full Address\"\n      ],\n      \"3\": [\n        \"123ABC\",\n        \"Coupon Code\",\n        \"h\"\n      ]\n    },\n    \"timezone_id\": 553\n  }\n}\n",
																	"options": {
																		"raw": {
																			"language": "json"
																		}
																	}
																},
																"url": {
																	"raw": "{{baseUrl}}/appointment",
																	"host": [
																		"{{baseUrl}}"
																	],
																	"path": [
																		"appointment"
																	]
																}
															},
															"_postman_previewlanguage": "json",
															"header": [],
															"cookie": [],
															"body": "{\n    \"client_street1\": \"1111 Test Street\",\n    \"client_street2\": \"EQWE\",\n    \"client_city\": \"LA\",\n    \"client_state\": \"CA\",\n    \"client_zip\": \"300925\",\n    \"client_country\": \"USA\",\n    \"client_email\": \"test@setster.com\",\n    \"client_id\": \"1425851\",\n    \"client_name\": \"testtt\",\n    \"client_phone\": \"+40756250176\",\n    \"custom_fields\": \"{\\\"1\\\":[\\\"+40756250176\\\",\\\"Phone\\\"],\\\"2\\\":[[\\\"kjkjk\\\",\\\"l\\\",\\\"l\\\",\\\"kjl\\\",\\\"kj\\\"],\\\"Address\\\"]}\",\n    \"custom_data\": {\n        \"phone_41086\": \"+40756250176\",\n        \"address_70781\": {\n            \"street\": \"kjkjk\",\n            \"suite\": \"l\",\n            \"city\": \"l\",\n            \"state\": \"kjl\",\n            \"zip\": \"kj\"\n        }\n    },\n    \"created_at\": \"2021-03-10T11:47:20+02:00\",\n    \"employee_id\": \"12700\",\n    \"end_date\": \"2021-03-11T10:00:00+02:00\",\n    \"id\": \"19867165037\",\n    \"last_updated\": \"2021-03-10T11:47:23+02:00\",\n    \"location_id\": \"29322\",\n    \"location_name\": \"Location A\",\n    \"note\": \"lkjl\",\n    \"paid\": false,\n    \"price\": \"0.00\",\n    \"provider_name\": \"Provider A\",\n    \"provider_phone\": \"555-222-4546\",\n    \"service_id\": \"41523\",\n    \"service_name\": \"Service A\",\n    \"start_date\": \"2021-03-11T09:00:00+02:00\",\n    \"status\": \"Confirmed\",\n    \"subservices\": \"\",\n    \"timezone_id\": \"414\",\n    \"duration\": \"1:0:0\",\n    \"client_full_address\": \"kjkjk, l, l, kjl, kj, EQWE, LA, CA, 300925, USA\",\n    \"start_date_friendly\": \"Thu, Mar 11th 2021, 9:00:00 AM (EET)\",\n    \"end_date_friendly\": \"Thu, Mar 11th 2021, 10:00:00 AM (EET)\",\n    \"created_at_friendly\": \"Wed, Mar 10th 2021, 11:47:20 AM (EET)\",\n    \"last_updated_friendly\": \"Wed, Mar 10th 2021, 11:47:23 AM (EET)\"\n}"
														}
													]
												}
											]
										},
										{
											"name": "2. Create Webhook",
											"item": [
												{
													"name": "Create Webhook",
													"request": {
														"auth": {
															"type": "apikey",
															"apikey": [
																{
																	"key": "value",
																	"value": "{{SESSION_TOKEN}}",
																	"type": "string"
																},
																{
																	"key": "key",
																	"value": "session_token",
																	"type": "string"
																},
																{
																	"key": "in",
																	"value": "query",
																	"type": "string"
																}
															]
														},
														"method": "POST",
														"header": [
															{
																"key": "Content-Type",
																"value": "application/json"
															}
														],
														"body": {
															"mode": "raw",
															"raw": "{\"company_id\":{{company_id}},\"target_url\":\"{{webhook_target_url_reminder}}\",\"events\":[\"appointment.reminder\"],\"active\":1}",
															"options": {
																"raw": {
																	"language": "json"
																}
															}
														},
														"url": {
															"raw": "{{baseUrl}}/subscribe?company_id={{company_id}}",
															"host": [
																"{{baseUrl}}"
															],
															"path": [
																"subscribe"
															],
															"query": [
																{
																	"key": "company_id",
																	"value": "{{company_id}}"
																}
															]
														},
														"description": "Create a webHook"
													},
													"response": [
														{
															"name": "successful operation",
															"originalRequest": {
																"method": "POST",
																"header": [],
																"body": {
																	"mode": "urlencoded",
																	"urlencoded": [
																		{
																			"key": "data",
																			"value": "{\"company_id\":24232,\"target_url\":\"\",\"events\":[\"appointment.created\",\"appointment.created\"],\"active\":1}"
																		}
																	]
																},
																"url": {
																	"raw": "{{baseUrl}}/subscribe?session_token=<API Key>",
																	"host": [
																		"{{baseUrl}}"
																	],
																	"path": [
																		"subscribe"
																	],
																	"query": [
																		{
																			"key": "session_token",
																			"value": "<API Key>"
																		}
																	]
																}
															},
															"status": "Created",
															"code": 201,
															"_postman_previewlanguage": "json",
															"header": [
																{
																	"key": "Content-Type",
																	"value": "application/json"
																}
															],
															"cookie": [],
															"body": "{\n \"statusCode\": null,\n \"statusDescriptions\": \"OK\",\n \"data\": {\n  \"company_id\": 24232,\n  \"target_url\": \"\",\n  \"id\": 13425,\n  \"events\": [\n   {\n    \"id\": 13425,\n    \"event\": \"appointment.created\",\n    \"active\": 1,\n    \"created_at\": \"1953-08-31T05:07:01.204Z\"\n   },\n   {\n    \"id\": 13425,\n    \"event\": \"appointment.created\",\n    \"active\": 1,\n    \"created_at\": \"1994-01-11T13:41:48.763Z\"\n   }\n  ],\n  \"active\": 1,\n  \"verification_key\": \"est officia\",\n  \"created_at\": \"1969-08-08T00:35:43.863Z\",\n  \"updated_at\": \"1943-07-07T22:50:53.025Z\"\n }\n}"
														}
													]
												}
											]
										},
										{
											"name": "3. Test Webhook",
											"item": [
												{
													"name": "1. List appointments (Find Id)",
													"request": {
														"auth": {
															"type": "apikey",
															"apikey": [
																{
																	"key": "value",
																	"value": "{{SESSION_TOKEN}}",
																	"type": "string"
																},
																{
																	"key": "key",
																	"value": "session_token",
																	"type": "string"
																},
																{
																	"key": "in",
																	"value": "query",
																	"type": "string"
																}
															]
														},
														"method": "GET",
														"header": [],
														"url": {
															"raw": "{{baseUrl}}/appointment?id=<integer>&company_id={{company_id}}&employee_id=<integer>&location_id=<integer>&service_id=<integer>&client_id=<integer>&timezone_id=<integer>&ews_id=<string>&status=<string>&search_text=<string>&client_name=<string>&client_email=<string>&custom_field_1=<string>&custom_field_2=<string>&custom_field_3=<string>&custom_field_4=<string>&custom_field_5=<string>&start_date=<string>&end_date=<string>&paid=<integer>&start=0&end=<integer>&updated_after=<dateTime>&updated_before=<dateTime>&created_after=<dateTime>&created_before=<dateTime>&num_results=0&sort_by=start_date&sort_order=asc",
															"host": [
																"{{baseUrl}}"
															],
															"path": [
																"appointment"
															],
															"query": [
																{
																	"key": "id",
																	"value": "<integer>",
																	"description": "The appointment id"
																},
																{
																	"key": "company_id",
																	"value": "{{company_id}}",
																	"description": "(Required) "
																},
																{
																	"key": "employee_id",
																	"value": "<integer>"
																},
																{
																	"key": "location_id",
																	"value": "<integer>"
																},
																{
																	"key": "service_id",
																	"value": "<integer>"
																},
																{
																	"key": "client_id",
																	"value": "<integer>"
																},
																{
																	"key": "timezone_id",
																	"value": "<integer>",
																	"description": "Returns appointments date fields with specified time offset"
																},
																{
																	"key": "ews_id",
																	"value": "<string>"
																},
																{
																	"key": "status",
																	"value": "<string>"
																},
																{
																	"key": "search_text",
																	"value": "<string>"
																},
																{
																	"key": "client_name",
																	"value": "<string>"
																},
																{
																	"key": "client_email",
																	"value": "<string>"
																},
																{
																	"key": "custom_field_1",
																	"value": "<string>"
																},
																{
																	"key": "custom_field_2",
																	"value": "<string>"
																},
																{
																	"key": "custom_field_3",
																	"value": "<string>"
																},
																{
																	"key": "custom_field_4",
																	"value": "<string>"
																},
																{
																	"key": "custom_field_5",
																	"value": "<string>"
																},
																{
																	"key": "start_date",
																	"value": "<string>"
																},
																{
																	"key": "end_date",
																	"value": "<string>"
																},
																{
																	"key": "paid",
																	"value": "<integer>"
																},
																{
																	"key": "start",
																	"value": "0",
																	"description": "List pager"
																},
																{
																	"key": "end",
																	"value": "<integer>",
																	"description": "List pager / 'all' - no limit"
																},
																{
																	"key": "updated_after",
																	"value": "<dateTime>",
																	"description": "Lower date limit for which the appointment was updated"
																},
																{
																	"key": "updated_before",
																	"value": "<dateTime>",
																	"description": "Upper date limit for which the appointment was updated"
																},
																{
																	"key": "created_after",
																	"value": "<dateTime>",
																	"description": "Lower date limit for which the appointment was created"
																},
																{
																	"key": "created_before",
																	"value": "<dateTime>",
																	"description": "Upper date limit for which the appointment was created"
																},
																{
																	"key": "num_results",
																	"value": "0",
																	"description": "If 1, the call returns only the number of appointments found"
																},
																{
																	"key": "sort_by",
																	"value": "start_date"
																},
																{
																	"key": "sort_order",
																	"value": "asc"
																}
															]
														},
														"description": "Get a list of all appointments (upcoming and past) and their attributes.\nWe advise using filters to fetch appointments for specific date ranges or different attributes."
													},
													"response": [
														{
															"name": "successful operation",
															"originalRequest": {
																"method": "GET",
																"header": [],
																"url": {
																	"raw": "{{baseUrl}}/appointment?id=<integer>&company_id=<integer>&employee_id=<integer>&location_id=<integer>&service_id=<integer>&client_id=<integer>&timezone_id=<integer>&ews_id=<string>&status=<string>&search_text=<string>&client_name=<string>&client_email=<string>&custom_field_1=<string>&custom_field_2=<string>&custom_field_3=<string>&custom_field_4=<string>&custom_field_5=<string>&start_date=<string>&end_date=<string>&paid=<integer>&start=0&end=<integer>&updated_after=<dateTime>&updated_before=<dateTime>&created_after=<dateTime>&created_before=<dateTime>&num_results=0&sort_by=start_date&sort_order=asc&session_token=<API Key>",
																	"host": [
																		"{{baseUrl}}"
																	],
																	"path": [
																		"appointment"
																	],
																	"query": [
																		{
																			"key": "id",
																			"value": "<integer>"
																		},
																		{
																			"key": "company_id",
																			"value": "<integer>"
																		},
																		{
																			"key": "employee_id",
																			"value": "<integer>"
																		},
																		{
																			"key": "location_id",
																			"value": "<integer>"
																		},
																		{
																			"key": "service_id",
																			"value": "<integer>"
																		},
																		{
																			"key": "client_id",
																			"value": "<integer>"
																		},
																		{
																			"key": "timezone_id",
																			"value": "<integer>"
																		},
																		{
																			"key": "ews_id",
																			"value": "<string>"
																		},
																		{
																			"key": "status",
																			"value": "<string>"
																		},
																		{
																			"key": "search_text",
																			"value": "<string>"
																		},
																		{
																			"key": "client_name",
																			"value": "<string>"
																		},
																		{
																			"key": "client_email",
																			"value": "<string>"
																		},
																		{
																			"key": "custom_field_1",
																			"value": "<string>"
																		},
																		{
																			"key": "custom_field_2",
																			"value": "<string>"
																		},
																		{
																			"key": "custom_field_3",
																			"value": "<string>"
																		},
																		{
																			"key": "custom_field_4",
																			"value": "<string>"
																		},
																		{
																			"key": "custom_field_5",
																			"value": "<string>"
																		},
																		{
																			"key": "start_date",
																			"value": "<string>"
																		},
																		{
																			"key": "end_date",
																			"value": "<string>"
																		},
																		{
																			"key": "paid",
																			"value": "<integer>"
																		},
																		{
																			"key": "start",
																			"value": "0"
																		},
																		{
																			"key": "end",
																			"value": "<integer>"
																		},
																		{
																			"key": "updated_after",
																			"value": "<dateTime>"
																		},
																		{
																			"key": "updated_before",
																			"value": "<dateTime>"
																		},
																		{
																			"key": "created_after",
																			"value": "<dateTime>"
																		},
																		{
																			"key": "created_before",
																			"value": "<dateTime>"
																		},
																		{
																			"key": "num_results",
																			"value": "0"
																		},
																		{
																			"key": "sort_by",
																			"value": "start_date"
																		},
																		{
																			"key": "sort_order",
																			"value": "asc"
																		},
																		{
																			"key": "session_token",
																			"value": "<API Key>"
																		}
																	]
																}
															},
															"status": "OK",
															"code": 200,
															"_postman_previewlanguage": "json",
															"header": [
																{
																	"key": "Content-Type",
																	"value": "application/json"
																}
															],
															"cookie": [],
															"body": "{\n \"statusCode\": \"<integer>\",\n \"statusDescriptions\": \"<string>\",\n \"data\": [\n  {\n   \"company_id\": \"<long>\",\n   \"client_email\": \"<email>\",\n   \"client_name\": \"<string>\",\n   \"service_id\": \"<long>\",\n   \"start_date\": \"<string>\",\n   \"id\": \"<long>\",\n   \"client_id\": \"<long>\",\n   \"client_phone\": \"<string>\",\n   \"client_address\": \"<string>\",\n   \"employee_id\": \"<long>\",\n   \"location_id\": \"<long>\",\n   \"end_date\": \"<string>\",\n   \"length\": \"<integer>\",\n   \"duration_padding\": 0,\n   \"note\": \"<string>\",\n   \"status\": \"<integer>\",\n   \"type\": \"<string>\",\n   \"last_updated\": \"<dateTime>\",\n   \"created_at\": \"<dateTime>\",\n   \"subservices\": \"<string>\",\n   \"paid\": false,\n   \"price\": 0,\n   \"ews_id\": \"\",\n   \"custom_fields\": \"<object>\",\n   \"timezone_short\": \"<string>\",\n   \"timezone_offset_seconds\": \"<integer>\",\n   \"timezone_id\": \"<integer>\"\n  },\n  {\n   \"company_id\": \"<long>\",\n   \"client_email\": \"<email>\",\n   \"client_name\": \"<string>\",\n   \"service_id\": \"<long>\",\n   \"start_date\": \"<string>\",\n   \"id\": \"<long>\",\n   \"client_id\": \"<long>\",\n   \"client_phone\": \"<string>\",\n   \"client_address\": \"<string>\",\n   \"employee_id\": \"<long>\",\n   \"location_id\": \"<long>\",\n   \"end_date\": \"<string>\",\n   \"length\": \"<integer>\",\n   \"duration_padding\": 0,\n   \"note\": \"<string>\",\n   \"status\": \"<integer>\",\n   \"type\": \"<string>\",\n   \"last_updated\": \"<dateTime>\",\n   \"created_at\": \"<dateTime>\",\n   \"subservices\": \"<string>\",\n   \"paid\": false,\n   \"price\": 0,\n   \"ews_id\": \"\",\n   \"custom_fields\": \"<object>\",\n   \"timezone_short\": \"<string>\",\n   \"timezone_offset_seconds\": \"<integer>\",\n   \"timezone_id\": \"<integer>\"\n  }\n ]\n}"
														}
													]
												},
												{
													"name": "2. Send reminder for appointment",
													"request": {
														"auth": {
															"type": "apikey",
															"apikey": [
																{
																	"key": "value",
																	"value": "{{SESSION_TOKEN}}",
																	"type": "string"
																},
																{
																	"key": "key",
																	"value": "session_token",
																	"type": "string"
																},
																{
																	"key": "in",
																	"value": "query",
																	"type": "string"
																}
															]
														},
														"method": "POST",
														"header": [
															{
																"key": "Content-Type",
																"value": "application/json"
															}
														],
														"body": {
															"mode": "raw",
															"raw": "{\n    \"appointment_id\": \"<integer>\",\n    \"send_to\": \"both\"\n}"
														},
														"url": {
															"raw": "{{baseUrl}}/appointment/sendReminder?company_id={{company_id}}",
															"host": [
																"{{baseUrl}}"
															],
															"path": [
																"appointment",
																"sendReminder"
															],
															"query": [
																{
																	"key": "company_id",
																	"value": "{{company_id}}"
																}
															]
														},
														"description": "Trigger an a reminder email and SMS (if configured) for a specific appointment.\n\n<div class='ui grey icon message'>\n<div class='content'>\n  <div class=\"header\">\n  <i class='small paper plane outline\n icon'>\n </i>\n Triggers Client Notification\n</div>\n <p>By default triggers an email and SMS if configured. <a href=\"https://support.setster.com/hc/en-us/sections/360004456154-Email-and-SMS-Notifications\" target=\"_blank\" style=\"color: #636d82 !important\">Learn More</a></p></div></div>\n"
													},
													"response": [
														{
															"name": "successful operation",
															"originalRequest": {
																"method": "POST",
																"header": [],
																"body": {
																	"mode": "raw",
																	"raw": "{\n    \"appointment_id\": \"<integer>\",\n    \"send_to\": \"both\"\n}"
																},
																"url": {
																	"raw": "{{baseUrl}}/appointment/sendReminder?session_token=<API Key>",
																	"host": [
																		"{{baseUrl}}"
																	],
																	"path": [
																		"appointment",
																		"sendReminder"
																	],
																	"query": [
																		{
																			"key": "session_token",
																			"value": "<API Key>"
																		}
																	]
																}
															},
															"status": "OK",
															"code": 200,
															"_postman_previewlanguage": "json",
															"header": [
																{
																	"key": "Content-Type",
																	"value": "application/json"
																}
															],
															"cookie": [],
															"body": "{\n \"statusCode\": \"<integer>\",\n \"statusDescriptions\": \"<string>\",\n \"data\": \"<object>\"\n}"
														}
													]
												}
											]
										}
									]
								},
								{
									"name": "Appointment Deleted",
									"item": [
										{
											"name": "1. Test Target Url",
											"item": [
												{
													"name": "Test Target Url",
													"event": [
														{
															"listen": "test",
															"script": {
																"exec": [
																	"pm.test('Status received is ' + pm.response.code, function() {",
																	"    pm.expect(pm.response.code).to.be.oneOf([200,201,202]);",
																	"});"
																],
																"type": "text/javascript"
															}
														}
													],
													"request": {
														"method": "POST",
														"header": [
															{
																"key": "setster-verification-key",
																"value": "testkey1234567891234567891234567",
																"description": "Will be return from creating a webhook POST request",
																"type": "text"
															},
															{
																"key": "setster-event-type",
																"value": "appointment.created",
																"type": "text"
															}
														],
														"body": {
															"mode": "raw",
															"raw": "{\n    \"client_street1\": \"{{$randomStreetAddress}}\",\n    \"client_street2\": \"\",\n    \"client_city\": \"{{$randomCity}}\",\n    \"client_state\": \"CA\",\n    \"client_zip\": \"90048\",\n    \"client_country\": \"{{$randomCountryCode}}\",\n    \"client_email\": \"ironman@setster.com\",\n    \"client_id\": \"12345\",\n    \"client_name\": \"{{$randomFullName}}\",\n    \"client_phone\": \"{{$randomPhoneNumber}}\",\n    \"custom_fields\": \"{\\\"1\\\":[\\\"(555) 555-5555\\\",\\\"Phone\\\"],\\\"2\\\":[null,\\\"Address\\\"]}\",\n    \"custom_data\": \"{\\\"phone_70104\\\":\\\"(555) 555-5555\\\",\\\"address_70105\\\":null}\",\n    \"created_at\": \"2021-02-09T11:14:10-08:00\",\n    \"employee_id\": \"12345\",\n    \"end_date\": \"2021-02-11T14:00:00-08:00\",\n    \"id\": \"12345678912\",\n    \"last_updated\": \"2021-02-09T11:17:20-08:00\",\n    \"location_id\": \"12345\",\n    \"location_name\": \"Location 1\",\n    \"note\": \"\",\n    \"paid\": false,\n    \"price\": \"0.00\",\n    \"provider_name\": \"Captain Marvel\",\n    \"provider_phone\": \"{{$randomPhoneNumber}}\",\n    \"service_id\": \"12345\",\n    \"service_name\": \"Service 1\",\n    \"start_date\": \"2021-02-11T12:00:00-08:00\",\n    \"status\": \"Confirmed\",\n    \"subservices\": \"\",\n    \"timezone_id\": \"553\",\n    \"duration\": \"2:0:0\",\n    \"client_full_address\": \"123 Road, #14, Los Angeles, CA, 90048, USA\",\n    \"start_date_friendly\": \"Thu, Feb 11th 2021, 12:00:00 PM (PST)\",\n    \"end_date_friendly\": \"Thu, Feb 11th 2021, 2:00:00 PM (PST)\",\n    \"created_at_friendly\": \"Tue, Feb 9th 2021, 11:14:10 AM (PST)\",\n    \"last_updated_friendly\": \"Tue, Feb 9th 2021, 11:17:20 AM (PST)\"\n}",
															"options": {
																"raw": {
																	"language": "json"
																}
															}
														},
														"url": {
															"raw": "{{webhook_target_url_deleted}}",
															"host": [
																"{{webhook_target_url_deleted}}"
															]
														}
													},
													"response": [
														{
															"name": "Webhook Event Data",
															"originalRequest": {
																"method": "POST",
																"header": [
																	{
																		"key": "setster-verification-key",
																		"value": "testkey1234567891234567891234567",
																		"type": "text"
																	},
																	{
																		"key": "setster-event-type",
																		"value": "appointment.deleted",
																		"type": "text"
																	}
																],
																"body": {
																	"mode": "raw",
																	"raw": "{\n  \"data\": {\n    \"company_id\": {{company_id}},\n    \"client_email\": \"{{client_email}}\",\n    \"client_name\": \"{{client_name}}\",\n    \"client_phone\": \"12345678\",\n    \"client_address\": \"string\",\n    \"employee_id\": {{employee_id}},\n    \"location_id\": {{location_id}},\n    \"service_id\": {{service_id}},\n    \"start_date\": \"{{start_date}} {{available_time}}\",\n    \"duration\": 0,\n    \"note\": \"string\",\n    \"status\": 0,\n    \"subservices\": \"string\",\n    \"paid\": false,\n    \"price\": 0,\n    \"ews_id\": \"string\",\n    \"custom_fields\": {\n      \"1\": [\n        \"(01512) 793246\",\n        \"Work Phone\"\n      ],\n      \"2\": [\n        [\n          \"201 S. Division St.\",\n          \"500\",\n          \"Ann Arbor\",\n          \"MI\",\n          \"48104\"\n        ],\n        \"Full Address\"\n      ],\n      \"3\": [\n        \"123ABC\",\n        \"Coupon Code\",\n        \"h\"\n      ]\n    },\n    \"timezone_id\": 553\n  }\n}\n",
																	"options": {
																		"raw": {
																			"language": "json"
																		}
																	}
																},
																"url": {
																	"raw": "{{baseUrl}}/appointment",
																	"host": [
																		"{{baseUrl}}"
																	],
																	"path": [
																		"appointment"
																	]
																}
															},
															"_postman_previewlanguage": "json",
															"header": [],
															"cookie": [],
															"body": "{\n    \"client_street1\": \"1111 Test Street\",\n    \"client_street2\": \"EQWE\",\n    \"client_city\": \"LA\",\n    \"client_state\": \"CA\",\n    \"client_zip\": \"300925\",\n    \"client_country\": \"USA\",\n    \"client_email\": \"test@setster.com\",\n    \"client_id\": \"1425851\",\n    \"client_name\": \"testtt\",\n    \"client_phone\": \"+40756250176\",\n    \"custom_fields\": \"{\\\"1\\\":[\\\"+40756250176\\\",\\\"Phone\\\"],\\\"2\\\":[[\\\"kjkjk\\\",\\\"l\\\",\\\"l\\\",\\\"kjl\\\",\\\"kj\\\"],\\\"Address\\\"]}\",\n    \"custom_data\": {\n        \"phone_41086\": \"+40756250176\",\n        \"address_70781\": {\n            \"street\": \"kjkjk\",\n            \"suite\": \"l\",\n            \"city\": \"l\",\n            \"state\": \"kjl\",\n            \"zip\": \"kj\"\n        }\n    },\n    \"created_at\": \"2021-03-10T11:47:20+02:00\",\n    \"employee_id\": \"12700\",\n    \"end_date\": \"2021-03-11T10:00:00+02:00\",\n    \"id\": \"19867165037\",\n    \"last_updated\": \"2021-03-10T11:47:23+02:00\",\n    \"location_id\": \"29322\",\n    \"location_name\": \"Location A\",\n    \"note\": \"lkjl\",\n    \"paid\": false,\n    \"price\": \"0.00\",\n    \"provider_name\": \"Provider A\",\n    \"provider_phone\": \"555-222-4546\",\n    \"service_id\": \"41523\",\n    \"service_name\": \"Service A\",\n    \"start_date\": \"2021-03-11T09:00:00+02:00\",\n    \"status\": \"Confirmed\",\n    \"subservices\": \"\",\n    \"timezone_id\": \"414\",\n    \"duration\": \"1:0:0\",\n    \"client_full_address\": \"kjkjk, l, l, kjl, kj, EQWE, LA, CA, 300925, USA\",\n    \"start_date_friendly\": \"Thu, Mar 11th 2021, 9:00:00 AM (EET)\",\n    \"end_date_friendly\": \"Thu, Mar 11th 2021, 10:00:00 AM (EET)\",\n    \"created_at_friendly\": \"Wed, Mar 10th 2021, 11:47:20 AM (EET)\",\n    \"last_updated_friendly\": \"Wed, Mar 10th 2021, 11:47:23 AM (EET)\"\n}"
														}
													]
												}
											]
										},
										{
											"name": "2. Create Webhook",
											"item": [
												{
													"name": "Create Webhook",
													"request": {
														"auth": {
															"type": "apikey",
															"apikey": [
																{
																	"key": "value",
																	"value": "{{SESSION_TOKEN}}",
																	"type": "string"
																},
																{
																	"key": "key",
																	"value": "session_token",
																	"type": "string"
																},
																{
																	"key": "in",
																	"value": "query",
																	"type": "string"
																}
															]
														},
														"method": "POST",
														"header": [
															{
																"key": "Content-Type",
																"value": "application/json"
															}
														],
														"body": {
															"mode": "raw",
															"raw": "{\"company_id\":{{company_id}},\"target_url\":\"{{webhook_target_url_deleted}}\",\"events\":[\"appointment.deleted\"],\"active\":1}",
															"options": {
																"raw": {
																	"language": "json"
																}
															}
														},
														"url": {
															"raw": "{{baseUrl}}/subscribe?company_id={{company_id}}",
															"host": [
																"{{baseUrl}}"
															],
															"path": [
																"subscribe"
															],
															"query": [
																{
																	"key": "company_id",
																	"value": "{{company_id}}"
																}
															]
														},
														"description": "Create a webHook"
													},
													"response": [
														{
															"name": "successful operation",
															"originalRequest": {
																"method": "POST",
																"header": [],
																"body": {
																	"mode": "urlencoded",
																	"urlencoded": [
																		{
																			"key": "data",
																			"value": "{\"company_id\":24232,\"target_url\":\"\",\"events\":[\"appointment.created\",\"appointment.created\"],\"active\":1}"
																		}
																	]
																},
																"url": {
																	"raw": "{{baseUrl}}/subscribe?session_token=<API Key>",
																	"host": [
																		"{{baseUrl}}"
																	],
																	"path": [
																		"subscribe"
																	],
																	"query": [
																		{
																			"key": "session_token",
																			"value": "<API Key>"
																		}
																	]
																}
															},
															"status": "Created",
															"code": 201,
															"_postman_previewlanguage": "json",
															"header": [
																{
																	"key": "Content-Type",
																	"value": "application/json"
																}
															],
															"cookie": [],
															"body": "{\n \"statusCode\": null,\n \"statusDescriptions\": \"OK\",\n \"data\": {\n  \"company_id\": 24232,\n  \"target_url\": \"\",\n  \"id\": 13425,\n  \"events\": [\n   {\n    \"id\": 13425,\n    \"event\": \"appointment.created\",\n    \"active\": 1,\n    \"created_at\": \"1953-08-31T05:07:01.204Z\"\n   },\n   {\n    \"id\": 13425,\n    \"event\": \"appointment.created\",\n    \"active\": 1,\n    \"created_at\": \"1994-01-11T13:41:48.763Z\"\n   }\n  ],\n  \"active\": 1,\n  \"verification_key\": \"est officia\",\n  \"created_at\": \"1969-08-08T00:35:43.863Z\",\n  \"updated_at\": \"1943-07-07T22:50:53.025Z\"\n }\n}"
														}
													]
												}
											]
										},
										{
											"name": "3. Test Webhook",
											"item": [
												{
													"name": "1. List appointments (Find Id)",
													"request": {
														"auth": {
															"type": "apikey",
															"apikey": [
																{
																	"key": "value",
																	"value": "{{SESSION_TOKEN}}",
																	"type": "string"
																},
																{
																	"key": "key",
																	"value": "session_token",
																	"type": "string"
																},
																{
																	"key": "in",
																	"value": "query",
																	"type": "string"
																}
															]
														},
														"method": "GET",
														"header": [],
														"url": {
															"raw": "{{baseUrl}}/appointment?id=<integer>&company_id={{company_id}}&employee_id=<integer>&location_id=<integer>&service_id=<integer>&client_id=<integer>&timezone_id=<integer>&ews_id=<string>&status=<string>&search_text=<string>&client_name=<string>&client_email=<string>&custom_field_1=<string>&custom_field_2=<string>&custom_field_3=<string>&custom_field_4=<string>&custom_field_5=<string>&start_date=<string>&end_date=<string>&paid=<integer>&start=0&end=<integer>&updated_after=<dateTime>&updated_before=<dateTime>&created_after=<dateTime>&created_before=<dateTime>&num_results=0&sort_by=start_date&sort_order=asc",
															"host": [
																"{{baseUrl}}"
															],
															"path": [
																"appointment"
															],
															"query": [
																{
																	"key": "id",
																	"value": "<integer>",
																	"description": "The appointment id"
																},
																{
																	"key": "company_id",
																	"value": "{{company_id}}",
																	"description": "(Required) "
																},
																{
																	"key": "employee_id",
																	"value": "<integer>"
																},
																{
																	"key": "location_id",
																	"value": "<integer>"
																},
																{
																	"key": "service_id",
																	"value": "<integer>"
																},
																{
																	"key": "client_id",
																	"value": "<integer>"
																},
																{
																	"key": "timezone_id",
																	"value": "<integer>",
																	"description": "Returns appointments date fields with specified time offset"
																},
																{
																	"key": "ews_id",
																	"value": "<string>"
																},
																{
																	"key": "status",
																	"value": "<string>"
																},
																{
																	"key": "search_text",
																	"value": "<string>"
																},
																{
																	"key": "client_name",
																	"value": "<string>"
																},
																{
																	"key": "client_email",
																	"value": "<string>"
																},
																{
																	"key": "custom_field_1",
																	"value": "<string>"
																},
																{
																	"key": "custom_field_2",
																	"value": "<string>"
																},
																{
																	"key": "custom_field_3",
																	"value": "<string>"
																},
																{
																	"key": "custom_field_4",
																	"value": "<string>"
																},
																{
																	"key": "custom_field_5",
																	"value": "<string>"
																},
																{
																	"key": "start_date",
																	"value": "<string>"
																},
																{
																	"key": "end_date",
																	"value": "<string>"
																},
																{
																	"key": "paid",
																	"value": "<integer>"
																},
																{
																	"key": "start",
																	"value": "0",
																	"description": "List pager"
																},
																{
																	"key": "end",
																	"value": "<integer>",
																	"description": "List pager / 'all' - no limit"
																},
																{
																	"key": "updated_after",
																	"value": "<dateTime>",
																	"description": "Lower date limit for which the appointment was updated"
																},
																{
																	"key": "updated_before",
																	"value": "<dateTime>",
																	"description": "Upper date limit for which the appointment was updated"
																},
																{
																	"key": "created_after",
																	"value": "<dateTime>",
																	"description": "Lower date limit for which the appointment was created"
																},
																{
																	"key": "created_before",
																	"value": "<dateTime>",
																	"description": "Upper date limit for which the appointment was created"
																},
																{
																	"key": "num_results",
																	"value": "0",
																	"description": "If 1, the call returns only the number of appointments found"
																},
																{
																	"key": "sort_by",
																	"value": "start_date"
																},
																{
																	"key": "sort_order",
																	"value": "asc"
																}
															]
														},
														"description": "Get a list of all appointments (upcoming and past) and their attributes.\nWe advise using filters to fetch appointments for specific date ranges or different attributes."
													},
													"response": [
														{
															"name": "successful operation",
															"originalRequest": {
																"method": "GET",
																"header": [],
																"url": {
																	"raw": "{{baseUrl}}/appointment?id=<integer>&company_id=<integer>&employee_id=<integer>&location_id=<integer>&service_id=<integer>&client_id=<integer>&timezone_id=<integer>&ews_id=<string>&status=<string>&search_text=<string>&client_name=<string>&client_email=<string>&custom_field_1=<string>&custom_field_2=<string>&custom_field_3=<string>&custom_field_4=<string>&custom_field_5=<string>&start_date=<string>&end_date=<string>&paid=<integer>&start=0&end=<integer>&updated_after=<dateTime>&updated_before=<dateTime>&created_after=<dateTime>&created_before=<dateTime>&num_results=0&sort_by=start_date&sort_order=asc&session_token=<API Key>",
																	"host": [
																		"{{baseUrl}}"
																	],
																	"path": [
																		"appointment"
																	],
																	"query": [
																		{
																			"key": "id",
																			"value": "<integer>"
																		},
																		{
																			"key": "company_id",
																			"value": "<integer>"
																		},
																		{
																			"key": "employee_id",
																			"value": "<integer>"
																		},
																		{
																			"key": "location_id",
																			"value": "<integer>"
																		},
																		{
																			"key": "service_id",
																			"value": "<integer>"
																		},
																		{
																			"key": "client_id",
																			"value": "<integer>"
																		},
																		{
																			"key": "timezone_id",
																			"value": "<integer>"
																		},
																		{
																			"key": "ews_id",
																			"value": "<string>"
																		},
																		{
																			"key": "status",
																			"value": "<string>"
																		},
																		{
																			"key": "search_text",
																			"value": "<string>"
																		},
																		{
																			"key": "client_name",
																			"value": "<string>"
																		},
																		{
																			"key": "client_email",
																			"value": "<string>"
																		},
																		{
																			"key": "custom_field_1",
																			"value": "<string>"
																		},
																		{
																			"key": "custom_field_2",
																			"value": "<string>"
																		},
																		{
																			"key": "custom_field_3",
																			"value": "<string>"
																		},
																		{
																			"key": "custom_field_4",
																			"value": "<string>"
																		},
																		{
																			"key": "custom_field_5",
																			"value": "<string>"
																		},
																		{
																			"key": "start_date",
																			"value": "<string>"
																		},
																		{
																			"key": "end_date",
																			"value": "<string>"
																		},
																		{
																			"key": "paid",
																			"value": "<integer>"
																		},
																		{
																			"key": "start",
																			"value": "0"
																		},
																		{
																			"key": "end",
																			"value": "<integer>"
																		},
																		{
																			"key": "updated_after",
																			"value": "<dateTime>"
																		},
																		{
																			"key": "updated_before",
																			"value": "<dateTime>"
																		},
																		{
																			"key": "created_after",
																			"value": "<dateTime>"
																		},
																		{
																			"key": "created_before",
																			"value": "<dateTime>"
																		},
																		{
																			"key": "num_results",
																			"value": "0"
																		},
																		{
																			"key": "sort_by",
																			"value": "start_date"
																		},
																		{
																			"key": "sort_order",
																			"value": "asc"
																		},
																		{
																			"key": "session_token",
																			"value": "<API Key>"
																		}
																	]
																}
															},
															"status": "OK",
															"code": 200,
															"_postman_previewlanguage": "json",
															"header": [
																{
																	"key": "Content-Type",
																	"value": "application/json"
																}
															],
															"cookie": [],
															"body": "{\n \"statusCode\": \"<integer>\",\n \"statusDescriptions\": \"<string>\",\n \"data\": [\n  {\n   \"company_id\": \"<long>\",\n   \"client_email\": \"<email>\",\n   \"client_name\": \"<string>\",\n   \"service_id\": \"<long>\",\n   \"start_date\": \"<string>\",\n   \"id\": \"<long>\",\n   \"client_id\": \"<long>\",\n   \"client_phone\": \"<string>\",\n   \"client_address\": \"<string>\",\n   \"employee_id\": \"<long>\",\n   \"location_id\": \"<long>\",\n   \"end_date\": \"<string>\",\n   \"length\": \"<integer>\",\n   \"duration_padding\": 0,\n   \"note\": \"<string>\",\n   \"status\": \"<integer>\",\n   \"type\": \"<string>\",\n   \"last_updated\": \"<dateTime>\",\n   \"created_at\": \"<dateTime>\",\n   \"subservices\": \"<string>\",\n   \"paid\": false,\n   \"price\": 0,\n   \"ews_id\": \"\",\n   \"custom_fields\": \"<object>\",\n   \"timezone_short\": \"<string>\",\n   \"timezone_offset_seconds\": \"<integer>\",\n   \"timezone_id\": \"<integer>\"\n  },\n  {\n   \"company_id\": \"<long>\",\n   \"client_email\": \"<email>\",\n   \"client_name\": \"<string>\",\n   \"service_id\": \"<long>\",\n   \"start_date\": \"<string>\",\n   \"id\": \"<long>\",\n   \"client_id\": \"<long>\",\n   \"client_phone\": \"<string>\",\n   \"client_address\": \"<string>\",\n   \"employee_id\": \"<long>\",\n   \"location_id\": \"<long>\",\n   \"end_date\": \"<string>\",\n   \"length\": \"<integer>\",\n   \"duration_padding\": 0,\n   \"note\": \"<string>\",\n   \"status\": \"<integer>\",\n   \"type\": \"<string>\",\n   \"last_updated\": \"<dateTime>\",\n   \"created_at\": \"<dateTime>\",\n   \"subservices\": \"<string>\",\n   \"paid\": false,\n   \"price\": 0,\n   \"ews_id\": \"\",\n   \"custom_fields\": \"<object>\",\n   \"timezone_short\": \"<string>\",\n   \"timezone_offset_seconds\": \"<integer>\",\n   \"timezone_id\": \"<integer>\"\n  }\n ]\n}"
														}
													]
												},
												{
													"name": "2. Delete appointment by Id",
													"request": {
														"auth": {
															"type": "apikey",
															"apikey": [
																{
																	"key": "value",
																	"value": "{{SESSION_TOKEN}}",
																	"type": "string"
																},
																{
																	"key": "key",
																	"value": "session_token",
																	"type": "string"
																},
																{
																	"key": "in",
																	"value": "query",
																	"type": "string"
																}
															]
														},
														"method": "DELETE",
														"header": [],
														"url": {
															"raw": "{{baseUrl}}/appointment/:id?company_id={{company_id}}",
															"host": [
																"{{baseUrl}}"
															],
															"path": [
																"appointment",
																":id"
															],
															"query": [
																{
																	"key": "company_id",
																	"value": "{{company_id}}"
																}
															],
															"variable": [
																{
																	"key": "id",
																	"value": "<long>",
																	"description": "(Required) Appointment id"
																}
															]
														},
														"description": "Delete an existing appointment. \nThis action is permanent and non-reversible. Consider using the cancel or decline endpoint instead of deleting an appointment."
													},
													"response": [
														{
															"name": "successful operation",
															"originalRequest": {
																"method": "DELETE",
																"header": [],
																"url": {
																	"raw": "{{baseUrl}}/appointment/:id?session_token=<API Key>",
																	"host": [
																		"{{baseUrl}}"
																	],
																	"path": [
																		"appointment",
																		":id"
																	],
																	"query": [
																		{
																			"key": "session_token",
																			"value": "<API Key>"
																		}
																	],
																	"variable": [
																		{
																			"key": "id"
																		}
																	]
																}
															},
															"status": "OK",
															"code": 200,
															"_postman_previewlanguage": "json",
															"header": [
																{
																	"key": "Content-Type",
																	"value": "application/json"
																}
															],
															"cookie": [],
															"body": "{\n \"statusCode\": \"<integer>\",\n \"statusDescriptions\": \"<string>\",\n \"data\": \"<object>\"\n}"
														}
													]
												}
											]
										}
									]
								},
								{
									"name": "All Events",
									"item": [
										{
											"name": "1. Test Target Url",
											"item": [
												{
													"name": "Test Target Url",
													"event": [
														{
															"listen": "test",
															"script": {
																"exec": [
																	"pm.test('Status received is ' + pm.response.code, function() {",
																	"    pm.expect(pm.response.code).to.be.oneOf([200,201,202]);",
																	"});"
																],
																"type": "text/javascript"
															}
														}
													],
													"request": {
														"method": "POST",
														"header": [
															{
																"key": "setster-verification-key",
																"value": "testkey1234567891234567891234567",
																"description": "Will be return from creating a webhook POST request",
																"type": "text"
															},
															{
																"key": "setster-event-type",
																"value": "appointment.created",
																"type": "text"
															}
														],
														"body": {
															"mode": "raw",
															"raw": "{\n    \"client_street1\": \"{{$randomStreetAddress}}\",\n    \"client_street2\": \"\",\n    \"client_city\": \"{{$randomCity}}\",\n    \"client_state\": \"CA\",\n    \"client_zip\": \"90048\",\n    \"client_country\": \"{{$randomCountryCode}}\",\n    \"client_email\": \"ironman@setster.com\",\n    \"client_id\": \"12345\",\n    \"client_name\": \"{{$randomFullName}}\",\n    \"client_phone\": \"{{$randomPhoneNumber}}\",\n    \"custom_fields\": \"{\\\"1\\\":[\\\"(555) 555-5555\\\",\\\"Phone\\\"],\\\"2\\\":[null,\\\"Address\\\"]}\",\n    \"custom_data\": \"{\\\"phone_70104\\\":\\\"(555) 555-5555\\\",\\\"address_70105\\\":null}\",\n    \"created_at\": \"2021-02-09T11:14:10-08:00\",\n    \"employee_id\": \"12345\",\n    \"end_date\": \"2021-02-11T14:00:00-08:00\",\n    \"id\": \"12345678912\",\n    \"last_updated\": \"2021-02-09T11:17:20-08:00\",\n    \"location_id\": \"12345\",\n    \"location_name\": \"Location 1\",\n    \"note\": \"\",\n    \"paid\": false,\n    \"price\": \"0.00\",\n    \"provider_name\": \"Captain Marvel\",\n    \"provider_phone\": \"{{$randomPhoneNumber}}\",\n    \"service_id\": \"12345\",\n    \"service_name\": \"Service 1\",\n    \"start_date\": \"2021-02-11T12:00:00-08:00\",\n    \"status\": \"Confirmed\",\n    \"subservices\": \"\",\n    \"timezone_id\": \"553\",\n    \"duration\": \"2:0:0\",\n    \"client_full_address\": \"123 Road, #14, Los Angeles, CA, 90048, USA\",\n    \"start_date_friendly\": \"Thu, Feb 11th 2021, 12:00:00 PM (PST)\",\n    \"end_date_friendly\": \"Thu, Feb 11th 2021, 2:00:00 PM (PST)\",\n    \"created_at_friendly\": \"Tue, Feb 9th 2021, 11:14:10 AM (PST)\",\n    \"last_updated_friendly\": \"Tue, Feb 9th 2021, 11:17:20 AM (PST)\"\n}",
															"options": {
																"raw": {
																	"language": "json"
																}
															}
														},
														"url": {
															"raw": "{{webhook_target_url_all}}",
															"host": [
																"{{webhook_target_url_all}}"
															]
														}
													},
													"response": [
														{
															"name": "Webhook Event Data",
															"originalRequest": {
																"method": "POST",
																"header": [
																	{
																		"key": "setster-verification-key",
																		"value": "testkey1234567891234567891234567",
																		"type": "text"
																	},
																	{
																		"key": "setster-event-type",
																		"value": "appointment.updated",
																		"type": "text"
																	}
																],
																"body": {
																	"mode": "raw",
																	"raw": "{\n  \"data\": {\n    \"company_id\": {{company_id}},\n    \"client_email\": \"{{client_email}}\",\n    \"client_name\": \"{{client_name}}\",\n    \"client_phone\": \"12345678\",\n    \"client_address\": \"string\",\n    \"employee_id\": {{employee_id}},\n    \"location_id\": {{location_id}},\n    \"service_id\": {{service_id}},\n    \"start_date\": \"{{start_date}} {{available_time}}\",\n    \"duration\": 0,\n    \"note\": \"string\",\n    \"status\": 0,\n    \"subservices\": \"string\",\n    \"paid\": false,\n    \"price\": 0,\n    \"ews_id\": \"string\",\n    \"custom_fields\": {\n      \"1\": [\n        \"(01512) 793246\",\n        \"Work Phone\"\n      ],\n      \"2\": [\n        [\n          \"201 S. Division St.\",\n          \"500\",\n          \"Ann Arbor\",\n          \"MI\",\n          \"48104\"\n        ],\n        \"Full Address\"\n      ],\n      \"3\": [\n        \"123ABC\",\n        \"Coupon Code\",\n        \"h\"\n      ]\n    },\n    \"timezone_id\": 553\n  }\n}\n",
																	"options": {
																		"raw": {
																			"language": "json"
																		}
																	}
																},
																"url": {
																	"raw": "{{baseUrl}}/appointment",
																	"host": [
																		"{{baseUrl}}"
																	],
																	"path": [
																		"appointment"
																	]
																}
															},
															"_postman_previewlanguage": "json",
															"header": [],
															"cookie": [],
															"body": "{\n    \"client_street1\": \"1111 Test Street\",\n    \"client_street2\": \"EQWE\",\n    \"client_city\": \"LA\",\n    \"client_state\": \"CA\",\n    \"client_zip\": \"300925\",\n    \"client_country\": \"USA\",\n    \"client_email\": \"test@setster.com\",\n    \"client_id\": \"1425851\",\n    \"client_name\": \"testtt\",\n    \"client_phone\": \"+40756250176\",\n    \"custom_fields\": \"{\\\"1\\\":[\\\"+40756250176\\\",\\\"Phone\\\"],\\\"2\\\":[[\\\"kjkjk\\\",\\\"l\\\",\\\"l\\\",\\\"kjl\\\",\\\"kj\\\"],\\\"Address\\\"]}\",\n    \"custom_data\": {\n        \"phone_41086\": \"+40756250176\",\n        \"address_70781\": {\n            \"street\": \"kjkjk\",\n            \"suite\": \"l\",\n            \"city\": \"l\",\n            \"state\": \"kjl\",\n            \"zip\": \"kj\"\n        }\n    },\n    \"created_at\": \"2021-03-10T11:47:20+02:00\",\n    \"employee_id\": \"12700\",\n    \"end_date\": \"2021-03-11T10:00:00+02:00\",\n    \"id\": \"19867165037\",\n    \"last_updated\": \"2021-03-10T11:47:23+02:00\",\n    \"location_id\": \"29322\",\n    \"location_name\": \"Location A\",\n    \"note\": \"lkjl\",\n    \"paid\": false,\n    \"price\": \"0.00\",\n    \"provider_name\": \"Provider A\",\n    \"provider_phone\": \"555-222-4546\",\n    \"service_id\": \"41523\",\n    \"service_name\": \"Service A\",\n    \"start_date\": \"2021-03-11T09:00:00+02:00\",\n    \"status\": \"Confirmed\",\n    \"subservices\": \"\",\n    \"timezone_id\": \"414\",\n    \"duration\": \"1:0:0\",\n    \"client_full_address\": \"kjkjk, l, l, kjl, kj, EQWE, LA, CA, 300925, USA\",\n    \"start_date_friendly\": \"Thu, Mar 11th 2021, 9:00:00 AM (EET)\",\n    \"end_date_friendly\": \"Thu, Mar 11th 2021, 10:00:00 AM (EET)\",\n    \"created_at_friendly\": \"Wed, Mar 10th 2021, 11:47:20 AM (EET)\",\n    \"last_updated_friendly\": \"Wed, Mar 10th 2021, 11:47:23 AM (EET)\"\n}"
														}
													]
												}
											]
										},
										{
											"name": "2. Create Webhook",
											"item": [
												{
													"name": "Create Webhook",
													"request": {
														"auth": {
															"type": "apikey",
															"apikey": [
																{
																	"key": "value",
																	"value": "{{SESSION_TOKEN}}",
																	"type": "string"
																},
																{
																	"key": "key",
																	"value": "session_token",
																	"type": "string"
																},
																{
																	"key": "in",
																	"value": "query",
																	"type": "string"
																}
															]
														},
														"method": "POST",
														"header": [
															{
																"key": "Content-Type",
																"value": "application/json"
															}
														],
														"body": {
															"mode": "raw",
															"raw": "{\"company_id\":{{company_id}},\"target_url\":\"{{webhook_target_url_all}}\",\"events\":[\"*\"],\"active\":1}",
															"options": {
																"raw": {
																	"language": "json"
																}
															}
														},
														"url": {
															"raw": "{{baseUrl}}/subscribe?company_id={{company_id}}",
															"host": [
																"{{baseUrl}}"
															],
															"path": [
																"subscribe"
															],
															"query": [
																{
																	"key": "company_id",
																	"value": "{{company_id}}"
																}
															]
														},
														"description": "Create a webHook"
													},
													"response": [
														{
															"name": "successful operation",
															"originalRequest": {
																"method": "POST",
																"header": [],
																"body": {
																	"mode": "urlencoded",
																	"urlencoded": [
																		{
																			"key": "data",
																			"value": "{\"company_id\":24232,\"target_url\":\"\",\"events\":[\"appointment.created\",\"appointment.created\"],\"active\":1}"
																		}
																	]
																},
																"url": {
																	"raw": "{{baseUrl}}/subscribe?session_token=<API Key>",
																	"host": [
																		"{{baseUrl}}"
																	],
																	"path": [
																		"subscribe"
																	],
																	"query": [
																		{
																			"key": "session_token",
																			"value": "<API Key>"
																		}
																	]
																}
															},
															"status": "Created",
															"code": 201,
															"_postman_previewlanguage": "json",
															"header": [
																{
																	"key": "Content-Type",
																	"value": "application/json"
																}
															],
															"cookie": [],
															"body": "{\n \"statusCode\": null,\n \"statusDescriptions\": \"OK\",\n \"data\": {\n  \"company_id\": 24232,\n  \"target_url\": \"\",\n  \"id\": 13425,\n  \"events\": [\n   {\n    \"id\": 13425,\n    \"event\": \"appointment.created\",\n    \"active\": 1,\n    \"created_at\": \"1953-08-31T05:07:01.204Z\"\n   },\n   {\n    \"id\": 13425,\n    \"event\": \"appointment.created\",\n    \"active\": 1,\n    \"created_at\": \"1994-01-11T13:41:48.763Z\"\n   }\n  ],\n  \"active\": 1,\n  \"verification_key\": \"est officia\",\n  \"created_at\": \"1969-08-08T00:35:43.863Z\",\n  \"updated_at\": \"1943-07-07T22:50:53.025Z\"\n }\n}"
														}
													]
												}
											]
										},
										{
											"name": "3. Test with Update Appointment",
											"item": [
												{
													"name": "1. List appointments, Find Id",
													"request": {
														"auth": {
															"type": "apikey",
															"apikey": [
																{
																	"key": "value",
																	"value": "{{SESSION_TOKEN}}",
																	"type": "string"
																},
																{
																	"key": "key",
																	"value": "session_token",
																	"type": "string"
																},
																{
																	"key": "in",
																	"value": "query",
																	"type": "string"
																}
															]
														},
														"method": "GET",
														"header": [],
														"url": {
															"raw": "{{baseUrl}}/appointment?id=<integer>&company_id={{company_id}}&employee_id=<integer>&location_id=<integer>&service_id=<integer>&client_id=<integer>&timezone_id=<integer>&ews_id=<string>&status=<string>&search_text=<string>&client_name=<string>&client_email=<string>&custom_field_1=<string>&custom_field_2=<string>&custom_field_3=<string>&custom_field_4=<string>&custom_field_5=<string>&start_date=<string>&end_date=<string>&paid=<integer>&start=0&end=<integer>&updated_after=<dateTime>&updated_before=<dateTime>&created_after=<dateTime>&created_before=<dateTime>&num_results=0&sort_by=start_date&sort_order=asc",
															"host": [
																"{{baseUrl}}"
															],
															"path": [
																"appointment"
															],
															"query": [
																{
																	"key": "id",
																	"value": "<integer>",
																	"description": "The appointment id"
																},
																{
																	"key": "company_id",
																	"value": "{{company_id}}",
																	"description": "(Required) "
																},
																{
																	"key": "employee_id",
																	"value": "<integer>"
																},
																{
																	"key": "location_id",
																	"value": "<integer>"
																},
																{
																	"key": "service_id",
																	"value": "<integer>"
																},
																{
																	"key": "client_id",
																	"value": "<integer>"
																},
																{
																	"key": "timezone_id",
																	"value": "<integer>",
																	"description": "Returns appointments date fields with specified time offset"
																},
																{
																	"key": "ews_id",
																	"value": "<string>"
																},
																{
																	"key": "status",
																	"value": "<string>"
																},
																{
																	"key": "search_text",
																	"value": "<string>"
																},
																{
																	"key": "client_name",
																	"value": "<string>"
																},
																{
																	"key": "client_email",
																	"value": "<string>"
																},
																{
																	"key": "custom_field_1",
																	"value": "<string>"
																},
																{
																	"key": "custom_field_2",
																	"value": "<string>"
																},
																{
																	"key": "custom_field_3",
																	"value": "<string>"
																},
																{
																	"key": "custom_field_4",
																	"value": "<string>"
																},
																{
																	"key": "custom_field_5",
																	"value": "<string>"
																},
																{
																	"key": "start_date",
																	"value": "<string>"
																},
																{
																	"key": "end_date",
																	"value": "<string>"
																},
																{
																	"key": "paid",
																	"value": "<integer>"
																},
																{
																	"key": "start",
																	"value": "0",
																	"description": "List pager"
																},
																{
																	"key": "end",
																	"value": "<integer>",
																	"description": "List pager / 'all' - no limit"
																},
																{
																	"key": "updated_after",
																	"value": "<dateTime>",
																	"description": "Lower date limit for which the appointment was updated"
																},
																{
																	"key": "updated_before",
																	"value": "<dateTime>",
																	"description": "Upper date limit for which the appointment was updated"
																},
																{
																	"key": "created_after",
																	"value": "<dateTime>",
																	"description": "Lower date limit for which the appointment was created"
																},
																{
																	"key": "created_before",
																	"value": "<dateTime>",
																	"description": "Upper date limit for which the appointment was created"
																},
																{
																	"key": "num_results",
																	"value": "0",
																	"description": "If 1, the call returns only the number of appointments found"
																},
																{
																	"key": "sort_by",
																	"value": "start_date"
																},
																{
																	"key": "sort_order",
																	"value": "asc"
																}
															]
														},
														"description": "Get a list of all appointments (upcoming and past) and their attributes.\nWe advise using filters to fetch appointments for specific date ranges or different attributes."
													},
													"response": [
														{
															"name": "successful operation",
															"originalRequest": {
																"method": "GET",
																"header": [],
																"url": {
																	"raw": "{{baseUrl}}/appointment?id=<integer>&company_id=<integer>&employee_id=<integer>&location_id=<integer>&service_id=<integer>&client_id=<integer>&timezone_id=<integer>&ews_id=<string>&status=<string>&search_text=<string>&client_name=<string>&client_email=<string>&custom_field_1=<string>&custom_field_2=<string>&custom_field_3=<string>&custom_field_4=<string>&custom_field_5=<string>&start_date=<string>&end_date=<string>&paid=<integer>&start=0&end=<integer>&updated_after=<dateTime>&updated_before=<dateTime>&created_after=<dateTime>&created_before=<dateTime>&num_results=0&sort_by=start_date&sort_order=asc&session_token=<API Key>",
																	"host": [
																		"{{baseUrl}}"
																	],
																	"path": [
																		"appointment"
																	],
																	"query": [
																		{
																			"key": "id",
																			"value": "<integer>"
																		},
																		{
																			"key": "company_id",
																			"value": "<integer>"
																		},
																		{
																			"key": "employee_id",
																			"value": "<integer>"
																		},
																		{
																			"key": "location_id",
																			"value": "<integer>"
																		},
																		{
																			"key": "service_id",
																			"value": "<integer>"
																		},
																		{
																			"key": "client_id",
																			"value": "<integer>"
																		},
																		{
																			"key": "timezone_id",
																			"value": "<integer>"
																		},
																		{
																			"key": "ews_id",
																			"value": "<string>"
																		},
																		{
																			"key": "status",
																			"value": "<string>"
																		},
																		{
																			"key": "search_text",
																			"value": "<string>"
																		},
																		{
																			"key": "client_name",
																			"value": "<string>"
																		},
																		{
																			"key": "client_email",
																			"value": "<string>"
																		},
																		{
																			"key": "custom_field_1",
																			"value": "<string>"
																		},
																		{
																			"key": "custom_field_2",
																			"value": "<string>"
																		},
																		{
																			"key": "custom_field_3",
																			"value": "<string>"
																		},
																		{
																			"key": "custom_field_4",
																			"value": "<string>"
																		},
																		{
																			"key": "custom_field_5",
																			"value": "<string>"
																		},
																		{
																			"key": "start_date",
																			"value": "<string>"
																		},
																		{
																			"key": "end_date",
																			"value": "<string>"
																		},
																		{
																			"key": "paid",
																			"value": "<integer>"
																		},
																		{
																			"key": "start",
																			"value": "0"
																		},
																		{
																			"key": "end",
																			"value": "<integer>"
																		},
																		{
																			"key": "updated_after",
																			"value": "<dateTime>"
																		},
																		{
																			"key": "updated_before",
																			"value": "<dateTime>"
																		},
																		{
																			"key": "created_after",
																			"value": "<dateTime>"
																		},
																		{
																			"key": "created_before",
																			"value": "<dateTime>"
																		},
																		{
																			"key": "num_results",
																			"value": "0"
																		},
																		{
																			"key": "sort_by",
																			"value": "start_date"
																		},
																		{
																			"key": "sort_order",
																			"value": "asc"
																		},
																		{
																			"key": "session_token",
																			"value": "<API Key>"
																		}
																	]
																}
															},
															"status": "OK",
															"code": 200,
															"_postman_previewlanguage": "json",
															"header": [
																{
																	"key": "Content-Type",
																	"value": "application/json"
																}
															],
															"cookie": [],
															"body": "{\n \"statusCode\": \"<integer>\",\n \"statusDescriptions\": \"<string>\",\n \"data\": [\n  {\n   \"company_id\": \"<long>\",\n   \"client_email\": \"<email>\",\n   \"client_name\": \"<string>\",\n   \"service_id\": \"<long>\",\n   \"start_date\": \"<string>\",\n   \"id\": \"<long>\",\n   \"client_id\": \"<long>\",\n   \"client_phone\": \"<string>\",\n   \"client_address\": \"<string>\",\n   \"employee_id\": \"<long>\",\n   \"location_id\": \"<long>\",\n   \"end_date\": \"<string>\",\n   \"length\": \"<integer>\",\n   \"duration_padding\": 0,\n   \"note\": \"<string>\",\n   \"status\": \"<integer>\",\n   \"type\": \"<string>\",\n   \"last_updated\": \"<dateTime>\",\n   \"created_at\": \"<dateTime>\",\n   \"subservices\": \"<string>\",\n   \"paid\": false,\n   \"price\": 0,\n   \"ews_id\": \"\",\n   \"custom_fields\": \"<object>\",\n   \"timezone_short\": \"<string>\",\n   \"timezone_offset_seconds\": \"<integer>\",\n   \"timezone_id\": \"<integer>\"\n  },\n  {\n   \"company_id\": \"<long>\",\n   \"client_email\": \"<email>\",\n   \"client_name\": \"<string>\",\n   \"service_id\": \"<long>\",\n   \"start_date\": \"<string>\",\n   \"id\": \"<long>\",\n   \"client_id\": \"<long>\",\n   \"client_phone\": \"<string>\",\n   \"client_address\": \"<string>\",\n   \"employee_id\": \"<long>\",\n   \"location_id\": \"<long>\",\n   \"end_date\": \"<string>\",\n   \"length\": \"<integer>\",\n   \"duration_padding\": 0,\n   \"note\": \"<string>\",\n   \"status\": \"<integer>\",\n   \"type\": \"<string>\",\n   \"last_updated\": \"<dateTime>\",\n   \"created_at\": \"<dateTime>\",\n   \"subservices\": \"<string>\",\n   \"paid\": false,\n   \"price\": 0,\n   \"ews_id\": \"\",\n   \"custom_fields\": \"<object>\",\n   \"timezone_short\": \"<string>\",\n   \"timezone_offset_seconds\": \"<integer>\",\n   \"timezone_id\": \"<integer>\"\n  }\n ]\n}"
														}
													]
												},
												{
													"name": "2. Modify appointment by Id",
													"request": {
														"auth": {
															"type": "apikey",
															"apikey": [
																{
																	"key": "value",
																	"value": "{{SESSION_TOKEN}}",
																	"type": "string"
																},
																{
																	"key": "key",
																	"value": "session_token",
																	"type": "string"
																},
																{
																	"key": "in",
																	"value": "query",
																	"type": "string"
																}
															]
														},
														"method": "PUT",
														"header": [
															{
																"key": "Content-Type",
																"value": "application/json"
															}
														],
														"body": {
															"mode": "raw",
															"raw": "{\n    \"company_id\": \"{{company_id}}\",\n    \"client_email\": \"<email>\",\n    \"client_name\": \"<string>\",\n    \"service_id\": \"<long>\",\n    \"start_date\": \"<string>\",\n    \"client_phone\": \"<string>\",\n    \"client_address\": \"<string>\",\n    \"employee_id\": \"<long>\",\n    \"location_id\": \"<long>\",\n    \"duration\": 15,\n    \"note\": \"<string>\",\n    \"status\": \"<integer>\",\n    \"subservices\": \"<string>\",\n    \"paid\": false,\n    \"price\": 0,\n    \"ews_id\": \"\",\n    \"custom_fields\": \"<object>\",\n    \"timezone_id\": \"<integer>\"\n}"
														},
														"url": {
															"raw": "{{baseUrl}}/appointment/:id?company_id={{company_id}}",
															"host": [
																"{{baseUrl}}"
															],
															"path": [
																"appointment",
																":id"
															],
															"query": [
																{
																	"key": "company_id",
																	"value": "{{company_id}}"
																}
															],
															"variable": [
																{
																	"key": "id",
																	"value": "<long>",
																	"description": "(Required) Appointment id"
																}
															]
														},
														"description": "Modify the attributes for an existing appointment. Most commonly used to reschedule the appointment to a different date and time or to modify the appointment status.\n\n<div class='ui grey icon message'>\n<div class='content'>\n  <div class=\"header\">\n  <i class='small paper plane outline\n icon'>\n </i>\n Triggers Client Notification\n</div>\n <p>By default triggers an email and SMS if configured. <a href=\"https://support.setster.com/hc/en-us/sections/360004456154-Email-and-SMS-Notifications\" target=\"_blank\" style=\"color: #636d82 !important\">Learn More</a></p></div></div>\n"
													},
													"response": [
														{
															"name": "successful operation",
															"originalRequest": {
																"method": "PUT",
																"header": [],
																"body": {
																	"mode": "raw",
																	"raw": "{\n    \"data\": {\n        \"company_id\": \"<long>\",\n        \"client_email\": \"<email>\",\n        \"client_name\": \"<string>\",\n        \"service_id\": \"<long>\",\n        \"start_date\": \"<string>\",\n        \"client_phone\": \"<string>\",\n        \"client_address\": \"<string>\",\n        \"employee_id\": \"<long>\",\n        \"location_id\": \"<long>\",\n        \"duration\": 15,\n        \"note\": \"<string>\",\n        \"status\": \"<integer>\",\n        \"subservices\": \"<string>\",\n        \"paid\": false,\n        \"price\": 0,\n        \"ews_id\": \"\",\n        \"custom_fields\": \"<object>\",\n        \"timezone_id\": \"<integer>\"\n    }\n}"
																},
																"url": {
																	"raw": "{{baseUrl}}/appointment/:id?session_token=<API Key>",
																	"host": [
																		"{{baseUrl}}"
																	],
																	"path": [
																		"appointment",
																		":id"
																	],
																	"query": [
																		{
																			"key": "session_token",
																			"value": "<API Key>"
																		}
																	],
																	"variable": [
																		{
																			"key": "id"
																		}
																	]
																}
															},
															"status": "OK",
															"code": 200,
															"_postman_previewlanguage": "json",
															"header": [
																{
																	"key": "Content-Type",
																	"value": "application/json"
																}
															],
															"cookie": [],
															"body": "{\n \"statusCode\": \"<integer>\",\n \"statusDescriptions\": \"<string>\",\n \"data\": {\n  \"company_id\": \"<long>\",\n  \"client_email\": \"<email>\",\n  \"client_name\": \"<string>\",\n  \"service_id\": \"<long>\",\n  \"start_date\": \"<string>\",\n  \"id\": \"<long>\",\n  \"client_id\": \"<long>\",\n  \"client_phone\": \"<string>\",\n  \"client_address\": \"<string>\",\n  \"employee_id\": \"<long>\",\n  \"location_id\": \"<long>\",\n  \"end_date\": \"<string>\",\n  \"length\": \"<integer>\",\n  \"duration_padding\": 0,\n  \"note\": \"<string>\",\n  \"status\": \"<integer>\",\n  \"type\": \"<string>\",\n  \"last_updated\": \"<dateTime>\",\n  \"created_at\": \"<dateTime>\",\n  \"subservices\": \"<string>\",\n  \"paid\": false,\n  \"price\": 0,\n  \"ews_id\": \"\",\n  \"custom_fields\": \"<object>\",\n  \"timezone_short\": \"<string>\",\n  \"timezone_offset_seconds\": \"<integer>\",\n  \"timezone_id\": \"<integer>\"\n }\n}"
														}
													]
												}
											]
										}
									]
								}
							]
						}
					]
				},
				{
					"name": "Reference",
					"item": [
						{
							"name": "{id}",
							"item": [
								{
									"name": "Get a webHook",
									"request": {
										"auth": {
											"type": "apikey",
											"apikey": [
												{
													"key": "value",
													"value": "{{SESSION_TOKEN}}",
													"type": "string"
												},
												{
													"key": "key",
													"value": "session_token",
													"type": "string"
												},
												{
													"key": "in",
													"value": "query",
													"type": "string"
												}
											]
										},
										"method": "GET",
										"header": [],
										"url": {
											"raw": "{{baseUrl}}/subscribe/:id?company_id={{company_id}}",
											"host": [
												"{{baseUrl}}"
											],
											"path": [
												"subscribe",
												":id"
											],
											"query": [
												{
													"key": "company_id",
													"value": "{{company_id}}"
												}
											],
											"variable": [
												{
													"key": "id",
													"value": "<long>",
													"description": "(Required) WebHook id"
												}
											]
										},
										"description": "Get the attributes of a specific webhook."
									},
									"response": [
										{
											"name": "successful operation",
											"originalRequest": {
												"method": "GET",
												"header": [],
												"url": {
													"raw": "{{baseUrl}}/subscribe/:id?session_token=<API Key>",
													"host": [
														"{{baseUrl}}"
													],
													"path": [
														"subscribe",
														":id"
													],
													"query": [
														{
															"key": "session_token",
															"value": "<API Key>"
														}
													],
													"variable": [
														{
															"key": "id"
														}
													]
												}
											},
											"status": "OK",
											"code": 200,
											"_postman_previewlanguage": "json",
											"header": [
												{
													"key": "Content-Type",
													"value": "application/json"
												}
											],
											"cookie": [],
											"body": "{\n \"statusCode\": \"<integer>\",\n \"statusDescriptions\": \"<string>\",\n \"data\": [\n  {\n   \"company_id\": \"<long>\",\n   \"target_url\": \"\",\n   \"id\": \"<long>\",\n   \"events\": [\n    {\n     \"id\": \"<long>\",\n     \"event\": \"<string>\",\n     \"active\": 1,\n     \"created_at\": \"<dateTime>\"\n    },\n    {\n     \"id\": \"<long>\",\n     \"event\": \"<string>\",\n     \"active\": 1,\n     \"created_at\": \"<dateTime>\"\n    }\n   ],\n   \"active\": 1,\n   \"verification_key\": \"<string>\",\n   \"created_at\": \"<dateTime>\",\n   \"updated_at\": \"<dateTime>\"\n  },\n  {\n   \"company_id\": \"<long>\",\n   \"target_url\": \"\",\n   \"id\": \"<long>\",\n   \"events\": [\n    {\n     \"id\": \"<long>\",\n     \"event\": \"<string>\",\n     \"active\": 1,\n     \"created_at\": \"<dateTime>\"\n    },\n    {\n     \"id\": \"<long>\",\n     \"event\": \"<string>\",\n     \"active\": 1,\n     \"created_at\": \"<dateTime>\"\n    }\n   ],\n   \"active\": 1,\n   \"verification_key\": \"<string>\",\n   \"created_at\": \"<dateTime>\",\n   \"updated_at\": \"<dateTime>\"\n  }\n ]\n}"
										}
									]
								},
								{
									"name": "Modify WebHook",
									"request": {
										"auth": {
											"type": "apikey",
											"apikey": [
												{
													"key": "value",
													"value": "{{SESSION_TOKEN}}",
													"type": "string"
												},
												{
													"key": "key",
													"value": "session_token",
													"type": "string"
												},
												{
													"key": "in",
													"value": "query",
													"type": "string"
												}
											]
										},
										"method": "PUT",
										"header": [
											{
												"key": "Content-Type",
												"value": "application/json"
											}
										],
										"body": {
											"mode": "raw",
											"raw": "{\n    \"company_id\": \"{{company_id}}\",\n    \"target_url\": \"\",\n    \"events\": [\n        \"<string>\",\n        \"<string>\"\n    ],\n    \"active\": 1\n}"
										},
										"url": {
											"raw": "{{baseUrl}}/subscribe/:id",
											"host": [
												"{{baseUrl}}"
											],
											"path": [
												"subscribe",
												":id"
											],
											"variable": [
												{
													"key": "id",
													"value": "<long>",
													"description": "(Required) WebHook id"
												}
											]
										},
										"description": "Modify the attributes for an existing webhook."
									},
									"response": [
										{
											"name": "successful operation",
											"originalRequest": {
												"method": "PUT",
												"header": [],
												"body": {
													"mode": "raw",
													"raw": "{\n    \"data\": {\n        \"company_id\": \"<long>\",\n        \"target_url\": \"\",\n        \"events\": [\n            \"<string>\",\n            \"<string>\"\n        ],\n        \"active\": 1\n    }\n}"
												},
												"url": {
													"raw": "{{baseUrl}}/subscribe/:id?session_token=<API Key>",
													"host": [
														"{{baseUrl}}"
													],
													"path": [
														"subscribe",
														":id"
													],
													"query": [
														{
															"key": "session_token",
															"value": "<API Key>"
														}
													],
													"variable": [
														{
															"key": "id"
														}
													]
												}
											},
											"status": "OK",
											"code": 200,
											"_postman_previewlanguage": "json",
											"header": [
												{
													"key": "Content-Type",
													"value": "application/json"
												}
											],
											"cookie": [],
											"body": "{\n \"statusCode\": \"<integer>\",\n \"statusDescriptions\": \"<string>\",\n \"data\": {\n  \"company_id\": \"<long>\",\n  \"target_url\": \"\",\n  \"id\": \"<long>\",\n  \"events\": [\n   {\n    \"id\": \"<long>\",\n    \"event\": \"<string>\",\n    \"active\": 1,\n    \"created_at\": \"<dateTime>\"\n   },\n   {\n    \"id\": \"<long>\",\n    \"event\": \"<string>\",\n    \"active\": 1,\n    \"created_at\": \"<dateTime>\"\n   }\n  ],\n  \"active\": 1,\n  \"verification_key\": \"<string>\",\n  \"created_at\": \"<dateTime>\",\n  \"updated_at\": \"<dateTime>\"\n }\n}"
										}
									]
								},
								{
									"name": "Delete WebHook",
									"request": {
										"auth": {
											"type": "apikey",
											"apikey": [
												{
													"key": "value",
													"value": "{{SESSION_TOKEN}}",
													"type": "string"
												},
												{
													"key": "key",
													"value": "session_token",
													"type": "string"
												},
												{
													"key": "in",
													"value": "query",
													"type": "string"
												}
											]
										},
										"method": "DELETE",
										"header": [],
										"url": {
											"raw": "{{baseUrl}}/subscribe/:id?company_id={{company_id}}",
											"host": [
												"{{baseUrl}}"
											],
											"path": [
												"subscribe",
												":id"
											],
											"query": [
												{
													"key": "company_id",
													"value": "{{company_id}}"
												}
											],
											"variable": [
												{
													"key": "id",
													"value": "<long>",
													"description": "(Required) WebHook id"
												}
											]
										},
										"description": "Delete an existing webhook."
									},
									"response": [
										{
											"name": "successful operation",
											"originalRequest": {
												"method": "DELETE",
												"header": [],
												"url": {
													"raw": "{{baseUrl}}/subscribe/:id?session_token=<API Key>",
													"host": [
														"{{baseUrl}}"
													],
													"path": [
														"subscribe",
														":id"
													],
													"query": [
														{
															"key": "session_token",
															"value": "<API Key>"
														}
													],
													"variable": [
														{
															"key": "id"
														}
													]
												}
											},
											"status": "OK",
											"code": 200,
											"_postman_previewlanguage": "json",
											"header": [
												{
													"key": "Content-Type",
													"value": "application/json"
												}
											],
											"cookie": [],
											"body": "{\n \"statusCode\": \"<integer>\",\n \"statusDescriptions\": \"<string>\",\n \"data\": \"<object>\"\n}"
										}
									]
								}
							]
						},
						{
							"name": "Get the list of webHooks",
							"request": {
								"auth": {
									"type": "apikey",
									"apikey": [
										{
											"key": "value",
											"value": "{{SESSION_TOKEN}}",
											"type": "string"
										},
										{
											"key": "key",
											"value": "session_token",
											"type": "string"
										},
										{
											"key": "in",
											"value": "query",
											"type": "string"
										}
									]
								},
								"method": "GET",
								"header": [],
								"url": {
									"raw": "{{baseUrl}}/subscribe?company_id={{company_id}}&target_url=<uri>&active=<integer>&verification_key=<string>&created_at=<dateTime>&updated_at=<dateTime>",
									"host": [
										"{{baseUrl}}"
									],
									"path": [
										"subscribe"
									],
									"query": [
										{
											"key": "company_id",
											"value": "{{company_id}}",
											"description": "(Required) "
										},
										{
											"key": "target_url",
											"value": "<uri>"
										},
										{
											"key": "active",
											"value": "<integer>"
										},
										{
											"key": "verification_key",
											"value": "<string>"
										},
										{
											"key": "created_at",
											"value": "<dateTime>"
										},
										{
											"key": "updated_at",
											"value": "<dateTime>"
										}
									]
								},
								"description": "Get a list of created webhooks and their attributes."
							},
							"response": [
								{
									"name": "successful operation",
									"originalRequest": {
										"method": "GET",
										"header": [],
										"url": {
											"raw": "{{baseUrl}}/subscribe?company_id=<integer>&target_url=<uri>&active=<integer>&verification_key=<string>&created_at=<dateTime>&updated_at=<dateTime>&session_token=<API Key>",
											"host": [
												"{{baseUrl}}"
											],
											"path": [
												"subscribe"
											],
											"query": [
												{
													"key": "company_id",
													"value": "<integer>"
												},
												{
													"key": "target_url",
													"value": "<uri>"
												},
												{
													"key": "active",
													"value": "<integer>"
												},
												{
													"key": "verification_key",
													"value": "<string>"
												},
												{
													"key": "created_at",
													"value": "<dateTime>"
												},
												{
													"key": "updated_at",
													"value": "<dateTime>"
												},
												{
													"key": "session_token",
													"value": "<API Key>"
												}
											]
										}
									},
									"status": "OK",
									"code": 200,
									"_postman_previewlanguage": "json",
									"header": [
										{
											"key": "Content-Type",
											"value": "application/json"
										}
									],
									"cookie": [],
									"body": "{\n \"statusCode\": \"<integer>\",\n \"statusDescriptions\": \"<string>\",\n \"data\": [\n  {\n   \"company_id\": \"<long>\",\n   \"target_url\": \"\",\n   \"id\": \"<long>\",\n   \"events\": [\n    {\n     \"id\": \"<long>\",\n     \"event\": \"<string>\",\n     \"active\": 1,\n     \"created_at\": \"<dateTime>\"\n    },\n    {\n     \"id\": \"<long>\",\n     \"event\": \"<string>\",\n     \"active\": 1,\n     \"created_at\": \"<dateTime>\"\n    }\n   ],\n   \"active\": 1,\n   \"verification_key\": \"<string>\",\n   \"created_at\": \"<dateTime>\",\n   \"updated_at\": \"<dateTime>\"\n  },\n  {\n   \"company_id\": \"<long>\",\n   \"target_url\": \"\",\n   \"id\": \"<long>\",\n   \"events\": [\n    {\n     \"id\": \"<long>\",\n     \"event\": \"<string>\",\n     \"active\": 1,\n     \"created_at\": \"<dateTime>\"\n    },\n    {\n     \"id\": \"<long>\",\n     \"event\": \"<string>\",\n     \"active\": 1,\n     \"created_at\": \"<dateTime>\"\n    }\n   ],\n   \"active\": 1,\n   \"verification_key\": \"<string>\",\n   \"created_at\": \"<dateTime>\",\n   \"updated_at\": \"<dateTime>\"\n  }\n ]\n}"
								}
							]
						},
						{
							"name": "Create a webHook",
							"request": {
								"auth": {
									"type": "apikey",
									"apikey": [
										{
											"key": "value",
											"value": "{{SESSION_TOKEN}}",
											"type": "string"
										},
										{
											"key": "key",
											"value": "session_token",
											"type": "string"
										},
										{
											"key": "in",
											"value": "query",
											"type": "string"
										}
									]
								},
								"method": "POST",
								"header": [
									{
										"key": "Content-Type",
										"value": "application/json"
									}
								],
								"body": {
									"mode": "raw",
									"raw": "{\n    \"company_id\": \"{{company_id}}\",\n    \"target_url\": \"\",\n    \"events\": [\n        \"<string>\",\n        \"<string>\"\n    ],\n    \"active\": 1\n}"
								},
								"url": {
									"raw": "{{baseUrl}}/subscribe",
									"host": [
										"{{baseUrl}}"
									],
									"path": [
										"subscribe"
									]
								},
								"description": "Create a new webhook."
							},
							"response": [
								{
									"name": "successful operation",
									"originalRequest": {
										"method": "POST",
										"header": [],
										"body": {
											"mode": "raw",
											"raw": "{\n    \"data\": {\n        \"company_id\": \"<long>\",\n        \"target_url\": \"\",\n        \"events\": [\n            \"<string>\",\n            \"<string>\"\n        ],\n        \"active\": 1\n    }\n}"
										},
										"url": {
											"raw": "{{baseUrl}}/subscribe?session_token=<API Key>",
											"host": [
												"{{baseUrl}}"
											],
											"path": [
												"subscribe"
											],
											"query": [
												{
													"key": "session_token",
													"value": "<API Key>"
												}
											]
										}
									},
									"status": "Created",
									"code": 201,
									"_postman_previewlanguage": "json",
									"header": [
										{
											"key": "Content-Type",
											"value": "application/json"
										}
									],
									"cookie": [],
									"body": "{\n \"statusCode\": \"<integer>\",\n \"statusDescriptions\": \"<string>\",\n \"data\": {\n  \"company_id\": \"<long>\",\n  \"target_url\": \"\",\n  \"id\": \"<long>\",\n  \"events\": [\n   {\n    \"id\": \"<long>\",\n    \"event\": \"<string>\",\n    \"active\": 1,\n    \"created_at\": \"<dateTime>\"\n   },\n   {\n    \"id\": \"<long>\",\n    \"event\": \"<string>\",\n    \"active\": 1,\n    \"created_at\": \"<dateTime>\"\n   }\n  ],\n  \"active\": 1,\n  \"verification_key\": \"<string>\",\n  \"created_at\": \"<dateTime>\",\n  \"updated_at\": \"<dateTime>\"\n }\n}"
								}
							]
						}
					]
				}
			]
		}
	],
	"event": [
		{
			"listen": "prerequest",
			"script": {
				"type": "text/javascript",
				"exec": [
					"const moment = require('moment');",
					"const format1 = \"YYYY-MM-DD HH:mm:ss\"",
					"const formattedDateTime = moment().format(format1);",
					"pm.collectionVariables.set(\"today_datetime\", formattedDateTime);"
				]
			}
		},
		{
			"listen": "test",
			"script": {
				"type": "text/javascript",
				"exec": [
					""
				]
			}
		}
	],
	"variable": [
		{
			"key": "baseUrl",
			"value": "https://www.setster.com/api/v2",
			"type": "string"
		},
		{
			"key": "email",
			"value": "",
			"type": "string"
		},
		{
			"key": "API_TOKEN",
			"value": "",
			"type": "string"
		},
		{
			"key": "SESSION_TOKEN",
			"value": ""
		},
		{
			"key": "company_id",
			"value": ""
		},
		{
			"key": "location_id",
			"value": ""
		},
		{
			"key": "employee_id",
			"value": ""
		},
		{
			"key": "service_id",
			"value": ""
		},
		{
			"key": "start_date",
			"value": ""
		},
		{
			"key": "available_time",
			"value": ""
		},
		{
			"key": "client_id",
			"value": ""
		},
		{
			"key": "client_email",
			"value": ""
		},
		{
			"key": "client_name",
			"value": ""
		},
		{
			"key": "appointment_id",
			"value": ""
		},
		{
			"key": "appointment_status",
			"value": ""
		},
		{
			"key": "webhook_target_url_all",
			"value": ""
		},
		{
			"key": "webhook_event_type",
			"value": ""
		},
		{
			"key": "webhook_target_url_canceled",
			"value": ""
		},
		{
			"key": "webhook_target_url_rescheduled",
			"value": ""
		},
		{
			"key": "webhook_target_url_reminder",
			"value": ""
		},
		{
			"key": "webhook_target_url_deleted",
			"value": ""
		},
		{
			"key": "webhook_target_url_updated",
			"value": ""
		},
		{
			"key": "webhook_target_url_created",
			"value": ""
		},
		{
			"key": "today_datetime",
			"value": ""
		}
	]
}