PATCH/desk/api/v2/conversations/{id}/restore.json

Restore a deleted conversation by id.

Path Params

  • Name
    id
    Type
    integer
    required
    Description

Responses

  • Code
    200
    Type
    object
    Schema
    Description
    200 OK
    ConversationAPIBody handles the get/create/update request/response for conversation.
  • Code
    400
    Type
    object
    Schema
    Description
    400 Bad Request
    Validator hold the validation errors. Typically you shouldn't create this directly but use the New() function.

Examples

200 OK

ConversationAPIBody
{  "conversation": {    "contact": {      "createdAt": "2024-04-23T14:17:03.175Z",      "createdBy": {        "delete": true,        "id": 0,        "meta": {},        "type": 0      },      "deletedAt": "2024-04-23T14:17:03.175Z",      "deletedBy": {        "delete": true,        "id": 0,        "meta": {},        "type": 0      },      "filter_args": {