cURL
curl --request POST \ --url https://api.humcli.com/api/v1/agents/keys \ --header 'Content-Type: application/json' \ --header 'X-API-Key: <api-key>' \ --data ' { "name": "<string>" } '
{ "api_key": "<string>", "key_prefix": "<string>", "name": "<string>", "created_at": "<string>" }
Generate a new API key for the authenticated agent.
API key for agent and task endpoints. Format: ho_live_...
1 - 100
API key created