Node.js
application.TiledeskClient
library with npm command:TiledeskClient()
class in your Node.js file using the "require" command:authEmailPassword()
method from the TiledeskClient class. You must provide the APIKEY to authenticate. Actually APIKEYs are experimental and can be omitted. Just use the string 'APIKEY' in place of the real one.PROJECT_ID
and the token
we got from authentication:TiledeskClient.newRequestId()
passing PROJECT_ID
as a parameter. Sending a message to this newly created Request ID will automatically create a new Request Object, as in the following example:TiledeskClient.updateProjectUserCurrentlyLoggedIn()
you will update the status of the user token in the TiledeskClient constructor.PROJECT_USER_ID
variable is the teamate ID of your user (USER_ID
) on the PROJECT_ID
you specified in the TiledeskClient custructor.options.APIURL
parameter to specify the endpoint, as in the following example: