API ReferenceBilling
Post Key
Header Parameters
xi-api-key?Xi-Api-Key
Default
""Request Body
application/json
TypeScript Definitions
Use the request body type in TypeScript.
Response Body
application/json
application/json
curl -X POST "https://example.com/simpleserve/v1/keys" \ -H "Content-Type: application/json" \ -d '{ "name": "string" }'{ "id": "string", "name": "string", "prefix": "string", "created_at": "2019-08-24T14:15:22Z", "last_used_at": "2019-08-24T14:15:22Z", "scopes": [ "string" ], "spend_daily": 0, "spend_monthly": 0, "spend_limit": 0, "spend_limit_period": "string", "rpm_limit": 0, "concurrency_limit": 0, "is_calling_key": true, "key": "string"}