GET   https://api.3seventy.com/api/v2.1/account/{accountId}/content/{contentId}/template


Returns all templates on a content group.

Path Parameters

accountId integer The account ID which owns the content group. required
contentId integer The content group which the templates are contained within. required

Response Properties application/json

AccountId integer The account which owns this template.
ChannelTypeId integer The type of channel this content can be sent to.
ContentId integer The content block this template falls under.
EncodingTypeId number The format of the template data
ImageId integer Id of image to send
LanguageId integer The language this template is for.
Template string The actual template



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 contentId = XXX;

var context = new T70Context();

var contentTempRepo = context.Repository<ContentTemplate>(new { AccountId = accountId, ContentId = contentId });

var list = contentTempRepo.GetAll();