Skip to content

Assign or unassign several findings at once (ANALYST+)

POST
/findings/assignments
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.

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.

Media typeapplication/json
object
finding_ids
required
Array<string>
>= 1 items <= 100 items
assignee_user_id
required
string | null format: uuid

Example

{
"finding_ids": [
"0b6f7a4e-3c55-4d6b-9a7e-2f1d8c9b1a01"
],
"assignee_user_id": "6a1d2c3b-4e5f-4a6b-8c7d-9e0f1a2b3c4d"
}

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
object
error
required
object
code
required
string
Allowed values: NOT_FOUND UNAUTHORIZED FORBIDDEN INVALID_REQUEST CONFLICT RATE_LIMITED USAGE_LIMIT_EXCEEDED PROCESSING_FAILED
message
required
string
request_id
required
string
details

Optional stable, content-free context, e.g. {reason, resets_at, preparation_id}.

object
key
additional properties
One of:
string

Example

{
"error": {
"code": "NOT_FOUND"
}
}

Missing or invalid API key

Media typeapplication/json
object
error
required
object
code
required
string
Allowed values: NOT_FOUND UNAUTHORIZED FORBIDDEN INVALID_REQUEST CONFLICT RATE_LIMITED USAGE_LIMIT_EXCEEDED PROCESSING_FAILED
message
required
string
request_id
required
string
details

Optional stable, content-free context, e.g. {reason, resets_at, preparation_id}.

object
key
additional properties
One of:
string

Example

{
"error": {
"code": "NOT_FOUND"
}
}

API key lacks required scope/role

Media typeapplication/json
object
error
required
object
code
required
string
Allowed values: NOT_FOUND UNAUTHORIZED FORBIDDEN INVALID_REQUEST CONFLICT RATE_LIMITED USAGE_LIMIT_EXCEEDED PROCESSING_FAILED
message
required
string
request_id
required
string
details

Optional stable, content-free context, e.g. {reason, resets_at, preparation_id}.

object
key
additional properties
One of:
string

Example

{
"error": {
"code": "NOT_FOUND"
}
}