# Uploads and live capture

Upload recordings and capture talks in real time.

Base URL: https://api.audiobly.com

### PUT /v1/capture/{provider}

Set connection

Connect or update a capture provider's credentials (stored encrypted). `secret_token` is
always required; `zoom`/`teams` also need `client_id`, `client_secret` and `account_id`,
`webex` needs a `refresh_token`. Returns 422 VALIDATION_ERROR if one is missing.

Scope: org_manage

Parameters:

- `provider` (path, string, required)

Body (JSON):

- `account_id` (string): Your account id with the capture provider.
- `client_id` (string): The client id.
- `client_secret` (string): The client secret from the provider; stored securely and never shown again.
- `secret_token` (string, required): The provider's secret token used to verify its notifications; stored securely.
- `refresh_token` (string): The provider's refresh token; stored securely and never shown again.

Responses:

- 200: Successful Response
- 422: The request did not validate.
- 401: The key is missing, unknown, revoked or expired.
- 403: The key lacks the scope this call needs, or the organisation is not on Enterprise.
- 429: Over the request rate. Wait for Retry-After seconds.
