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.

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
errors: Array<>
messages: Array<>
success: true

Whether the API call was successful

result: { created, modified, name, 2 more... }
Optional
Request example
200Example
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.

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.