Toggle menu

getReceivedTextMessages

Description

Retrieves the 250 most recent received text messages.

Parameters

NameTypeDescription
olderThanString, optionalThe ID of a message. Returns the 250 received text messages older than the given ID. If omitted, returns the 250 latest received text messages
apiKeyNameString, optionalSpecify the name of the API key you want to use. Names and keys are defined in the worker configuration. If not supplied the default will be used

Example Request

function(params, credentials) {  
    let result = this.callWorkerMethod("govnotify", "getReceivedTextMessages", {    
        "olderThan": "0000-0000-0000"
    });  
    return result;
}

Last modified on 1 August 2023

Share this page

Facebook icon Twitter icon email icon

Print

print icon