POST
/
api
/
v1
/
thread
/
search
{
  "filters": {
    "assigned_to_member_id": "integer",
    "contact": "string",
    "content": "string",
    "customer_id": "string",
    "id": "string",
    "max_created_at": "string",
    "max_updated_at": "string",
    "min_created_at": "string",
    "min_updated_at": "string",
    "only_without_assignment": "boolean",
    "only_without_review_groups": "boolean",
    "review_groups": [
      "string"
    ],
    "status": "integer",
    "tag_codes": [
      "string"
    ]
  },
  "on_page": "integer",
  "per_page": "integer"
}
{
  "data": [
    {
      "attachments": [
        {
          "attachment_movements": {
            "movements": [
              {
                "agent_id": "integer",
                "customer_id": "string",
                "file_id": "string"
              }
            ],
            "total": "integer"
          },
          "file_mime": "string",
          "file_name": "string",
          "file_not_dangerous": "boolean",
          "file_size": "integer",
          "file_type": "string",
          "id": "string"
        }
      ],
      "client_id": "integer",
      "contacts": [
        "string"
      ],
      "created_at": "string",
      "customers": [
        {
          "account_number": "string",
          "account_type": {},
          "alias_ids": [
            "string"
          ],
          "client_id": "string",
          "company_name": "string",
          "contacts": "string",
          "created_at": "string",
          "created_by": "integer",
          "custom_fields": "object",
          "customer_type": "string",
          "date_of_birth": "string",
          "disabled": "boolean",
          "domicile_code": "string",
          "external_id": "string",
          "first_name": "string",
          "id": "string",
          "last_name": "string",
          "middle_name": "string",
          "name_variations": [
            {
              "company_name": "string",
              "first_name": "string",
              "last_name": "string",
              "middle_name": "string",
              "trading_name": "string"
            }
          ],
          "nationality_code": "string",
          "registration_number": "string",
          "review_groups": [
            "string"
          ],
          "revision_number": "string",
          "trading_name": "string"
        }
      ],
      "external_message_ids": [
        "string"
      ],
      "id": "string",
      "last_message": {
        "agent_id": "integer",
        "attachments": [
          {
            "attachment_movements": {
              "movements": [
                {
                  "agent_id": "integer",
                  "customer_id": "string",
                  "file_id": "string"
                }
              ],
              "total": "integer"
            },
            "file_mime": "string",
            "file_name": "string",
            "file_not_dangerous": "boolean",
            "file_size": "integer",
            "file_type": "string",
            "id": "string"
          }
        ],
        "bcc": "string",
        "cc": "string",
        "content": "string",
        "created_at": "string",
        "delivery": {},
        "error_when_trying_to_send": "string",
        "external_message_id": "string",
        "from": "string",
        "id": "string",
        "mailbox_id": "string",
        "origin": {},
        "priority": "integer",
        "raw_message": "string",
        "read_by_agents": [
          "integer"
        ],
        "reply_to_external_message_id": "string",
        "subject": "string",
        "to": "string"
      },
      "message_count": "integer",
      "reminder": {
        "delay": "integer",
        "next_date": "string",
        "number_left": "integer"
      },
      "review_groups": [
        "string"
      ],
      "status": {},
      "tags": [
        "string"
      ],
      "updated_at": "string"
    }
  ],
  "total": "integer"
}

Body parameters

filters
SearchThreadsFiltersInput
on_page
integer
per_page
integer

Response body

data
Thread[]
total
integer
{
  "filters": {
    "assigned_to_member_id": "integer",
    "contact": "string",
    "content": "string",
    "customer_id": "string",
    "id": "string",
    "max_created_at": "string",
    "max_updated_at": "string",
    "min_created_at": "string",
    "min_updated_at": "string",
    "only_without_assignment": "boolean",
    "only_without_review_groups": "boolean",
    "review_groups": [
      "string"
    ],
    "status": "integer",
    "tag_codes": [
      "string"
    ]
  },
  "on_page": "integer",
  "per_page": "integer"
}
{
  "data": [
    {
      "attachments": [
        {
          "attachment_movements": {
            "movements": [
              {
                "agent_id": "integer",
                "customer_id": "string",
                "file_id": "string"
              }
            ],
            "total": "integer"
          },
          "file_mime": "string",
          "file_name": "string",
          "file_not_dangerous": "boolean",
          "file_size": "integer",
          "file_type": "string",
          "id": "string"
        }
      ],
      "client_id": "integer",
      "contacts": [
        "string"
      ],
      "created_at": "string",
      "customers": [
        {
          "account_number": "string",
          "account_type": {},
          "alias_ids": [
            "string"
          ],
          "client_id": "string",
          "company_name": "string",
          "contacts": "string",
          "created_at": "string",
          "created_by": "integer",
          "custom_fields": "object",
          "customer_type": "string",
          "date_of_birth": "string",
          "disabled": "boolean",
          "domicile_code": "string",
          "external_id": "string",
          "first_name": "string",
          "id": "string",
          "last_name": "string",
          "middle_name": "string",
          "name_variations": [
            {
              "company_name": "string",
              "first_name": "string",
              "last_name": "string",
              "middle_name": "string",
              "trading_name": "string"
            }
          ],
          "nationality_code": "string",
          "registration_number": "string",
          "review_groups": [
            "string"
          ],
          "revision_number": "string",
          "trading_name": "string"
        }
      ],
      "external_message_ids": [
        "string"
      ],
      "id": "string",
      "last_message": {
        "agent_id": "integer",
        "attachments": [
          {
            "attachment_movements": {
              "movements": [
                {
                  "agent_id": "integer",
                  "customer_id": "string",
                  "file_id": "string"
                }
              ],
              "total": "integer"
            },
            "file_mime": "string",
            "file_name": "string",
            "file_not_dangerous": "boolean",
            "file_size": "integer",
            "file_type": "string",
            "id": "string"
          }
        ],
        "bcc": "string",
        "cc": "string",
        "content": "string",
        "created_at": "string",
        "delivery": {},
        "error_when_trying_to_send": "string",
        "external_message_id": "string",
        "from": "string",
        "id": "string",
        "mailbox_id": "string",
        "origin": {},
        "priority": "integer",
        "raw_message": "string",
        "read_by_agents": [
          "integer"
        ],
        "reply_to_external_message_id": "string",
        "subject": "string",
        "to": "string"
      },
      "message_count": "integer",
      "reminder": {
        "delay": "integer",
        "next_date": "string",
        "number_left": "integer"
      },
      "review_groups": [
        "string"
      ],
      "status": {},
      "tags": [
        "string"
      ],
      "updated_at": "string"
    }
  ],
  "total": "integer"
}