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