Skip to content

Latest commit

 

History

History
65 lines (44 loc) · 1.99 KB

ApiTokensApi.md

File metadata and controls

65 lines (44 loc) · 1.99 KB

SignRequest\ApiTokensApi

All URIs are relative to https://signrequest.com/api/v1

Method HTTP request Description
apiTokensList GET /api-tokens/ Retrieve a list of API tokens

apiTokensList

\SignRequest\Model\InlineResponse200 apiTokensList($page, $limit)

Retrieve a list of API tokens

Example

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

// Configure API key authorization: Token
$config = SignRequest\Configuration::getDefaultConfiguration()->setApiKey('Authorization', 'YOUR_API_KEY');
$config = SignRequest\Configuration::getDefaultConfiguration()->setApiKeyPrefix('Authorization', 'Token');

$apiInstance = new SignRequest\Api\ApiTokensApi(
    // 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
);
$page = 56; // int | A page number within the paginated result set.
$limit = 56; // int | Number of results to return per page.

try {
    $result = $apiInstance->apiTokensList($page, $limit);
    print_r($result);
} catch (Exception $e) {
    echo 'Exception when calling ApiTokensApi->apiTokensList: ', $e->getMessage(), PHP_EOL;
}
?>

Parameters

Name Type Description Notes
page int A page number within the paginated result set. [optional]
limit int Number of results to return per page. [optional]

Return type

\SignRequest\Model\InlineResponse200

Authorization

Token

HTTP request headers

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

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