PATCH
https://app.evoriqa.com/api/v1/workspace/handoff-slaSet the first-response SLA
Sets the handoff first-response SLA in minutes, or clears it with null to switch escalation off. A non-positive value returns 422.
Requires scope workspace:write
Warning:
Access is gated — enable it before your first call
The API is off by default. A request succeeds only when all three switches are on: the platform master switch (off by default), your organisation’s API toggle, and your plan or client entitlement. Any one off returns 403 API access is not enabled for this workspace.
Request body
Content type: application/json
| Field | Type | Required | Description |
|---|---|---|---|
| firstResponseSlaMinutes | integer 1–10080, or null | Required | Minutes; null turns the SLA off. |
Request
curl
curl -X PATCH "https://app.evoriqa.com/api/v1/workspace/handoff-sla" \
-H "x-api-key: $EVORIQA_API_KEY" \
-H "Content-Type: application/json" \
-d '{ "firstResponseSlaMinutes": 60 }'Node.js
const res = await fetch("https://app.evoriqa.com/api/v1/workspace/handoff-sla", {
method: "PATCH",
headers: {
Authorization: `Bearer ${process.env.EVORIQA_API_KEY}`,
"Content-Type": "application/json",
},
body: JSON.stringify({
"firstResponseSlaMinutes": 60
}),
});
const responseBody = await res.json();Python
import os
import requests
res = requests.patch(
"https://app.evoriqa.com/api/v1/workspace/handoff-sla",
headers={"Authorization": f"Bearer {os.environ['EVORIQA_API_KEY']}"},
json={
"firstResponseSlaMinutes": 60
},
)
body = res.json()Response
200 OK
{
"success": true,
"data": {
"firstResponseSlaMinutes": 60
}
}