composer require ricardoapaes/whaticket-api
$api = new Api('WHATICKET_BASEURL', 'WHATICKET_TOKEN');
$api->sendMessage('NUMBER', 'Whaticket api test', 'WHATICKET_WHATSAPP_ID or null');
$api = new Api('WHATICKET_BASEURL', 'WHATICKET_TOKEN');
$api->sendMedia('NUMBER', 'SRC_MEDIA', 'WHATICKET_WHATSAPP_ID or null');
- PHP_VERSION: Choose from the following versions: 56|73|74|80
- WHATICKET_BASEURL: Whaticket base url
- WHATICKET_TOKEN: Whaticket API token
- WHATICKET_NUMBER: Number used to run automated tests.
- WHATICKET_ID: Whaticket connection id used to run automated tests.