Home / Docs / API reference / Create api keys
POST /v1/api-keys

Create api keys

Create a new api keys; returns the full object with defaults applied.

Request

curl -X POST https://api.aistudytools.us.ci/v1/api-keys \
  -H "Authorization: Bearer $API_KEY" \
  -H "Content-Type: application/json"

Response

{
  "object": "api-keys",
  "id": "obj_2X9fQ",
  "status": "succeeded",
  "created": 1788123456
}

Errors

CodeMeaning
400Invalid parameters — see the error's details.
401Missing or invalid API key.
429Rate limit hit — back off and retry with jitter.