Skip to content

Latest commit

 

History

History
63 lines (41 loc) · 1.87 KB

OrganizationApi.md

File metadata and controls

63 lines (41 loc) · 1.87 KB

LiltConnectorSDK\OrganizationApi

All URIs are relative to https://connectors-admin.lilt.com/api/v1.0, except if the operation defines another base path.

Method HTTP request Description
servicesApiOrganizationGetOrganizationRecord() GET /organization Get information about the organization based on lilt_token

servicesApiOrganizationGetOrganizationRecord()

servicesApiOrganizationGetOrganizationRecord(): \LiltConnectorSDK\Model\OrganizationResponse

Get information about the organization based on lilt_token

Example

<?php
require_once(__DIR__ . '/vendor/autoload.php');


// Configure Bearer authorization: BearerAuth
$config = LiltConnectorSDK\Configuration::getDefaultConfiguration()->setAccessToken('YOUR_ACCESS_TOKEN');


$apiInstance = new LiltConnectorSDK\Api\OrganizationApi(
    // 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(),
    $config
);

try {
    $result = $apiInstance->servicesApiOrganizationGetOrganizationRecord();
    print_r($result);
} catch (Exception $e) {
    echo 'Exception when calling OrganizationApi->servicesApiOrganizationGetOrganizationRecord: ', $e->getMessage(), PHP_EOL;
}

Parameters

This endpoint does not need any parameter.

Return type

\LiltConnectorSDK\Model\OrganizationResponse

Authorization

BearerAuth

HTTP request headers

  • Content-Type: Not defined
  • Accept: application/json

[Back to top] [Back to API list] [Back to Model list] [Back to README]