Set the default finding assignee and optionally assign the backlog
PATCH
/organizations/current/default-assignee
const url = 'https://api.invogi.com/v1/organizations/current/default-assignee';const options = { method: 'PATCH', headers: {Authorization: 'Bearer <token>', 'Content-Type': 'application/json'}, body: '{"assignee_user_id":"9b0e4d51-27be-4cfa-8fd5-652f4e2d94ad"}'};
try { const response = await fetch(url, options); const data = await response.json(); console.log(data);} catch (error) { console.error(error);}curl --request PATCH \ --url https://api.invogi.com/v1/organizations/current/default-assignee \ --header 'Authorization: Bearer <token>' \ --header 'Content-Type: application/json' \ --data '{ "assignee_user_id": "9b0e4d51-27be-4cfa-8fd5-652f4e2d94ad" }'The assignee must be an active non-viewer member. Optional backlog assignment only affects open, unassigned findings and sends one summary notification.
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
assignee_user_id
required
null | string format: uuid
apply_to_existing
boolean
Example
{ "assignee_user_id": "9b0e4d51-27be-4cfa-8fd5-652f4e2d94ad"}Responses
Section titled “Responses”Successful response
Media typeapplication/json
object
defaultAssigneeUserId
required
null | string
assignedExisting
required
number
Example generated
{ "defaultAssigneeUserId": "example", "assignedExisting": 1}Invalid request
Media typeapplication/json
Missing or invalid API key
Media typeapplication/json
API key lacks required scope/role
Media typeapplication/json