SMS campaign model
You can send SMS and get statistics of your campaigns through API.
Properties
Attributes
- id
- A unique identifier for the campaign which is given by User.com automatically.
- created_at
- A creation date of a campaign.
- description
- A description of the SMS campaign.
- eta
- When sending starts, ISO 8601. Set when the campaign is sent from the panel without one. Creating a campaign through the API doesn't send it.
- finished_at
- When sending finished. Returned by list, create and update, not by Get single SMS campaign.
- name
- A SMS campaign name.
- phone_number
- Twilio sender number of the campaign, with
provider,phone_numberandname;nullfor campaigns that send through another provider. - recipients
- Contact IDs the campaign goes to, or a segment filter.
- recipients_count
- A number of recipients.
- started_at
- When sending started. Returned by list, create and update, not by Get single SMS campaign.
- status
1draft,2active or3archived.- type
- A type of SMS campaign (1 - simple, 2 - automated).
- updated_at
- A date of last campaign update.
- statistics
- Delivery and click statistics:
scheduled,delivered,delivery_percentage,bounced,total_click_count,unique_click_countandclick_percentage. - messages
- Message variations of the campaign, each with
id,message_id,name,bodyandis_archived. Returned by Get single SMS campaign. - extra_data
- Recipients chosen in the panel:
recipients_lists,recipients_segmentsandall_recipients.nullfor campaigns created through the API. - recipients_lists
- IDs of the lists chosen as recipients in the panel, copied from
extra_data. - recipients_segments
- IDs of the segments chosen as recipients in the panel, copied from
extra_data. - provider
- ID of the SMSAPI credentials the campaign sends with, or
null. - provider_redlink
- ID of the RedLink credentials the campaign sends with, or
null. - provider_serwersms
- ID of the SerwerSMS credentials the campaign sends with, or
null. - provider_clicksend
- ID of the ClickSend credentials the campaign sends with, or
null. - provider_messente
- ID of the Messente credentials the campaign sends with, or
null. - provider_cm
- ID of the CM.com credentials the campaign sends with, or
null. - provider_autopay
- ID of the Autopay credentials the campaign sends with, or
null. - twoway_provider
- ID of the two-way SMS provider, or
null. With one, every message ends withSTOPand the provider's short number. - use_trial_provider
- Whether the campaign sends through User's trial SMS provider.
- url_shortener_enabled
- Whether links in the messages are shortened so that clicks can be counted.
- category
- ID of the campaign's SMS category, or
null. - folder
- ID of the folder the campaign is in, or
null.