Skip to main content

@dialstack/sdk-dev / server/src / CallListParams

Interface: CallListParams

Defined in: sdk/server/src/index.ts:709

Filters accepted by GET /v1/calls.

These names mirror what the handler actually parses, which is not always what the reference documents — an unrecognized filter is ignored rather than rejected, so a wrong name returns a 200 with unfiltered results. Verify against the handler before adding one here.

Properties

did?

TypeScript
optional did?: string;

Defined in: sdk/server/src/index.ts:714

Filter by the phone number (DID) associated with the call, by its id.


direction?

TypeScript
optional direction?: CallDirection;

Defined in: sdk/server/src/index.ts:715


expand?

TypeScript
optional expand?: "did"[];

Defined in: sdk/server/src/index.ts:726

Related resources to include inline. Supported values: did.


from_date?

TypeScript
optional from_date?: string;

Defined in: sdk/server/src/index.ts:722

Return calls started on or after this date (ISO 8601).


from_number?

TypeScript
optional from_number?: string;

Defined in: sdk/server/src/index.ts:717

Caller's phone number (exact match).


limit?

TypeScript
optional limit?: number;

Defined in: sdk/server/src/index.ts:710


page?

TypeScript
optional page?: string;

Defined in: sdk/server/src/index.ts:711


status?

TypeScript
optional status?: CallStatus;

Defined in: sdk/server/src/index.ts:720


to_date?

TypeScript
optional to_date?: string;

Defined in: sdk/server/src/index.ts:724

Return calls started before this date (ISO 8601).


to_number?

TypeScript
optional to_number?: string;

Defined in: sdk/server/src/index.ts:719

The call's destination (exact match) — as dialed or as routed.


user_id?

TypeScript
optional user_id?: string;

Defined in: sdk/server/src/index.ts:712