Defines a new valid response to a question campaign.

Request URL

POST   https://api.3seventy.com/api/v2.1/account/{accountId}/campaign/{campaignId}/question/answer

Request Properties

Parameter Description Mandatory
accountId The account which owns the campaign Yes
campaignId The campaign which the answer should be placed into Yes
NextCampaignId The next campaign to run in the dialog. Yes
ContentId The ID of the text message content. Yes
Content The content of the answer. Yes
Validator A regular expression that is used to validate the user's response to the answer. Yes
OrderingId A user definable ID to order the answers by on multiple choise questions. Yes
Value The value that is actually saved when we receive this answer. Yes
Label The lable to display in the user interface. No
Description The description of the answer. No


using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Linq;
using ThreeSeventy.Vector.Client;
using ThreeSeventy.Vector.Client.Enums;
using ThreeSeventy.Vector.Client.Models;

public class Program

private static void Main(string[] args)

const int accountId = XXXX;

const int campaignId = XXXX;

var context = new T70Context();

var campQuesAnsDefRepo = context.Repository<CampaignQuestionAnswerDefinition>(new { AccountId = accountId, CampaignId = campaignId });

var item = new CampaignQuestionAnswerDefinition()


AccountId = accountId,

ContentId = XXXXX,

AnswerId = XXXXX,

Description = "",

CampaignId = XXXXX,

NextCampaignId = XXXXX,

Value = "",

OrderingId = XXXXX






Stay tuned for JAVA code snippet
Stay tuned for RUBY code snippet
Stay tuned for PHP code snippet