Modified SMS HTTP API call

This commit is contained in:
Marko Jovanovic 2025-10-06 09:32:06 +02:00
parent c40fb61ddd
commit 5970590f78

View File

@ -81,7 +81,8 @@ class ContactUncontactedCommand extends Command
'Accept' => 'application/json',
'Content-Type' => 'application/json'
],
'query' => "{
'query' => [
'body' => "{
'messages': { 'msg': [{
'allowedChannels': ['SMS'],
'from': 'UKB',
@ -101,6 +102,7 @@ class ContactUncontactedCommand extends Command
'maximumNumberOfMessageParts': 8,
'reference': 'UKB'
}] }}"
]
]);
// 4. Check the API response status