Dokaz APIDocs › PowerShell quickstart

PowerShell quickstart

Every product, one base URL, one optional header. The free tier needs no key at all.

$base = "https://api.dokaz.net"
$headers = @{ "X-Api-Key" = "dk_..." }   # optional on the free tier

$v = Invoke-RestMethod "$base/v1/email/verify?email=jane@gmial.com" -Headers $headers
$v.checks.typo_suggestion   # gmail.com

Invoke-WebRequest "$base/v1/qr?data=hello&format=png&size=512" -OutFile qr.png

Next