set_api_key
Set your FaceSign API key for this session. This must be called before any other FaceSign tools. Get your API key from the FaceSign dashboard. The key starts with sk_live_... or sk_test_... Optionally override the API server URL via serverUrl — intended for FaceSign developers pointing the SDK at a non-production backend (e.g. a dev server). Leave unset to use the default production API.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| apiKey | Yes | Your FaceSign API key (sk_live_... or sk_test_...) | |
| serverUrl | No | Optional FaceSign API server URL override. Only set this if the user explicitly asks to target a non-default server (e.g. a dev backend). Omit otherwise to use the production API. |