POST
/
api_keys
Create API Key
curl --request POST \
  --url https://api.elections.kalshi.com/trade-api/v2/api_keys \
  --header 'Content-Type: application/json' \
  --data '{
  "name": "<string>",
  "public_key": "<string>"
}'
{
  "api_key_id": "<string>"
}

Body

application/json

Response

201 - application/json

The response is of type object.