Calls

calls

calls.sfu

Methods

Create A New App -> Envelope<{ created, modified, name, 2 more... }>
post/accounts/{account_id}/calls/apps

Creates a new Cloudflare calls app. An app is an unique enviroment where each Session can access all Tracks within the app.

Delete App -> Envelope<{ created, modified, name, 1 more... }>
delete/accounts/{account_id}/calls/apps/{app_id}

Deletes an app from Cloudflare Calls

Retrieve App Details -> Envelope<{ created, modified, name, 1 more... }>
get/accounts/{account_id}/calls/apps/{app_id}

Fetches details for a single Calls app.

List Apps -> SinglePage<{ created, modified, name, 1 more... }>
get/accounts/{account_id}/calls/apps

Lists all apps in the Cloudflare account

Edit App Details -> Envelope<{ created, modified, name, 1 more... }>
put/accounts/{account_id}/calls/apps/{app_id}

Edit details for a single app.

Calls

TURN

calls.turn

Methods

Create A New TURN Key -> { created, key, modified, 2 more... }
post/accounts/{account_id}/calls/turn_keys

Creates a new Cloudflare Calls TURN key.

Security
API Token

The preferred authorization scheme for interacting with the Cloudflare API. Create a token.

Example: Authorization: Bearer Sn3lZJTBX6kkg7OdcBUAxOO963GEIyGQqnFTOFYY

Accepted Permissions (at least one required)

Calls Write

Parameters
account_id: string
(maxLength: 32)

The account identifier tag.

Response fields
created: string
Optional
(format: date-time)

The date and time the item was created.

key: string
Optional
(maxLength: 64, minLength: 64)

Bearer token

modified: string
Optional
(format: date-time)

The date and time the item was last modified.

name: string
Optional

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

uid: string
Optional
(maxLength: 32, minLength: 32)

A Cloudflare-generated unique identifier for a item.

Request example
200Example
Delete TURN Key -> Envelope<{ created, modified, name, 1 more... }>
delete/accounts/{account_id}/calls/turn_keys/{key_id}

Deletes a TURN key from Cloudflare Calls

Retrieve TURN Key Details -> Envelope<{ created, modified, name, 1 more... }>
get/accounts/{account_id}/calls/turn_keys/{key_id}

Fetches details for a single TURN key.

List TURN Keys -> SinglePage<{ created, modified, name, 1 more... }>
get/accounts/{account_id}/calls/turn_keys

Lists all TURN keys in the Cloudflare account

Edit TURN Key Details -> Envelope<{ created, modified, name, 1 more... }>
put/accounts/{account_id}/calls/turn_keys/{key_id}

Edit details for a single TURN key.