Skip to main content
GET
FIXED · account 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 Read the account retention default for new agents. Existing agents keep their saved retention settings; use Update an agent to change one agent.
Method: GET ·
Success: 200 ·
Scope: Owning account
The important part
  • Read the saved account retention policy.
  • Policy values alone do not confirm pending cleanup is complete.

Authentication

Send Authorization: Bearer KEY_ID:KEY_SECRET using the owning account’s server-side credential.

Request fields

No request body or query fields are required. No path, query or body fields are required. A new account defaults to 90 days if no account retention default has been saved.

Response fields

200 OK returns the shape below. Nullable fields can be unknown or unset; do not turn null into zero or false.

Example request

Raw HTTP base URL: https://api.nixflex.com/v1. Node and Python SDK base URL: https://api.nixflex.com. The SDK adds /v1. Keep NIXFLEX_API_KEY in your private process environment. The shell examples use Bash syntax. SDK and CLI examples require Node/CLI 0.11.0 or later and Python 0.4.0 or later.

Example response

Illustrative 200 response. Identifiers and values are examples; some optional or compatibility fields are omitted.

Errors

Failures return an error object with code, message, doc_url and optional details. Each code links to the shared error catalog. Read the message and details before deciding whether to resend.

Retry and idempotency

This is a read-only request. Retry transient connection or server failures with bounded backoff; respect Retry-After for 429. Do not retry validation or ownership errors unchanged. A later read can return newer state.

Authorizations

Authorization
string
header
required

KEY_ID:KEY_SECRET from the owning account. Keep it server-side. A verified personal dashboard Bearer session may be used where the operation documents role-based access.

Response

OK

call_retention_days
enum<integer>
required

Saved account default: 90, 30, 7, 1 or 0 days. Zero means delete eligible content after each call.

Available options:
90,
30,
7,
1,
0
applies_to
string
required

Only new agents inherit this default.

Allowed value: "new_agents"
processing_enabled
boolean
required

Whether the retention processing feature is enabled. This does not confirm that a particular record has been erased.