Loading...

GET   https://api.3seventy.com/api/v2.1/account/{accountId}/contact/{contactId}/keyword/{keywordId}

Description

Lists keyword on a contact as a set of name value pairs.

Path Parameters

accountId integer required
contactId integer The contact to which the keywords belong. required
keywordId integer required

Response Properties application/json

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


                    

C#


using System;
using System.Collections.Generic;
using System.Linq;
using ThreeSeventy.Vector.Client;
using ThreeSeventy.Vector.Client.Models;

public class Program
{

private static void Main(string[] args)
{

const int accountId = XXXX;

const int contactId = XXXXX;

const int keywordId = XXXX;

var context = new T70Context();

var contactKeywordRepo = context.Repository<ContactKeyword>(new { AccountId = accountId, ContactId = contactId });

var item = contactKeywordRepo.Get(keywordId);

}

}