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
Make sure you replace [tenant] with your tenant name.
The following fields are required as BODY Form data:
The username and password should be the users’ information as used to log in to your instance. If sent correctly you will be supplied with a token and refresh_token. The token should be used as an ‘Authorization’ Header:
Authorization: Bearer [token]