June 2025: We have updated ASAP's API Authentication method. Version 2 is a more secure and modern approach, using a POST request with credentials included in the request body as JSON. Version 2 is now live. Version 1 still operates and will be deprecated in the next few months.
Authentication V2
To authenticate with the ASAP API V2, you must now use a POST request to securely send your credentials in the request body as JSON. This replaces the previous method that used a GET request with credentials in the URL or headers.
Authentication Endpoint
POST https://api.asapconnected.com/api/login
Required Parameters
The request body must be in JSON format and include the following fields:
- apiKey: Your API key
- user: Your integration username
- organizationId: Your organization ID
- password: Your integration password
Example Request
Access Token
If authentication is successful, the server will return an HTTP 200 response and include an access token in the response header:
asap_accesstoken: your_access_token
You must include this token in the headers of all subsequent API requests:
asap_accesstoken: your_access_token
Note: The access token is valid for 2 hours. After that, you will need to authenticate again to obtain a new token.