(testingTokens)
- create - Retrieve a new testing token
Retrieve a new testing token. Only available for development instances.
declare(strict_types=1);
require 'vendor/autoload.php';
use Clerk\Backend;
$security = '<YOUR_BEARER_TOKEN_HERE>';
$sdk = Backend\ClerkBackend::builder()->setSecurity($security)->build();
$response = $sdk->testingTokens->create(
);
if ($response->testingToken !== null) {
// handle response
}
?Operations\CreateTestingTokenResponse
Error Type | Status Code | Content Type |
---|---|---|
Errors\SDKException | 4XX, 5XX | */* |