Mint a Test key (Live keys are only made in the browser: env "live" is 403 live_keys_browser_only)
POST
/projects/{slug}/keys- Base URL
https://api.chartnaut.com/v1- Auth
- Bearer key
- Operation ID
createProjectKey
Path parameters#
slugstringRequiredRequest bodyapplication/json#
object
namestringenvstringResponses#
201Createdapplication/json
The key; the secret is shown once.
object · ProjectKeyCreated
keyobjectShow fields
idstringenvstringnamestringsecretstringShown once. Store it as CHARTNAUT_SECRET_KEY.
ErrorAny other statusapplication/json
Error.
object · Error
errorobjectRequiredShow fields
codestringRequiredStable. Branch on this, never on message.
messagestringRequireddetailsobjectdocs_urlstring (uri)request_idstring