Table of Contents

Get token list

For getting token list please use token/list:

svc=token/list&params={"userId":<text>}

Parameters

Param DescriptionComments
userId subuser id optional

Response

[
    {
	"h":<text>,		/* unique token name, 72 symbols */
	"app":<text>,		/* application name */
	"at":<uint>,		/* token activation time, UNIX-time */
	"ct":<uint>,		/* token creation time, UNIX-time */
	"dur":<uint>,		/* token duration after activation, секунды */
	"fl":<uint>,		/* access flags */
	"items":[<long>],	/* list of item ids with token granted access */
	"p":<text>		/* custom parameters, value must be object or an array of objects */
    },
    ...				/* other tokens (if any) */
]
Follow us on Facebook Gurtam Wialon Twitter Gurtam Wialon info@gurtam.com   |   Copyright © 2002-2020 Gurtam