Skip to content

Latest commit

 

History

History
35 lines (26 loc) · 1.74 KB

CampaignRequest.md

File metadata and controls

35 lines (26 loc) · 1.74 KB

CampaignRequest

Properties

Name Type Description Notes
name str
max_retry int How many times call should be retried if not picked up [optional]
phone_number int PhoneNumber foreign key
type str Type of campaign, we have four types Outbound Bulk (blastout), Outbound AI (outbound), Inbound AI (inbound), Transactional (transactional)
transaction_template str Template text with variable placeholders, where variables are represented like `{var1}`. Only required for `transactional` campaigns. [optional]
script int Script id, Can be found from the Script Listing API. This is the GenAI prompt telling the bot how to behave when asked a question or how to continue the conversation. [optional]
voice int Voice id. Can be found from the Voice Listing API. Head over to Voice Garden by Callchimp for samples. [optional]

Example

from callchimp.models.campaign_request import CampaignRequest

# TODO update the JSON string below
json = "{}"
# create an instance of CampaignRequest from a JSON string
campaign_request_instance = CampaignRequest.from_json(json)
# print the JSON string representation of the object
print(CampaignRequest.to_json())

# convert the object into a dict
campaign_request_dict = campaign_request_instance.to_dict()
# create an instance of CampaignRequest from a dict
campaign_request_from_dict = CampaignRequest.from_dict(campaign_request_dict)

[Back to Model list] [Back to API list] [Back to README]