---
title: TURN
---

[Skip to content](#_top)

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

[Calls](https://developers.cloudflare.com/api/typescript/resources/calls)

Copy Markdown

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

---

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

# TURN

##### [List TURN keys](https://developers.cloudflare.com/api/typescript/resources/calls/subresources/turn/methods/list)

client.calls.turn.list(TURNListParams {account\_id } params, RequestOptionsoptions?): SinglePage< [TURNListResponse](<https://developers.cloudflare.com/api/typescript/resources/calls#(resource)%20calls.turn%20%3E%20(model)%20turn_list_response%20%3E%20(schema)>) {created, modified, name, uid } >

GET/accounts/{account\_id}/calls/turn\_keys

##### [Retrieve TURN key details](https://developers.cloudflare.com/api/typescript/resources/calls/subresources/turn/methods/get)

client.calls.turn.get(stringkeyID, TURNGetParams {account\_id } params, RequestOptionsoptions?): [TURNGetResponse](<https://developers.cloudflare.com/api/typescript/resources/calls#(resource)%20calls.turn%20%3E%20(model)%20turn_get_response%20%3E%20(schema)>) {created, modified, name, uid }

GET/accounts/{account\_id}/calls/turn\_keys/{key\_id}

##### [Create a TURN key](https://developers.cloudflare.com/api/typescript/resources/calls/subresources/turn/methods/create)

client.calls.turn.create(TURNCreateParams {account\_id, name } params, RequestOptionsoptions?): [TURNCreateResponse](<https://developers.cloudflare.com/api/typescript/resources/calls#(resource)%20calls.turn%20%3E%20(model)%20turn_create_response%20%3E%20(schema)>) {created, key, modified, 2 more }

POST/accounts/{account\_id}/calls/turn\_keys

##### [Update TURN key details](https://developers.cloudflare.com/api/typescript/resources/calls/subresources/turn/methods/update)

client.calls.turn.update(stringkeyID, TURNUpdateParams {account\_id, name } params, RequestOptionsoptions?): [TURNUpdateResponse](<https://developers.cloudflare.com/api/typescript/resources/calls#(resource)%20calls.turn%20%3E%20(model)%20turn_update_response%20%3E%20(schema)>) {created, modified, name, uid }

PUT/accounts/{account\_id}/calls/turn\_keys/{key\_id}

##### [Delete TURN key](https://developers.cloudflare.com/api/typescript/resources/calls/subresources/turn/methods/delete)

client.calls.turn.delete(stringkeyID, TURNDeleteParams {account\_id } params, RequestOptionsoptions?): [TURNDeleteResponse](<https://developers.cloudflare.com/api/typescript/resources/calls#(resource)%20calls.turn%20%3E%20(model)%20turn_delete_response%20%3E%20(schema)>) {created, modified, name, uid }

DELETE/accounts/{account\_id}/calls/turn\_keys/{key\_id}

##### ModelsExpand Collapse

<details>

<summary>

TURNListResponse {created, modified, name, uid }

</summary>

created: string

The date and time the item was created.

formatdate-time

<a href="#(resource)%20calls.turn%20%3E%20(model)%20turn_list_response%20%3E%20(schema)%20%3E%20(property)%20created">Link to this property</a>

modified: string

The date and time the item was last modified.

formatdate-time

<a href="#(resource)%20calls.turn%20%3E%20(model)%20turn_list_response%20%3E%20(schema)%20%3E%20(property)%20modified">Link to this property</a>

name: string

A short description of a Realtime SFU app, not shown to end users.

<a href="#(resource)%20calls.turn%20%3E%20(model)%20turn_list_response%20%3E%20(schema)%20%3E%20(property)%20name">Link to this property</a>

uid: string

A Cloudflare-generated unique identifier for a item.

maxLength32

minLength32

<a href="#(resource)%20calls.turn%20%3E%20(model)%20turn_list_response%20%3E%20(schema)%20%3E%20(property)%20uid">Link to this property</a>

</details>

[Link to this property](<#(resource)%20calls.turn%20%3E%20(model)%20turn_list_response%20%3E%20(schema)>)

<details>

<summary>

TURNGetResponse {created, modified, name, uid }

</summary>

created: string

The date and time the item was created.

formatdate-time

<a href="#(resource)%20calls.turn%20%3E%20(model)%20turn_get_response%20%3E%20(schema)%20%3E%20(property)%20created">Link to this property</a>

modified: string

The date and time the item was last modified.

formatdate-time

<a href="#(resource)%20calls.turn%20%3E%20(model)%20turn_get_response%20%3E%20(schema)%20%3E%20(property)%20modified">Link to this property</a>

name: string

A short description of a Realtime SFU app, not shown to end users.

<a href="#(resource)%20calls.turn%20%3E%20(model)%20turn_get_response%20%3E%20(schema)%20%3E%20(property)%20name">Link to this property</a>

uid: string

A Cloudflare-generated unique identifier for a item.

maxLength32

minLength32

<a href="#(resource)%20calls.turn%20%3E%20(model)%20turn_get_response%20%3E%20(schema)%20%3E%20(property)%20uid">Link to this property</a>

</details>

[Link to this property](<#(resource)%20calls.turn%20%3E%20(model)%20turn_get_response%20%3E%20(schema)>)

<details>

<summary>

TURNCreateResponse {created, key, modified, 2 more }

</summary>

created: string

The date and time the item was created.

formatdate-time

<a href="#(resource)%20calls.turn%20%3E%20(model)%20turn_create_response%20%3E%20(schema)%20%3E%20(property)%20created">Link to this property</a>

key: string

Bearer token

maxLength64

minLength64

<a href="#(resource)%20calls.turn%20%3E%20(model)%20turn_create_response%20%3E%20(schema)%20%3E%20(property)%20key">Link to this property</a>

modified: string

The date and time the item was last modified.

formatdate-time

<a href="#(resource)%20calls.turn%20%3E%20(model)%20turn_create_response%20%3E%20(schema)%20%3E%20(property)%20modified">Link to this property</a>

name: string

A short description of a TURN key, not shown to end users.

<a href="#(resource)%20calls.turn%20%3E%20(model)%20turn_create_response%20%3E%20(schema)%20%3E%20(property)%20name">Link to this property</a>

uid: string

A Cloudflare-generated unique identifier for a item.

maxLength32

minLength32

<a href="#(resource)%20calls.turn%20%3E%20(model)%20turn_create_response%20%3E%20(schema)%20%3E%20(property)%20uid">Link to this property</a>

</details>

[Link to this property](<#(resource)%20calls.turn%20%3E%20(model)%20turn_create_response%20%3E%20(schema)>)

<details>

<summary>

TURNUpdateResponse {created, modified, name, uid }

</summary>

created: string

The date and time the item was created.

formatdate-time

<a href="#(resource)%20calls.turn%20%3E%20(model)%20turn_update_response%20%3E%20(schema)%20%3E%20(property)%20created">Link to this property</a>

modified: string

The date and time the item was last modified.

formatdate-time

<a href="#(resource)%20calls.turn%20%3E%20(model)%20turn_update_response%20%3E%20(schema)%20%3E%20(property)%20modified">Link to this property</a>

name: string

A short description of a Realtime SFU app, not shown to end users.

<a href="#(resource)%20calls.turn%20%3E%20(model)%20turn_update_response%20%3E%20(schema)%20%3E%20(property)%20name">Link to this property</a>

uid: string

A Cloudflare-generated unique identifier for a item.

maxLength32

minLength32

<a href="#(resource)%20calls.turn%20%3E%20(model)%20turn_update_response%20%3E%20(schema)%20%3E%20(property)%20uid">Link to this property</a>

</details>

[Link to this property](<#(resource)%20calls.turn%20%3E%20(model)%20turn_update_response%20%3E%20(schema)>)

<details>

<summary>

TURNDeleteResponse {created, modified, name, uid }

</summary>

created: string

The date and time the item was created.

formatdate-time

<a href="#(resource)%20calls.turn%20%3E%20(model)%20turn_delete_response%20%3E%20(schema)%20%3E%20(property)%20created">Link to this property</a>

modified: string

The date and time the item was last modified.

formatdate-time

<a href="#(resource)%20calls.turn%20%3E%20(model)%20turn_delete_response%20%3E%20(schema)%20%3E%20(property)%20modified">Link to this property</a>

name: string

A short description of a Realtime SFU app, not shown to end users.

<a href="#(resource)%20calls.turn%20%3E%20(model)%20turn_delete_response%20%3E%20(schema)%20%3E%20(property)%20name">Link to this property</a>

uid: string

A Cloudflare-generated unique identifier for a item.

maxLength32

minLength32

<a href="#(resource)%20calls.turn%20%3E%20(model)%20turn_delete_response%20%3E%20(schema)%20%3E%20(property)%20uid">Link to this property</a>

</details>

[Link to this property](<#(resource)%20calls.turn%20%3E%20(model)%20turn_delete_response%20%3E%20(schema)>)