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 |
|
} |