cURL
curl --request POST \ --url https://api.getgranite.ai/api/organizations/{organization_id}/automations/api-keys \ --header 'Content-Type: application/json' \ --data ' { "name": "<string>" } '
{ "key_id": "<string>", "api_key": "<string>", "created_at": "<string>", "name": "<string>" }
Generate a new API key for the organization
Request to create an organization API key
Optional name for the API key
Successful Response
Response from creating an API key
Unique key identifier
Generated API key (only shown once)
Creation timestamp
Key name