Body
Required
-
name
string Required -
expiration
string(date-time) If not set then this apikey work as non-expired api-key
POST
/api/v1/api-key
curl \
--request POST 'https://api.crawlora.com/api/v1/api-key' \
--header "x-api-key: $API_KEY" \
--header "Content-Type: application/json" \
--data '{"name":"string","expiration":"2025-05-04T09:42:00Z"}'
Request examples
{
"name": "string",
"expiration": "2025-05-04T09:42:00Z"
}
Response examples (201)
{
"is_error": true,
"message": "string",
"correlator_id": "string",
"data": {
"id": "string",
"name": "string",
"values": "string",
"expiration": "string",
"created_at": "string",
"updated_at": "string"
}
}
Response examples (401)
{
"is_error": true,
"message": "string",
"correlator_id": "string",
"data": {}
}
Response examples (422)
{
"is_error": true,
"message": "string",
"correlator_id": "string",
"data": {}
}