Loading...

GET   https://api.3seventy.com/api/v2.1/account/{accountId}/keyword?onlyMine={onlyMine}

Description

Gets a list of all keywords for a specific account regardless of the channel.

Path Parameters

accountId integer The account ID which owns the keywords required

Query Strings

onlyMine boolean Unset to see inherited items optional

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;

var context = new T70Context();

var list = context.GetKeywords(accountId, true);

}

}