Body Required
-
expiration string(date-time)
If not set then this apikey work as non-expired api-key
POST
/api/v1/api-key
curl \
-X POST https://api.crawlora.com/api/v1/api-key \
-H "x-api-key: $API_KEY" \
-H "Content-Type: application/json" \
-d '{"name":"string","expiration":"2025-05-04T09:42:00+00:00"}'
Request examples
{
"name": "string",
"expiration": "2025-05-04T09:42:00+00:00"
}
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": {}
}