Recover Multiple Suspended Tickets
PUT {{baseUrl}}/api/v2/suspended_tickets/recover_many?ids=<string>
Accepts up to 100 ids (the auto-generated id, not the ticket id.) Note that suspended tickets that fail to be recovered are still included in the response.
Allowed For
- Unrestricted agents
Request Params
Key | Datatype | Required | Description |
---|---|---|---|
ids | string | (Required) A comma separated list of ids of suspended tickets to recover. |
HEADERS
Key | Datatype | Required | Description |
---|---|---|---|
Accept | string |
RESPONSES
status: OK
{"tickets":[{"author":{"email":"styx@example.com","id":1,"name":"Mr. Roboto"},"brand_id":123,"cause":"Detected as spam","content":"Out Of Office Reply","created_at":"2009-07-20T22:55:29Z","id":3436,"recipient":"john@example.com","subject":"Help I need somebody!","ticket_id":67321,"updated_at":"2011-05-05T10:38:52Z","url":"https://example.zendesk.com/api/v2/tickets/35436.json","via":{"channel":"web"}},{"author":{"email":"styx@example.com","id":1,"name":"Mr. Roboto"},"brand_id":123,"cause":"Detected as spam","content":"Out Of Office Reply","created_at":"2009-07-20T22:55:29Z","id":3437,"recipient":"john@example.com","subject":"Not just anybody!","ticket_id":67321,"updated_at":"2011-05-05T10:38:52Z","url":"https://example.zendesk.com/api/v2/tickets/35436.json","via":{"channel":"web"}}]}