Apply one action to many tickets at once
curl --request POST \ --url https://example.com/api/v1/tickets/bulk \ --header 'Authorization: Bearer <token>' \ --header 'Content-Type: application/json' \ --data '{ "action": { "statusId": "example", "type": "status" }, "ticketIds": [ "example" ] }'Applies a single action — status change, priority, assignee add/remove, tag add/remove, client-emails toggle, or read/unread — to up to 150 tickets in one call, reusing the same services the single-ticket controls use. Every ticket in the batch must fall inside the caller’s ticket scope or the whole request is rejected with 404 before anything runs. The action itself is never all-or-nothing: each id is attempted independently, so the response reports which ids changed and, for the rest, why not. The permission required depends on the action’s type — status, priority, tag and client-emails need tickets.manage, assignee needs tickets.assign, read needs only tickets.view. Marking unread reports under failed a ticket with no live message from someone else that the caller can open; internal notes count only for a caller holding tickets.manage.
Authorizations
Section titled “Authorizations”Request Body
Section titled “Request Body”object
object
Target status for every selected ticket.
object
object
Member to add or remove as an assignee.
object
Ticket tag to add or remove.
object
Whether the client should keep receiving emails about these tickets.
object
Tickets to update, up to 150 per request.
Responses
Section titled “Responses”Which tickets changed and why the others did not.
object
Outcome of a bulk ticket action.
object
Ticket ids the action could not apply to, with why.
object
Why this ticket did not change.
Ticket ids the action applied to.
Example generated
{ "data": { "failed": [ { "id": "example", "reason": "example" } ], "succeeded": [ "example" ] }}Validation error. Parse failures include field paths and expectations.
Validation error with safe field paths and expected values; submitted values are never returned.
object
object
Stable machine-readable error code.
object
Human-readable error message.
HTTP status code, mirrored in the body.
Example
{ "error": { "code": "UNAUTHORIZED" }}Unauthorized.
Standard error envelope.
object
object
Stable machine-readable error code.
Human-readable error message.
HTTP status code, mirrored in the body.
Example
{ "error": { "code": "UNAUTHORIZED" }}Forbidden.
Standard error envelope.
object
object
Stable machine-readable error code.
Human-readable error message.
HTTP status code, mirrored in the body.
Example
{ "error": { "code": "UNAUTHORIZED" }}Not found.
Standard error envelope.
object
object
Stable machine-readable error code.
Human-readable error message.
HTTP status code, mirrored in the body.
Example
{ "error": { "code": "UNAUTHORIZED" }}Rate limit exceeded. Wait for Retry-After before retrying.
Standard error envelope.
object
object
Stable machine-readable error code.
Human-readable error message.
HTTP status code, mirrored in the body.
Example
{ "error": { "code": "UNAUTHORIZED" }}Headers
Section titled “Headers”Maximum requests in the current quota window.
Quota policy in requests and window seconds, for example 60;w=60.
Requests left in this quota window (zero when blocked).
Seconds until the current quota window resets, when available from the rate-limit store.
Seconds until another request may be attempted.
Chelsea is operated by Arepa Labs LLC