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

    Interface ListInboundMessagesRequestData

    interface ListInboundMessagesRequestData {
        client_reference?: string;
        end_date?: Date;
        page?: number;
        page_size?: number;
        start_date?: Date;
        to?: string | string[];
    }
    Index

    Properties

    client_reference?: string

    Using a client reference in inbound messages requires additional setup on your account. Contact your account manager to enable this feature. Only list inbound messages that are in response to messages with a previously provided client reference.

    end_date?: Date

    Only list messages received before this date/time. Formatted as ISO-8601: YYYY-MM-DDThh:mm:ss.SSSZ.

    page?: number

    The page number starting from 0.

    page_size?: number

    Determines the size of a page

    start_date?: Date

    Only list messages received at or after this date/time. Formatted as ISO-8601: YYYY-MM-DDThh:mm:ss.SSSZ. Default: Now-24

    to?: string | string[]

    Only list messages sent to this destination. Multiple phone numbers formatted as either <a href="https://community.sinch.com/t5/Glossary/E-164/ta-p/7537\" target="_blank">E.164 or short codes can be comma separated.