Modified SMS HTTP API call

This commit is contained in:
Marko Jovanovic 2025-10-06 09:46:38 +02:00
parent a383eb09a6
commit 801cdc4075

View File

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