How to create and use client-side API keys
http://localhost
followed by a port number such as 3000
, 5173
, etc. For example, when developing with NextJS, the default origin you need to authorize is http://localhost:3000
.
The expected format for web origins is a full URL with protocol, such as https://www.yourdomain.com
or http://localhost:3000
.
com.company.appname
)com.company.appname
)init
function for a supported SDK. There are also some cases where you’ll pass the key as a header in a raw API call from custom code, similar to how a server-side key works.
init
function for a supported SDK. See the examples below.
X-API-KEY
, much like you would when making a server-side API call.