Modules

Calendar

Certificates

CollectiveAgreements

Company Forms

Company Forms Management

Contacts

Contracts

Customer Assets

Equipment

Expenses

Job Invoices

Jobs

Labour Actions

Library

Locates

Materials

Messages

Purchase Orders

Safety

Schedule

Service Quotes/Invoices

Service Requests

Services

Settings

TimeLogs

Users

Other

UserToken Resource


Endpoints

Endpoints URI Access Control Description
get GET /api/UserToken/get Authentication only
create POST /api/UserToken/create Authentication only API endpoint to create a token @param $data: integer for user_id, or array of options Token expiry cannot be set to more than 96 hrs unless the scope is set. Then it will have a limit of 5 years. Required params: 'user_id'
delete POST /api/UserToken/delete Admin or Module WRITE
compileCachedRelations GET /api/UserToken/compileCachedRelations Endpoint level permissions

Properties

Property Type Description
id number
token string
label string
issued datetime
expiry datetime
user_id number
created_by_user boolean
is_readonly boolean
single_use boolean
scope_json string

Settings

Setting
Pagination Limit (when page parameter is set) None
Default Sort Order By insertion order

Relationships

Related Resource Key Relationship to UserToken Property
User user_id Belongs To User