Link Search Menu Expand Document

Updated Fri Jun 18th 2021, 16:17 UTC

Batch reopen conversations in a filter

PUT /:account/conversation_filters/:conversation_filter/conversations/reopen{?modified_before}

Multiple conversations in a given filter can be reopened by a user.

Examples

Batch reopen with IDs

Request

PUT /my_account/conversation_filters/active/conversations/reopen

Body

{
   "conversations": ["/conversations/1owpXK0", "/conversations/069dV2r", "/conversations/rpK3eOw"]
}
Example
$ curl -i -H Accept:"application/vnd.textus+jsonld" \
    -H Authorization:"Bearer {token}" \
    -X PUT /my_account/conversation_filters/active/conversations/reopen
     -d '{json: "body"}' 

Response

Status

202

Response Type

No body

Batch reopen by timestamp

Request

PUT /my_account/conversation_filters/active/conversations/reopen?modified_before={rfc3339_timestamp}
Example
$ curl -i -H Accept:"application/vnd.textus+jsonld" \
    -H Authorization:"Bearer {token}" \
    -X PUT /my_account/conversation_filters/active/conversations/reopen?modified_before={rfc3339_timestamp}
    

Response

Status

202

Response Type

No body


© 2021 TextUs