Skip to content

sms_get_campaign_cost always returns an error #40

Description

@vhartikainen

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
}

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions