How to associate a new SMS Message with an Existing Campaign

In certain situations, the end user may want to associate a new SMS message with an existing Campaign.

  1. Create a Campaign
  2. Take the campaignID from the Campaign.
  3. POST to this URL replacing {clientId} and {campaignID} accordingly. https://core.cloudcontactai.com/api/clients/{clientId}/campaign/{campaignId}/message
    {
        "message": "Hello, ${firstName}",
        "account": {
            "firstName":"hon",
            "lastName":"Doe",
            "phone":"+14155551212"
        }    
    }
     
    
  4. CloudContactAI should respond with a 200.
    {
        "status": "success"
    }