Generate a new API key.
The raw key is returned ONCE in the response. Only the SHA-256 hash is stored in the database.
cURL
curl --request POST \ --url https://staging-api.polysimulator.com/v1/keys \ --header 'Content-Type: application/json' \ --header 'X-API-Key: <x-api-key>' \ --data ' { "name": "<string>", "tier": "free", "permissions": [ "<string>" ] } '
{ "id": 123, "raw_key": "<string>", "key_prefix": "<string>", "rate_limit_tier": "<string>", "permissions": [ "<string>" ], "created_at": "<string>", "name": "<string>" }
Your PolySimulator API key
Human-readable label
100
Rate limit tier: free, pro, enterprise
Permissions: read, trade, admin
Successful Response
Returned once on creation — the raw key is NOT stored.
Was this page helpful?