Logo
Logo

Adding An API Key Field To Breakdance’s Settings

You can register a new API key field in Breakdance’s API Key settings using the following snippets. You’ll need to adjust them as needed.

// Register the API key field
\Breakdance\APIKeys\registerKey([
    'name' => 'Go High Level',
    'slug' => 'custom_go_high_level',
]);

// Fetch the API key from the new field
$key = \Breakdance\APIKeys\getKey('custom_go_high_level');