Calling sms_get_campaign_cost(sender='SENDER', body='Lorem ipsum', phones=['+35840133333']) or with addressbook_id, will always return error:
Address book or phone list must be specified
Could it be that the payload is missing route parameter, although it's marked as optional in SendPulse API?
|
data_to_send = { |
|
'sender': sender, |
|
'body': body, |
|
'addressBookId': addressbook_id |
|
} |
Calling
sms_get_campaign_cost(sender='SENDER', body='Lorem ipsum', phones=['+35840133333'])or with addressbook_id, will always return error:Address book or phone list must be specifiedCould it be that the payload is missing
routeparameter, although it's marked as optional in SendPulse API?sendpulse-rest-api-python/pysendpulse/pysendpulse.py
Lines 1162 to 1166 in e66efb9