api-keys
Post apiv1api keys
POST
/
api
/
v1
/
api-keys
Error
A valid request URL is required to generate request examples{
"apiKey": {
"id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"name": "<string>",
"prefix": "<string>",
"status": "ACTIVE",
"resetPeriod": "NO_LIMIT",
"currentUsage": "125.500000",
"createdAt": "2023-11-07T05:31:56Z",
"creditLimit": "125.500000",
"expiresAt": "2023-11-07T05:31:56Z",
"lastUsedAt": "2023-11-07T05:31:56Z"
},
"plainKey": "<string>"
}{
"error": "<string>"
}Authorizations
Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Body
application/json
Required string length:
1 - 255Available options:
NO_LIMIT, DAILY, WEEKLY, MONTHLY Available options:
NO_EXPIRATION, H_1, D_1, D_7, D_30 Pattern:
^-?\d+(\.\d{1,6})?$Example:
"125.500000"
⌘I
Error
A valid request URL is required to generate request examples{
"apiKey": {
"id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"name": "<string>",
"prefix": "<string>",
"status": "ACTIVE",
"resetPeriod": "NO_LIMIT",
"currentUsage": "125.500000",
"createdAt": "2023-11-07T05:31:56Z",
"creditLimit": "125.500000",
"expiresAt": "2023-11-07T05:31:56Z",
"lastUsedAt": "2023-11-07T05:31:56Z"
},
"plainKey": "<string>"
}{
"error": "<string>"
}