All URIs are relative to https://api.kinow.com/api
Method | HTTP request | Description |
---|---|---|
getToken | POST /get-token |
\Kinow\Client\Model\OAuthToken getToken($client_id, $client_secret)
Get authentication token
<?php
require_once(__DIR__ . '/vendor/autoload.php');
$api_instance = new Kinow\Client\Api\OAuthApi();
$client_id = "client_id_example"; // string | Client Id given by your back office
$client_secret = "client_secret_example"; // string | Client secret given by your back office
try {
$result = $api_instance->getToken($client_id, $client_secret);
print_r($result);
} catch (Exception $e) {
echo 'Exception when calling OAuthApi->getToken: ', $e->getMessage(), PHP_EOL;
}
?>
Name | Type | Description | Notes |
---|---|---|---|
client_id | string | Client Id given by your back office | |
client_secret | string | Client secret given by your back office |
\Kinow\Client\Model\OAuthToken
No authorization required
- Content-Type: Not defined
- Accept: Not defined