OptionalapiAPI key for authentication (optional) If your WAHA instance requires API key authentication, provide it here.
Base URL of the WAHA API (e.g., "https://waha.devlike.pro") This is the only required field.
OptionalretryNumber of retry attempts on failure (default: 3) The client will automatically retry failed requests this many times.
OptionalretryDelay between retry attempts in milliseconds (default: 1000) Time to wait before retrying a failed request.
OptionalsessionDefault session name to use for all requests (default: 'default') Can be overridden per request using the config parameter.
OptionaltimeoutDefault request timeout in milliseconds (default: 30000) Requests will fail if they take longer than this duration.
Configuration for WAHA API client
Used to initialize the WAHAClient with default settings for all API requests.
Example