All URIs are relative to https://rest.clicksend.com/v3
| Method | HTTP request | Description |
|---|---|---|
| countriesGet | GET /countries | Get all country codes |
string countriesGet()
Get all country codes
Get all countries
<?php
require_once(__DIR__ . '/vendor/autoload.php');
$apiInstance = new ClickSend\Api\CountriesApi(
// If you want use custom http client, pass your client which implements `GuzzleHttp\ClientInterface`.
// This is optional, `GuzzleHttp\Client` will be used as default.
new GuzzleHttp\Client()
);
try {
$result = $apiInstance->countriesGet();
print_r($result);
} catch (Exception $e) {
echo 'Exception when calling CountriesApi->countriesGet: ', $e->getMessage(), PHP_EOL;
}
?>This endpoint does not need any parameter.
string
No authorization required
- Content-Type: Not defined
- Accept: application/json
[Back to top] [Back to API list] [Back to Model list] [Back to README]