DELETE /v1/calls covers the owning account’s calls and related recordings. It takes no number or campaign filter. Its result reports sms_deleted=0.
NOT OFFERED → do this instead · number There is no bulk erase for just one customer’s number in a shared account. Resolve and verify each tenant-owned call ID, then use single-call deletion.
YOU CAN CHANGE · agent New agents inherit account retention on creation. Use the agent update to change its saved call-retention policy.
SCOPE · call Read availability first. Stored links expire. Distinguish pending, expired, unavailable and customer storage.
Read the compact AI rules
Connect your own compatible storage bucket and verify the private recording object, playback and cleanup behaviour.
Storage: Customer-owned bucket ·
Playback: Private access ·
Retention: Your bucket policy
The important part
- Connection verification and a later recording upload are separate results.
- Keep bucket credentials and playback access private.
- Automatic Nixflex retention does not remove your own bucket’s copies.
Support scope
The account service and storage interfaces shown here are existing compatibility interfaces, outside the supported public API inventory. They describe an existing integration dependency, not a new public API commitment. Use the signed-in dashboard for new setup; confirm support before building a new dependency on these routes or old client commands.Prerequisites
KeepNIXFLEX_API_KEY private on the server. Raw HTTP base URL: https://api.nixflex.com/v1. Node and Python SDK base URL: https://api.nixflex.com. The SDK adds /v1. Use the supported dashboard flow for new connections. Use authorised connection details and keep all secrets out of examples.
1. Read the safe configuration
Node and Python below use their standard HTTP clients. KeepNIXFLEX_API_KEY on the server. These HTTP examples describe an existing compatibility interface; the reviewed SDK and CLI do not expose this account service. No example retries a mutation automatically.
2. Prepare the bucket
Choose an authorised S3-compatible bucket, HTTPS endpoint and region. Give the credential only the required object permissions, including the verification probe and its cleanup. This requires a reachable connection; an air-gapped bucket cannot receive remote uploads.3. Save and verify
PUT/v1/account/storage with bucket, access_key, secret_key, and the appropriate endpoint and region. The secret is write-only. The save probe checks access before committing settings; a successful probe does not confirm every future upload will succeed.
4. Handle fallback and playback
The recording path verifies uploaded objects. If the customer bucket fails, fallback to standard Nixflex storage can be attempted and the call can record a storage failure event. Both paths can fail. Therefore this setting alone does not promise exclusive regional residency or that no recording can ever be lost.5. Manage your own lifecycle
Customer-bucket recordings are shown as customer storage rather than a permanent public audio URL. Manage your own authorised access and object retention. DELETE/v1/account/storage changes future storage configuration; it does not delete existing bucket files.