SmartWats Cloud API
    • Send Message
      POST
    • Send Media Message
      POST
    • Send Template Message
      POST
    • Get Template List
      GET
    • Send Carousel Template Message
      POST
    • Create Contact
      POST
    • Create Campaign
      POST
    • Campaign List
      GET
    • Campaign Status
      GET
    • Update Contact
      POST
    • Get Contacts
      GET
    • Get Single Contact
      GET
    • Send Interactive Message
      POST
    • Assign Team Member and Enable/Disable AI Bot and Bot Reply
      POST
    • Get Contact Groups
      GET
    • Get Contact Labels and Tags
      GET
    • Get Message Status
      GET
    • Assign Groups to Contacts
      POST
    • Unassign Groups from Contacts
      POST
    • Assign Labels to Contacts
      POST
    • Unassign Labels to Contacts
      POST

      Create Campaign

      POST
      /{{vendorUid}}/campaign/schedule
      Send Message

      Request

      Authorization
      Provide your bearer token in the
      Authorization
      header when making requests to protected resources.
      Example:
      Authorization: Bearer ********************
      Body Params application/jsonRequired

      Examples

      Responses

      🟢200
      application/json
      Body

      Request Request Example
      Shell
      JavaScript
      Java
      Swift
      curl --location -g --request POST '/{{vendorUid}}/campaign/schedule' \
      --header 'Authorization: Bearer <token>' \
      --header 'Content-Type: application/json' \
      --data-raw '{
          // optional from phone number id is not given it will use default phone number id
          //"from_phone_number_id": "{{fromPhoneNumberId}}",
          "template_name": "account_setup_template",
          "template_language": "ar_SA",
          "header_image": "https://cdn.pixabay.com/photo/2015/01/07/15/51/woman-591576_1280.jpg",
          "header_video": "http://commondatastorage.googleapis.com/gtv-videos-bucket/sample/ForBiggerEscapes.mp4",
          "header_document": "http://commondatastorage.googleapis.com/gtv-videos-bucket/sample/ForBiggerEscapes.mp4",
          "header_document_name": "{full_name}",
          "header_field_1": "{full_name}",
          "location_latitude": "22.22",
          "location_longitude": "22.22",
          "location_name": "{first_name}",
          "location_address": "{country}",
          "field_1": "{Age}",
          "field_2": "{full_name}",
          "field_3": "{first_name}",
          "field_4": "{last_name}",
          "button_0": "{email}",
          "button_1": "{phone_number}",
          "copy_code": "YourCode",
          // Campaign related section start here
          "title": "test campaign from API 4",
          // contact group - group_name or all_contacts
          "contact_group": ["all_contacts"],
          "contact_labels": "",
          "restrict_by_templated_contact_language": "false",
          "timezone": "Asia/Riyadh",
          "schedule_at": "2026-03-31T12:42",
          "expire_at": ""
      }'
      Response Response Example
      {}
      Modified at 2026-04-22 11:04:21
      Previous
      Create Contact
      Next
      Campaign List
      Built with