Skip to main content
GET
FIXED · account Inbox number discovery is account-wide. Filter threads by channel and number, and call history by number. DELETE /v1/calls purges calls and related recordings account-wide and reports sms_deleted=0. For one customer verify each call ID, then use DELETE /v1/calls/{id}. NOT OFFERED → do this instead · number A business_number filter on campaign and opt-out reads does not establish tenant identity. Authorise the tenant and its number on your server. Keep that filter through SMS pagination. Bulk call deletion stays account-wide. YOU CAN CHANGE · account Choose direction, source, outcome and period when supported. The number narrows a history read only. direction all, inbound, outbound, web · source all, campaign, web, test, other · outcome all, successful, unsuccessful, unknown, failed · period all, today, week, month. SCOPE · account Keep the same filters with each server-issued cursor. Read the compact AI rules Read the original call list as a bare array, newest creation time first. Use the history operation when you need filters, totals, failed-start entries or cursor paging.
Method: GET ·
Success: 200 ·
Scope: Owning account
The important part
  • Use the documented filters and page limits.
  • A call row can exist before analysis, recording and booking work finishes.

Authentication

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

Request fields

Do not send a request body. Legacy mode ignores unsupported filters such as agent_id. It has no total or next_cursor. Increase offset by the returned length and stop on an empty/short page within the 200-row cap. Offset reads are not a frozen snapshot; concurrent writes can shift rows. Legacy responses can contain retained transcript/recording fields, so handle them as private account data.

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.

Query Parameters

limit
integer
default:50

Positive parsed integer, capped at 200. Missing, zero, negative or unparseable values use 50.

Required range: 1 <= x <= 200
offset
integer
default:0

Parsed offset. Missing, negative or unparseable values use zero.

Required range: x >= 0
view
string

history selects the history envelope and its different filtering rules. Other values keep the original array.

Response

OK

Legacy call rows can include additional fields. Availability varies with retention and lifecycle.

call_id
string
required

Call identifier. Failed starts can use the failed: prefix.

id
string<uuid>

Row ID of this call record (UUID) when present. Use call_id to identify the call in requests.

agent_id
string | null

Agent identifier, if retained.

from_number
string | null

Origin number, if retained.

to_number
string | null

Destination number, if retained.

call_type
string | null

Call channel/type, such as inbound, outbound or web.

call_direction
string | null

Direction recorded for the call.

call_status
string | null

Recorded lifecycle state; unknown future states must be tolerated.

duration_ms
integer | null

Connected duration in milliseconds; not elapsed ringing time or proof of billed time.

created_at
string<date-time> | null

Creation time when retained.

start_timestamp
integer | null

Start time in Unix milliseconds.

end_timestamp
integer | null

End time in Unix milliseconds.

answered_at
integer | null

Answer time in Unix milliseconds, when known.

ended_reason
string | null

Recorded end/failure reason. A null value is unknown, not success.

call_successful
boolean | null

Assessment of success. Null means unknown.

caller_sentiment
string | null

Post-call sentiment, if retained.

cost
number | null

Stored cost value. Null must remain unknown.

charged_minutes
number | null

Stored charged-minute value, when known.

campaign_id
string | null

Associated campaign, if any.

test_requested_by
string | null

Retained test source marker, if any.

caller_name
string | null

Caller name, if retained.

payload_deleted_at
string<date-time> | null

Time content was erased.

payload_deleted_reason
string | null

Recorded erasure reason.

payload_in_own_storage
boolean | null

Whether payload was stored in account-connected storage; its current contents are not inspected.

call_retention_days
integer | null

Retention policy recorded for this call.

payload_scheduled_for_deletion
boolean

Content is hidden while deletion processing finishes.

call_summary
string | null

Retained summary; can be absent or null.

transcript
string | null

Retained transcript; hidden/erased content is null.

extracted_data
any

Retained extracted JSON data, or null.

call_events
any

Retained event JSON data, or null.

recording_url
string | null

Older recording pointer. Prefer the recording endpoint; detail view always returns null.

recording_status
string

Recording availability state when supplied.

recording_endpoint
string | null

Optional API path for a recording read; not itself a download URL.

recording_availability
string | null

Stored recording processing state.

recording_availability_reason
string | null

Stored recording processing reason.