The following JSON is sent from the deferQueryReuestToNetwork method of the ILMessageFilterExtensionContext class:
POST /server-endpoint HTTP/1.1
Accept: */*
Content-Type: application/json; charset=utf-8
Content-Length: 148
{
"_version": 1,
"query": {
"sender": "14085550001",
"message": {
"text": "This is a message"
}
},
"app": {
"version": "1.1"
}
}
Is there any way to send the receiver's number with this? Or would it be possible to have an API call in the extension that posts the message sender, text, receiver, and filter status?
The aim is to have a UI in the main application that pulls a list of blocked messages for the receiver.