Skip to main content
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"
    }
  ]
}

Authorizations

x-api-key
string
header
required

Your unique Avido API key

x-application-id
string
header
required

Your unique Avido Application ID

Body

application/json

Request body for bulk updating multiple issues

issueIds
string<uuid>[]
required

Array of issue IDs to update. Maximum 100 issues per request.

Required array length: 1 - 100 elements
Example:
[
"123e4567-e89b-12d3-a456-426614174000",
"223e4567-e89b-12d3-a456-426614174001"
]
status
enum<string>

Updated status to apply to all specified issues

Available options:
OPEN,
RESOLVED,
REJECTED
Example:

"RESOLVED"

priority
enum<string>

Updated priority level to apply to all specified issues

Available options:
LOW,
MEDIUM,
HIGH
Example:

"HIGH"

assignedTo
string · null · null

User ID to assign all issues to, or null to unassign. User must be a valid organization member and not banned.

Example:

"user_789012"

Response

Issues updated successfully

Successful response containing updated issues with assigned user info

data
Issue · object[]
required