Assign or unassign several findings at once (ANALYST+)
POST
/findings/assignments
const url = 'https://api.invogi.com/v1/findings/assignments';const options = { method: 'POST', headers: {Authorization: 'Bearer <token>', 'Content-Type': 'application/json'}, body: '{"finding_ids":["0b6f7a4e-3c55-4d6b-9a7e-2f1d8c9b1a01"],"assignee_user_id":"6a1d2c3b-4e5f-4a6b-8c7d-9e0f1a2b3c4d"}'};
try { const response = await fetch(url, options); const data = await response.json(); console.log(data);} catch (error) { console.error(error);}curl --request POST \ --url https://api.invogi.com/v1/findings/assignments \ --header 'Authorization: Bearer <token>' \ --header 'Content-Type: application/json' \ --data '{ "finding_ids": [ "0b6f7a4e-3c55-4d6b-9a7e-2f1d8c9b1a01" ], "assignee_user_id": "6a1d2c3b-4e5f-4a6b-8c7d-9e0f1a2b3c4d" }'One change for up to 100 findings. Each finding gets its own audit event; the assignee receives one summary notification and email. Unknown or other-workspace ids are returned in notFound.
Authorizations
Section titled “Authorizations”Parameters
Section titled “Parameters”Header Parameters
Section titled “Header Parameters”X-Invogi-Organization
string format: uuid
For a Clerk session, selects a workspace in which the user has an active membership. If omitted, the remembered accessible workspace is used. API keys remain bound to their own workspace and cannot select another tenant.
Request Bodyrequired
Section titled “Request Bodyrequired”Media typeapplication/json
object
finding_ids
required
Array<string>
assignee_user_id
required
string | null format: uuid
Example
{ "finding_ids": [ "0b6f7a4e-3c55-4d6b-9a7e-2f1d8c9b1a01" ], "assignee_user_id": "6a1d2c3b-4e5f-4a6b-8c7d-9e0f1a2b3c4d"}Responses
Section titled “Responses”Assignment applied
Media typeapplication/json
object
assigneeUserId
string | null format: uuid
findingIds
Array<string>
changedCount
integer
notFound
Array<string>
Example generated
{ "assigneeUserId": "2489E9AD-2EE2-8E00-8EC9-32D5F69181C0", "findingIds": [ "2489E9AD-2EE2-8E00-8EC9-32D5F69181C0" ], "changedCount": 1, "notFound": [ "2489E9AD-2EE2-8E00-8EC9-32D5F69181C0" ]}Invalid request
Media typeapplication/json
Missing or invalid API key
Media typeapplication/json
API key lacks required scope/role
Media typeapplication/json