PATCH
https://app.evoriqa.com/api/v1/conversations/{conversationId}/assignAssign a conversation
Assigns the conversation to a workspace member, or unassigns it with null. A member outside this workspace returns 422; an unknown conversation 404.
Requires scope conversations: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.
Parameters
| Name | In | Type | Required | Default | Description |
|---|---|---|---|---|---|
| conversationId | path | string uuid | Required | — | The conversation's id. |
Request body
Content type: application/json
| Field | Type | Required | Description |
|---|---|---|---|
| assigneeId | string uuid, or null | Required | The member's user id, or null to unassign. |
Request
curl
curl -X PATCH "https://app.evoriqa.com/api/v1/conversations/{conversationId}/assign" \
-H "x-api-key: $EVORIQA_API_KEY" \
-H "Content-Type: application/json" \
-d '{ "assigneeId": "a10c33d4-9e58-4b2a-8c7f-1d5e2f3a4b6c" }'Node.js
const res = await fetch("https://app.evoriqa.com/api/v1/conversations/{conversationId}/assign", {
method: "PATCH",
headers: {
Authorization: `Bearer ${process.env.EVORIQA_API_KEY}`,
"Content-Type": "application/json",
},
body: JSON.stringify({
"assigneeId": "a10c33d4-9e58-4b2a-8c7f-1d5e2f3a4b6c"
}),
});
const responseBody = await res.json();Python
import os
import requests
res = requests.patch(
"https://app.evoriqa.com/api/v1/conversations/{conversationId}/assign",
headers={"Authorization": f"Bearer {os.environ['EVORIQA_API_KEY']}"},
json={
"assigneeId": "a10c33d4-9e58-4b2a-8c7f-1d5e2f3a4b6c"
},
)
body = res.json()Response
200 OK
{
"success": true,
"data": {
"assigneeId": "a10c33d4-9e58-4b2a-8c7f-1d5e2f3a4b6c"
}
}