cURL
curl --request POST \ --url https://api.example.com/v1/keys \ --header 'Content-Type: application/json' \ --data ' { "name": "<string>" } '
Generate a new API key. The key is returned once and cannot be retrieved again.
{"name": "my-trading-bot"}
{ "key": "gf_a1b2c3d4e5f6789012345678901234", "name": "my-trading-bot", "message": "Save this key — it cannot be retrieved again." }