---
title: "List Contacts"
full: true
_openapi:
  method: GET
  toc: []
  structuredData:
    headings: []
    contents:
      - content: "Retrieves a paginated list of contacts with optional filtering and search"
_apiData:
  document: "https://reloop.sh/api/contacts/openapi/json"
  operationData: [{"path":"/api/contacts/list","method":"get"}]
  parameterList: [{"name":"page","type":"number","required":false,"description":"","location":"query","defaultValue":1,"minimum":1},{"name":"limit","type":"number","required":false,"description":"","location":"query","defaultValue":100,"minimum":1,"maximum":100},{"name":"search","type":"string","required":false,"description":"Search by email","location":"query"},{"name":"status","type":"\"subscribed\" | \"unsubscribed\" | \"blocked\"","required":false,"description":"","location":"query","enumValues":["subscribed","unsubscribed","blocked"]}]
  responseMap: {"200":{"description":"Response for status 200","schema":{"object":"contact","contacts":[{"object":"contact","id":"con_123456789","email":"john.doe@example.com","firstName":"John","lastName":"Doe","status":"subscribed","properties":{"company":"Reloop","role":"Developer"},"groups":[{"id":"grp_123","name":"Beta Testers"}],"channels":[{"id":"tpc_123","name":"Newsletter","subscription":"opt_in"}],"suppressionReason":null,"suppressedAt":null,"createdAt":"2026-03-23T10:00:00Z","updatedAt":"2026-03-23T10:00:00Z"}],"total":1,"page":0,"limit":0,"totalContacts":0,"subscribedContacts":0,"unsubscribedContacts":0,"event":"evt_123456789"}},"403":{"description":"Response for status 403","schema":{"message":"Unauthorized access","why":"A contact with this email already exists in your organization.","fix":"Use a different email address or update the existing contact instead."}}}
  codeSamples:
    - id: node
      lang: javascript
      label: Node.js
      source: |-
        import { Reloop } from "reloop-email";
        
        const reloop = new Reloop({ apiKey: "rl_123456789" });
        
        const { contacts, contactError } = await reloop.contacts.list({
          page: 1,
          limit: 10,
          status: "subscribed",
        });
        if (contactError) throw contactError;
    - id: curl
      lang: bash
      label: cURL
      source: |-
        curl "https://reloop.sh/api/contacts/list?page=1&limit=10&status=subscribed" \
          -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.contacts.list({
          "page": 1,
          "limit": 10,
          "status": "subscribed",
        })
        if result.contact_error:
            raise result.contact_error
    - id: php
      lang: php
      label: PHP
      source: |-
        <?php
        
        require 'vendor/autoload.php';
        
        use Reloop\Reloop;
        
        $reloop = Reloop::client('rl_123456789');
        
        $contacts = $reloop->contacts->list([
            'page' => 1,
            'limit' => 10,
            'status' => 'subscribed',
        ]);
    - id: java
      lang: java
      label: Java
      source: |-
        import sh.reloop.ReloopClient;
        ReloopClient reloop = new ReloopClient("rl_123456789");
        
        ListContactsParams params = new ListContactsParams();
        params.page = 1;
        params.limit = 10;
        params.status = "subscribed";
        var contacts = reloop.contacts.list(params);
    - id: dotnet
      lang: csharp
      label: .NET
      source: |-
        using Reloop;
        using Reloop.Models;
        
        var reloop = new ReloopClient("rl_123456789");
        
        var contacts = await reloop.Contacts.ListAsync(new Dictionary<string, object?>
        {
            ["page"] = 1,
            ["limit"] = 10,
            ["status"] = "subscribed",
        });
    - id: go
      lang: go
      label: Go
      source: |-
        import reloop "github.com/reloop-labs/reloop-go"
        
        client, _ := reloop.NewClient(reloop.ClientOptions{
            APIKey: "rl_123456789",
        })
        
        contacts, _ := client.Contacts.List(map[string]interface{}{
            "page": 1,
            "limit": 10,
            "status": "subscribed",
        })
    - id: rust
      lang: rust
      label: Rust
      source: |-
        use reloop::ReloopClient;
        #[tokio::main]
        async fn main() -> Result<(), Box<dyn std::error::Error>> {
            let reloop = ReloopClient::new("rl_123456789".to_string(), None);
        
            reloop.contacts().list(Some(ListContactsParams {
                page: Some(1),
                limit: Some(10),
                status: Some(ContactStatus::Subscribed),
                ..Default::default()
            })).await?;
        
            Ok(())
        }
    - id: ruby
      lang: ruby
      label: Ruby
      source: |-
        require "reloop"
        
        reloop = Reloop::Client.new(api_key: "rl_123456789")
        
        contacts = reloop.contacts.list(page: 1, limit: 10, status: "subscribed")
    - id: elixir
      lang: elixir
      label: Elixir
      source: |-
        client = Reloop.client("rl_123456789")
        
        {:ok, contacts} = Reloop.Services.Contacts.list(client, %{page: 1, limit: 10, status: "subscribed"})
---
> 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 />
