***

title: create_subscriber_token
slug: /reference/python/rest/fabric/tokens/create-subscriber-token
description: Create a subscriber authentication token.
max-toc-depth: 3
---------------------

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

Create a [subscriber](/docs/platform/subscribers) authentication token.

<EndpointSchemaSnippet endpoint="POST /api/fabric/subscribers/tokens" />

## **Response Example**

<EndpointResponseSnippet endpoint="POST /api/fabric/subscribers/tokens" />

## **Example**

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

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

token = client.fabric.tokens.create_subscriber_token(reference="subscriber-id")
print(f"Token: {token['token']}")
```