***

title: list
slug: /reference/python/rest/number-groups/list
description: List number groups in the project.
max-toc-depth: 3
---------------------

For a complete index of all SignalWire documentation pages, fetch https://signalwire.com/docs/llms.txt

List number groups in the project.

<EndpointSchemaSnippet endpoint="GET /api/relay/rest/number_groups" />

## **Response Example**

<EndpointResponseSnippet endpoint="GET /api/relay/rest/number_groups" />

## **Example**

```python {9}
from signalwire.rest import RestClient

client = RestClient(
    project="your-project-id",
    token="your-api-token",
    host="your-space.signalwire.com",
)

result = client.number_groups.list()
for group in result.get("data", []):
    print(group["name"], group.get("id"))
```