POST
/
tickets
/
bulk-move
Bulk move tickets
curl --request POST \
  --url https://core.ravenna.ai/api/tickets/bulk-move \
  --header 'Content-Type: application/json' \
  --header 'x-ravenna-api-token: <api-key>' \
  --data '{
  "ids": [
    "<string>"
  ],
  "data": {
    "requestTypeId": "<string>",
    "statusId": "<string>",
    "tags": [
      {
        "id": "<string>"
      }
    ],
    "queueId": "<string>",
    "parentId": null
  }
}'
[
  {
    "id": "<string>",
    "publishedAt": "<string>",
    "assignedAt": "<string>",
    "closedAt": "<string>",
    "createdAt": "<string>",
    "updatedAt": "<string>",
    "requestType": {
      "id": "<string>",
      "name": "<string>"
    },
    "assigneeId": "<string>",
    "shortId": "<string>",
    "authorId": "<string>",
    "code": "<string>",
    "private": true,
    "description": "<string>",
    "dueAt": "<string>",
    "followers": [
      {
        "id": "<string>"
      }
    ],
    "approvers": [
      {
        "id": "<string>"
      }
    ],
    "approvedAt": "<string>",
    "declinedAt": "<string>",
    "number": 123,
    "priority": "URGENT",
    "shares": [
      {
        "id": "<string>",
        "queueId": "<string>",
        "queue": {
          "workspaceId": "<string>",
          "name": "<string>",
          "emoji": "<string>"
        },
        "ticketId": "<string>",
        "createdAt": "<string>",
        "updatedAt": "<string>"
      }
    ],
    "published": true,
    "queueId": "<string>",
    "requesterId": "<string>",
    "resolvedAt": "<string>",
    "assignedAIAgent": "<string>",
    "startAt": "<string>",
    "snoozeUntil": "<string>",
    "respondedAt": "<string>",
    "slackChannelId": "<string>",
    "archivedAt": "<string>",
    "lastAgentResponse": "<string>",
    "agentParticipated": true,
    "slackChannel": {
      "appId": "<string>",
      "channelId": "<string>",
      "channelName": "<string>"
    },
    "slackThreads": [
      {
        "id": "<string>",
        "type": "DM",
        "userId": "<string>",
        "appId": "<string>",
        "channelId": "<string>",
        "messageTs": "<string>",
        "mirrorTs": "<string>",
        "ticketId": "<string>",
        "createdAt": "<string>",
        "updatedAt": "<string>"
      }
    ],
    "source": "WEB",
    "statusId": "<string>",
    "status": {
      "id": "<string>",
      "label": "<string>",
      "order": 123,
      "system": true,
      "statusGroupId": "<string>",
      "statusGroup": {
        "id": "<string>",
        "label": "<string>",
        "workspaceId": "<string>"
      },
      "requestTypes": [
        {
          "id": "<string>",
          "requestTypeId": "<string>"
        }
      ],
      "createdAt": "<string>",
      "updatedAt": "<string>"
    },
    "tags": [
      {
        "id": "<string>",
        "name": "<string>",
        "color": "tomato",
        "aiGenerated": true,
        "workspaceId": "<string>",
        "description": "<string>",
        "createdAt": "<string>",
        "updatedAt": "<string>"
      }
    ],
    "stars": [
      {
        "userId": "<string>"
      }
    ],
    "queue": {
      "id": "<string>",
      "name": "<string>",
      "workspaceId": "<string>",
      "workspace": {
        "id": "<string>",
        "slug": "<string>"
      },
      "prefix": "<string>",
      "emoji": "<string>",
      "system": true,
      "settings": {
        "id": "<string>",
        "aiEnabled": true,
        "respondOnMessage": "<string>",
        "respondOnMention": true,
        "allowInboundEmails": true,
        "autoCreateTickets": true,
        "autoClassify": true,
        "autoTag": true,
        "enableUserActions": true,
        "enableUserEmojis": true,
        "enableCSAT": true,
        "enableEmojiUpdates": true,
        "sendAllTicketToTriageChannel": true,
        "enableGranularSlackNotifications": true,
        "negativeFeedbackAutoCreate": true,
        "allowGuestUsers": true,
        "silentMode": true,
        "whitelistedInboundEmails": [
          "<string>"
        ],
        "whitelistedInboundDomains": [
          "<string>"
        ],
        "emailSenderName": "<string>"
      },
      "slackChannels": [
        {
          "id": "<string>"
        }
      ],
      "requestTypes": [
        {
          "id": "<string>"
        }
      ],
      "autoAssignees": [
        {
          "id": "<string>"
        }
      ],
      "_count": {
        "tickets": 123
      },
      "createdAt": "<string>",
      "updatedAt": "<string>",
      "deletedAt": "<string>"
    },
    "originalQueueId": "<string>",
    "title": "<string>",
    "requestTypeId": "<string>",
    "csat": [
      {
        "id": "<string>",
        "score": 3,
        "feedback": "<string>",
        "userId": "<string>",
        "ticketId": "<string>",
        "createdAt": "<string>",
        "updatedAt": "<string>"
      }
    ],
    "disableAIResponse": true,
    "customFields": "<any>",
    "parentId": "<string>",
    "parent": {
      "id": "<string>",
      "number": 123,
      "queue": {
        "id": "<string>",
        "prefix": "<string>"
      }
    },
    "children": [
      {
        "id": "<string>",
        "title": "<string>",
        "description": "<string>",
        "number": 123,
        "statusId": "<string>",
        "legacyStatus": "OPEN",
        "priority": "URGENT",
        "queueId": "<string>",
        "assigneeId": "<string>",
        "queue": {
          "id": "<string>",
          "name": "<string>",
          "workspaceId": "<string>",
          "workspace": {
            "id": "<string>",
            "slug": "<string>"
          },
          "prefix": "<string>",
          "emoji": "<string>",
          "system": true,
          "settings": {
            "id": "<string>",
            "aiEnabled": true,
            "respondOnMessage": "<string>",
            "respondOnMention": true,
            "allowInboundEmails": true,
            "autoCreateTickets": true,
            "autoClassify": true,
            "autoTag": true,
            "enableUserActions": true,
            "enableUserEmojis": true,
            "enableCSAT": true,
            "enableEmojiUpdates": true,
            "sendAllTicketToTriageChannel": true,
            "enableGranularSlackNotifications": true,
            "negativeFeedbackAutoCreate": true,
            "allowGuestUsers": true,
            "silentMode": true,
            "whitelistedInboundEmails": [
              "<string>"
            ],
            "whitelistedInboundDomains": [
              "<string>"
            ],
            "emailSenderName": "<string>"
          },
          "slackChannels": [
            {
              "id": "<string>"
            }
          ],
          "requestTypes": [
            {
              "id": "<string>"
            }
          ],
          "autoAssignees": [
            {
              "id": "<string>"
            }
          ],
          "_count": {
            "tickets": 123
          },
          "createdAt": "<string>",
          "updatedAt": "<string>",
          "deletedAt": "<string>"
        }
      }
    ]
  }
]

