---
title: 'Get all customers'
url: 'https://documentation.netstorming.net/twoways/search-customers/get-all-customers'
markdown: 'https://documentation.netstorming.net/twoways/search-customers/get-all-customers.md'
date: '2025-05-06'
description: 'This API is meant to obtain all customers base details. Request The type attribute has to be set to listall. The product attribute has to be set to customer. <envelope> <header> <actor>test</actor> <user>test</user> <password>tes…'
taxonomy:
  category:
    - docs
---

# Get all customers

[](#)  [ TwoWays ](https://documentation.netstorming.net/twoways)     [ Search customers ](https://documentation.netstorming.net/twoways/search-customers)      Get all customers    

This API is meant to obtain all customers base details.

##### Request

The **type** attribute has to be set to *listall*.

The **product** attribute has to be set to *customer*.

```
<envelope>
    <header>
        <actor>test</actor>
        <user>test</user>
        <password>test</password>
        <version>1.0.0</version>
        <timestamp>202307311450</timestamp>
    </header>
    <query type="listall" product="customer">
    </query>
</envelope>
```

##### Response

```
<?xml version="1.0" encoding="UTF-8"?> 
<envelope>
    <header>
        <version>1.0.0</version>
        <timestamp>1709036867</timestamp>
    </header>
    <response type="listall" product="customer">
        <customers>
            <customer>

                <name value="DEMO CLIENT"/>               
                <active value="yes"/>
                <lastmodified value="2025-04-28 11:59:16"/>
            </customer>
            <customer>

                <name value="DEMO CLIENT"/>
                <active value="no"/>
                <lastmodified value="2025-02-15 16:33:05"/>
            </customer>
        </customers>
    </response>
</envelope>
```

 [ ](https://documentation.netstorming.net/twoways/search-customers) [](https://documentation.netstorming.net/twoways/search-customers/customer-by-code)

---

## Navigation

- Parent: [Search customers](https://documentation.netstorming.net/twoways/search-customers.md)
- Next: [Customer by code](https://documentation.netstorming.net/twoways/search-customers/customer-by-code.md)
