---
title: Token
---

[Skip to content](#_top)

[API Reference](https://developers.cloudflare.com/api/typescript)

[Stream](https://developers.cloudflare.com/api/typescript/resources/stream)

Copy Markdown

Open in **Claude**Open in **ChatGPT**Open in **Cursor**

---

**Copy Markdown****View as Markdown**

# Token

##### [Create signed URL tokens for videos](https://developers.cloudflare.com/api/typescript/resources/stream/subresources/token/methods/create)

client.stream.token.create(stringidentifier, TokenCreateParams {account\_id, id, accessRules, 5 more } params, RequestOptionsoptions?): [TokenCreateResponse](<https://developers.cloudflare.com/api/typescript/resources/stream#(resource)%20stream.token%20%3E%20(model)%20token_create_response%20%3E%20(schema)>) {token }

POST/accounts/{account\_id}/stream/{identifier}/token

##### ModelsExpand Collapse

<details>

<summary>

TokenCreateResponse {token }

</summary>

token?: string

The signed token used with the signed URLs feature.

<a href="#(resource)%20stream.token%20%3E%20(model)%20token_create_response%20%3E%20(schema)%20%3E%20(property)%20token">Link to this property</a>

</details>

[Link to this property](<#(resource)%20stream.token%20%3E%20(model)%20token_create_response%20%3E%20(schema)>)