A tiny demonstration on how to call the Zendesk API using the zendesk_api_client_php
Install the composer dependencies:
composer install
In script.php
make sure to update the
$subdomain
$token
$email
If you are unsure how to generate a new API token, refer to this help center article.
Run the sample script by running:
php script.php