Server SDKs
Build AI agents, control calls, send messages, and more
Check whether API key authentication is configured on this handler.
None.
boolean — true if an API key has been set.
boolean
true
1import { AuthHandler } from '@signalwire/sdk';23const auth = new AuthHandler({4 apiKey: 'my-api-key',5});67console.log(auth.hasApiKeyAuth()); // true