API

Handling files via API

/api/file /api/file will handle all files for processing in Lasertask. It is a multi functioning end point meaning that the POST and GET types are very important. Authentication A standard OAUTH session must be created before a call can be made to this API. A Bearer token (header) is required. Endpoint The user profile is retrieved by […]

getSettings

getSettings getSettings will retrieve all settings from the Settings table. Authentication A standard OAUTH session must be created before a call can be made to this API. A Bearer token (header) is required. Endpoint The user profile is retrieved by submitting a GET request on the following Endpoint. https://[tenant].lasertask.com/graphql The [tenant] is the tenant name […]

getSetting

getSetting getSetting will retrieve a single setting from the Settings table. Authentication A standard OAUTH session must be created before a call can be made to this API. A Bearer token (header) is required. Endpoint The user profile is retrieved by submitting a GET request on the following Endpoint. https://[tenant].lasertask.com/graphql The [tenant] is the tenant […]

getActiveProfile

getActiveProfile getActiveProfile will retrieve the user profile of the currently authenticated user. Authentication A standard OAUTH session must be created before a call can be made to this API. A Bearer token (header) is required. Endpoint The user profile is retrieved by submitting a GET request on the following Endpoint. https://[tenant].lasertask.com/graphql The [tenant] is the […]

OAUTH2 Authentication

Before you attempt to connect to our API you must first generate an Client ID and Client Secret. Log in to your LaserTask instance and go to Settings -> API. In there you can generate a new ID and Secret. Once you have that make a CURL POST call to https://[tenant].lasertask.com/oauth/token Make sure you replace […]