1. Go to this page and download the library: Download repat/respond-io-client library. Choose the download type require.
2. Extract the ZIP file and open the index.php.
3. Add this code to the index.php.
<?php
require_once('vendor/autoload.php');
/* Start to develop here. Best regards https://php-download.com/ */
repat / respond-io-client example snippets
$apiToken = '...'; // Get an API token from the website, one per channel
$options = []; // Guzzle Options - should probably be left empty, but just in case.
// ...
$client = new \Repat\RespondIoClient\Client($apiToken, $options);
// Get ID
$id = '...';
// Set identifying field to use for searches, creation and updates
$identifyingField = 'phone';
// If you know the ID
$client->getContactById($id);