GET   https://api.3seventy.com/api/v2.1/chattoken/{accountId}


This function returns a token used for the IRC password field for logging in. Tokens have an expiration date, and will no longer be valid after a certain period of time. In order to login again you must call this function to get a new token.

Path Parameters

accountId integer The account ID that the users belong to. required

Response Properties application/json

Token string The login token.
UserName string The user name this token is for (for reference)
ExpirationDate string When this token will no longer be valid. Time is in UTC.
  "Token": "OvPtgEB86AANOnAdSw==",
  "UserName": "test",
  "ExpirationDate": "2018-06-30T08:40:11"


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 = 4662;

var context = new T70Context();

var userChatTokenRepo = context.Repository<UserChatToken>();

var item = userChatTokenRepo.Get(accountId);