curl --request PATCH \
--url https://api.avidoai.com/v0/issues \
--header 'Content-Type: application/json' \
--header 'x-api-key: <api-key>' \
--header 'x-application-id: <api-key>' \
--data '
{
"issueIds": [
"123e4567-e89b-12d3-a456-426614174000",
"223e4567-e89b-12d3-a456-426614174001"
],
"status": "RESOLVED"
}
'{
"data": [
{
"id": "123e4567-e89b-12d3-a456-426614174000",
"orgId": "org_123456",
"title": "Response quality degradation",
"status": "RESOLVED",
"source": "TEST",
"priority": "HIGH",
"type": "BUG",
"assignedTo": "user_789012",
"assignedUser": {
"id": "user_789012",
"name": "John Doe",
"email": "john@example.com",
"image": "https://example.com/avatar.jpg"
},
"applicationId": "456e7890-e89b-12d3-a456-426614174000",
"createdAt": "2024-01-05T12:34:56.789Z",
"modifiedAt": "2024-01-05T14:22:10.123Z"
},
{
"id": "223e4567-e89b-12d3-a456-426614174001",
"orgId": "org_123456",
"title": "API error",
"status": "RESOLVED",
"source": "MONITORING",
"priority": "HIGH",
"type": "BUG",
"assignedTo": "user_789012",
"assignedUser": {
"id": "user_789012",
"name": "John Doe",
"email": "john@example.com",
"image": "https://example.com/avatar.jpg"
},
"applicationId": "456e7890-e89b-12d3-a456-426614174000",
"createdAt": "2024-01-04T10:20:30.456Z",
"modifiedAt": "2024-01-05T14:22:10.123Z"
}
]
}{
"message": "Resource not found"
}{
"message": "Resource not found"
}{
"message": "Resource not found"
}{
"message": "Invalid request data",
"issues": [
{
"code": "invalid_string",
"message": "Invalid UUID",
"path": [
"id"
]
}
]
}{
"message": "Resource not found"
}Issues
Bulk update issues
Updates status, priority, or assignment for multiple issues. Returns updated issues with assigned user information. User must be a valid organization member and not banned when assigning.
PATCH
/
v0
/
issues
curl --request PATCH \
--url https://api.avidoai.com/v0/issues \
--header 'Content-Type: application/json' \
--header 'x-api-key: <api-key>' \
--header 'x-application-id: <api-key>' \
--data '
{
"issueIds": [
"123e4567-e89b-12d3-a456-426614174000",
"223e4567-e89b-12d3-a456-426614174001"
],
"status": "RESOLVED"
}
'{
"data": [
{
"id": "123e4567-e89b-12d3-a456-426614174000",
"orgId": "org_123456",
"title": "Response quality degradation",
"status": "RESOLVED",
"source": "TEST",
"priority": "HIGH",
"type": "BUG",
"assignedTo": "user_789012",
"assignedUser": {
"id": "user_789012",
"name": "John Doe",
"email": "john@example.com",
"image": "https://example.com/avatar.jpg"
},
"applicationId": "456e7890-e89b-12d3-a456-426614174000",
"createdAt": "2024-01-05T12:34:56.789Z",
"modifiedAt": "2024-01-05T14:22:10.123Z"
},
{
"id": "223e4567-e89b-12d3-a456-426614174001",
"orgId": "org_123456",
"title": "API error",
"status": "RESOLVED",
"source": "MONITORING",
"priority": "HIGH",
"type": "BUG",
"assignedTo": "user_789012",
"assignedUser": {
"id": "user_789012",
"name": "John Doe",
"email": "john@example.com",
"image": "https://example.com/avatar.jpg"
},
"applicationId": "456e7890-e89b-12d3-a456-426614174000",
"createdAt": "2024-01-04T10:20:30.456Z",
"modifiedAt": "2024-01-05T14:22:10.123Z"
}
]
}{
"message": "Resource not found"
}{
"message": "Resource not found"
}{
"message": "Resource not found"
}{
"message": "Invalid request data",
"issues": [
{
"code": "invalid_string",
"message": "Invalid UUID",
"path": [
"id"
]
}
]
}{
"message": "Resource not found"
}Authorizations
Body
application/json
Request body for bulk updating multiple issues
Array of issue IDs to update. Maximum 100 issues per request.
Required array length:
1 - 100 elementsPattern:
^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$Example:
[
"123e4567-e89b-12d3-a456-426614174000",
"223e4567-e89b-12d3-a456-426614174001"
]