Loading...

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

Description

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.

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"
}

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

var context = new T70Context();

var chatToken = context.GetUSerChatToken();

}

}