Sinch Node.js SDK - v1.5.0
    Preparing search index...

    Interface FindCallsRequestData

    interface FindCallsRequestData {
        callResult?: string;
        createTime?: string | Date;
        createTimeRange?: ElasticSipTrunking.DateRangeFilter;
        direction?: string;
        from?: string;
        page?: string;
        size?: number;
        to?: string;
        trunkId?: string;
    }
    Index

    Properties

    callResult?: string

    only include calls by on the callResult(s), example callResult=COMPLETED will return all calls which have completed normally.

    createTime?: string | Date

    Filter calls based on createTime. You make the query more precise, fewer results will be returned. For example, 2021-02-01 will return all calls from the first of February 2021, and 2021-02-01T14:00:00Z will return all calls after 14:00 on the first of February.

    Filter calls based on createTime. It will filter the calls on a range of dates.

    direction?: string

    only include calls by on the direction(s), example direction=INBOUND,OUTBOUND will return all calls that are inbound or outbound.

    from?: string

    A phone number that you want to use to filter results. You can pass a partial number to get all calls sent to numbers that start with the number you passed.

    page?: string

    The page you want to fetch

    size?: number

    The maximum number of items to return per request. The default is 100 and the maximum is 1000. If you need to export larger amounts and pagination is not suitable for you can use the Export function in the dashboard.

    to?: string

    Only include calls made to this number or address. You can pass a partial number to get all calls sent to numbers that start with the number you passed.

    trunkId?: string

    Only include calls made from this trunk.