Loading...

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.


Request URL

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


Response Properties

Property Description
Token The login token.
UserName The user name this token is for (for reference)
ExpirationDate When this token will no longer be valid. Time is in UTC.

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

var context = new T70Context();

var chatToken = context.GetUSerChatToken();

}

}

 

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