Loading...

Description

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


Request URL

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

Request Properties

Parameter Description Mandatory
accountId Yes
contactId The contact to which the keywords belong. Yes
keywordId Yes

Response Properties

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

C#
PHP


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

}

}

 

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