Loading...

GET   https://api.3seventy.com/api/v2.1/account/{accountId}/campaign/{campaignId}/keywords

Description

Gets all keywords on a campaign.

Path Parameters

accountId integer The account ID that the campaign belongs to. required
campaignId integer The campaign to get the attached keywords for. required

Response Properties application/json

AccountId integer Account Id
CallbackRequired boolean Boolean to specify if the client requires a callback when this keyword is texted in.
CampaignId integer Campaign Id
ChannelCode string The short or long code this keyword is reserved on.
ChannelId integer Channel Id
Name string Name of the Keyword
Status string Convenience mapping to ResourceStatusValue enumeration.
StatusId number Status ID


                    

C#


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();

context.GetCampaignKeywords(accountId, campaignId);

}

}