powered by
Creates a preconfigured httr2 client to call Evolution API v2. It sets the apikey header, a custom User-Agent and basic automatic retries.
apikey
evo_client(base_url, api_key, instance)
An object of class evo_client with fields req (httr2 request) and instance.
evo_client
req
instance
Character. Server base URL (no trailing slash), e.g. "https://your-host".
"https://your-host"
Character. API key (sent as apikey header).
Character. Instance name/ID used in endpoint paths.
if (FALSE) { client <- evo_client("https://evolution_api_host", "KEY", "chatArgus") }
Run the code above in your browser using DataLab