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

KeyDatatypeRequiredDescription
idsstring(Required) A comma separated list of ids of suspended tickets to recover.

HEADERS

KeyDatatypeRequiredDescription
Acceptstring

RESPONSES

status: OK

{&quot;tickets&quot;:[{&quot;author&quot;:{&quot;email&quot;:&quot;styx@example.com&quot;,&quot;id&quot;:1,&quot;name&quot;:&quot;Mr. Roboto&quot;},&quot;brand_id&quot;:123,&quot;cause&quot;:&quot;Detected as spam&quot;,&quot;content&quot;:&quot;Out Of Office Reply&quot;,&quot;created_at&quot;:&quot;2009-07-20T22:55:29Z&quot;,&quot;id&quot;:3436,&quot;recipient&quot;:&quot;john@example.com&quot;,&quot;subject&quot;:&quot;Help I need somebody!&quot;,&quot;ticket_id&quot;:67321,&quot;updated_at&quot;:&quot;2011-05-05T10:38:52Z&quot;,&quot;url&quot;:&quot;https://example.zendesk.com/api/v2/tickets/35436.json&quot;,&quot;via&quot;:{&quot;channel&quot;:&quot;web&quot;}},{&quot;author&quot;:{&quot;email&quot;:&quot;styx@example.com&quot;,&quot;id&quot;:1,&quot;name&quot;:&quot;Mr. Roboto&quot;},&quot;brand_id&quot;:123,&quot;cause&quot;:&quot;Detected as spam&quot;,&quot;content&quot;:&quot;Out Of Office Reply&quot;,&quot;created_at&quot;:&quot;2009-07-20T22:55:29Z&quot;,&quot;id&quot;:3437,&quot;recipient&quot;:&quot;john@example.com&quot;,&quot;subject&quot;:&quot;Not just anybody!&quot;,&quot;ticket_id&quot;:67321,&quot;updated_at&quot;:&quot;2011-05-05T10:38:52Z&quot;,&quot;url&quot;:&quot;https://example.zendesk.com/api/v2/tickets/35436.json&quot;,&quot;via&quot;:{&quot;channel&quot;:&quot;web&quot;}}]}