SDK set up
SCAYLE's Admin API SDKs simplify use of the Admin REST APIs by reducing the amount of boilerplate code. Below are installation instructions for the SDK libraries in a variety of popular server-side programming languages.
Installation
To install, run the following command:
# Install the PHP library with Composer
composer require scayle/admin-api
Manual installation
Alternatively, you can grab the latest stable release from the GitHub page and copy it into your project's folder, so you can share it with your team without a private registry.
Usage
To use the SCAYLE Admin SDK, import the SDK and initialize the client:
$config = [
'apiUrl' => 'https://{{tenant-space}}.admin.api.scayle.cloud/api/admin/v1',
'accessToken' => '{{Access-Token}}'
];
$adminApi = new AdminAPI($config);