latestOpenAPI 3.1.02026-07-24334970.2 KB
2576052958eb
Priorities
Create a new priority
Creates a new priority with the provided configuration.
post/priorities
Request body
Example request
{
"name": "Product Launch Queue",
"maximumConcurrentVisitors": 5000,
"admissionRatePerMinute": 250,
"priority": 5,
"matchingCondition": "domain:www.example.com AND url:/product/new-release",
"preAdmission": {
"durationMinutes": 0
},
"startAt": "2025-12-01T10:00:00Z",
"endAt": "2025-12-01T18:00:00Z",
"enforceClientSideValidation": true,
"allowAIAgent": false,
"directAccessTrafficType": [
"verifiedBots"
],
"isEnabled": true
}Response
Successfully created priority.
Example response
{
"id": "a3bb189e-8bf9-3888-9912-ace4e6543002",
"name": "Black Friday Sale Queue",
"maximumConcurrentVisitors": 10000,
"inactivityTimeoutMinutes": 15,
"admissionRatePerMinute": 500,
"priority": 10,
"matchingCondition": "domain:shop.example.com AND url:/sale/*",
"preAdmission": {
"durationMinutes": 30
},
"startAt": "2025-11-24T01:00:00Z",
"endAt": "2025-11-30T01:00:00Z",
"enforceClientSideValidation": true,
"allowAIAgent": false,
"directAccessTrafficType": [
"verifiedBots"
],
"isEnabled": true,
"template": {
"id": "c1d2e3f4-5678-9abc-def0-123456789abc",
"name": "Black Friday Theme"
},
"createdAt": "2025-10-01T12:00:00Z",
"updatedAt": "2025-10-01T12:00:00Z"
}