Skip to content

Latest commit

 

History

History
23 lines (15 loc) · 420 Bytes

USAGE.md

File metadata and controls

23 lines (15 loc) · 420 Bytes
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->emailAddresses->get(
    emailAddressId: '<id>'
);

if ($response->emailAddress !== null) {
    // handle response
}