Calls

calls

calls.sfu

Methods

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

Lists all apps in the Cloudflare account

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

Fetches details for a single Calls app.

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

path Parameters
account_id: string
(maxLength: 32)

The account identifier tag.

Response fields
errors: Array<{ code, message, documentation_url, 1 more... }>
messages: Array<{ code, message, documentation_url, 1 more... }>
success: true

Whether the API call was successful.

result: { created, modified, name, 2 more... }
Optional
Request example
200Example
Edit App Details -> Envelope<{ created, modified, name, 1 more... }>
put/accounts/{account_id}/calls/apps/{app_id}

Edit details for a single app.

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

Deletes an app from Cloudflare Calls

Calls

TURN

calls.turn

Methods

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

Lists all TURN keys in the Cloudflare account

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.

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

Creates a new Cloudflare Calls TURN key.

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.

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