---
title: "List Threads"
full: true
_openapi:
  method: GET
  toc: []
  structuredData:
    headings: []
    contents:
      - content: "Retrieve email conversations (threads) for the active organization"
_apiData:
  document: "https://reloop.sh/api/inbox/openapi/json"
  operationData: [{"path":"/api/inbox/v1/threads/","method":"get"}]
  parameterList: [{"name":"mailboxId","type":"string","required":false,"description":"Filter threads by mailbox ID","location":"query"},{"name":"limit","type":"string | number","required":false,"description":"","location":"query","defaultValue":50,"maximum":100},{"name":"offset","type":"string | number","required":false,"description":"","location":"query","defaultValue":0}]
  responseMap: {"200":{"description":"Response for status 200","schema":[{"id":"con_123456789","mailboxId":"example_mailboxId","organizationId":"example_organizationId","subject":"Welcome to Reloop","lastMessagePreview":"example_lastMessagePreview","lastMessageAt":"2026-03-23T10:00:00.000Z","status":"example_status","messageCount":0,"participants":["example_participants"],"isRead":true,"isStarred":true,"createdAt":"2026-03-23T10:00:00.000Z","updatedAt":"2026-03-23T10:00:00.000Z"}]},"401":{"description":"Response for status 401","schema":{"message":"Contact already exists","why":"A contact with this email already exists in your organization.","fix":"Use a different email address or update the existing contact instead.","link":"https://reloop.sh/docs/api/contacts"}},"403":{"description":"Response for status 403","schema":{"message":"Contact already exists","why":"A contact with this email already exists in your organization.","fix":"Use a different email address or update the existing contact instead.","link":"https://reloop.sh/docs/api/contacts"}},"500":{"description":"Response for status 500","schema":{"message":"Contact already exists","why":"A contact with this email already exists in your organization.","fix":"Use a different email address or update the existing contact instead.","link":"https://reloop.sh/docs/api/contacts"}}}
  codeSamples:
    - id: node
      lang: javascript
      label: Node.js
      source: |-
        import { Reloop } from "reloop-email";
        
        const reloop = new Reloop({ apiKey: "rl_123456789" });
        
        const { threads, threadError } = await reloop.inbox.threads.list({ limit: 50 });
        if (threadError) throw threadError;
    - id: curl
      lang: bash
      label: cURL
      source: |-
        curl -X GET "https://reloop.sh/api/inbox/v1/threads?limit=50" \
          -H "x-api-key: rl_123456789"
    - id: python
      lang: python
      label: Python
      source: |-
        from reloop_email import Reloop
        
        reloop = Reloop(api_key="rl_123456789")
        
        result = reloop.inbox.threads.list({
          "limit": 50,
        })
        if result.thread_error:
            raise result.thread_error
    - id: php
      lang: php
      label: PHP
      source: |-
        <?php
        
        require 'vendor/autoload.php';
        
        use Reloop\Reloop;
        
        $reloop = Reloop::client('rl_123456789');
        
        $threads = $reloop->inbox->threads->list([
            'limit' => 50,
        ]);
    - id: java
      lang: java
      label: Java
      source: |-
        import sh.reloop.ReloopClient;
        ReloopClient reloop = new ReloopClient("rl_123456789");
        
        ListThreadsParams params = new ListThreadsParams();
        params.limit = 50;
        var threads = reloop.inbox.threads.list(params);
---
> For the complete documentation index, see [llms-docs.txt](/llms-docs.txt) or the site index [llms.txt](/llms.txt). Full docs corpus: [llms-full-docs.txt](/llms-full-docs.txt). Prefer markdown URLs (append `.md`) for agent consumption. Product skill: [skill.md](/skill.md).


{/* This file was generated by the OpenAPI doc generator. Do not edit this file directly. Run `bun run generate:api-docs` to regenerate. */}

<APIPage />