Authorizations

x-ravenna-api-token
string
header
required

Body

application/json
ids
string[]
required
data
object
required

Response

Successful response

id
string
required
publishedAt
string | null
required
assignedAt
string | null
required
closedAt
string | null
required
createdAt
string
required
updatedAt
string
required
requestType
object | null
required
assigneeId
string | null
required
shortId
string
required
authorId
string | null
required
code
string | null
required
private
boolean
required
description
string | null
required
dueAt
string | null
required
followers
object[]
required
approvers
object[]
required
approvedAt
string | null
required
declinedAt
string | null
required
number
number | null
required
priority
enum<string>
required
Available options:
URGENT,
HIGH,
MEDIUM,
LOW
shares
object[]
required
published
boolean
required
queueId
string
required
requesterId
string | null
required
resolvedAt
string | null
required
assignedAIAgent
string | null
required
startAt
string | null
required
snoozeUntil
string | null
required
respondedAt
string | null
required
slackChannelId
string | null
required
archivedAt
string | null
required
lastAgentResponse
string | null
required
agentParticipated
boolean | null
required
slackChannel
object | null
required
slackThreads
object[]
required
source
enum<string> | null
required
Available options:
WEB,
EMAIL,
FORM,
SLACK,
SLA,
WORKFLOW,
JIRA
statusId
string | null
required
status
object | null
required
tags
object[]
required
stars
object[]
required
queue
object
required
originalQueueId
string | null
required
title
string
required
requestTypeId
string | null
required
csat
object[]
required
disableAIResponse
boolean
required
parentId
string | null
required
parent
object | null
required
children
object[]
required
customFields
any