Authenticate Incremental Damage API
The Incremental Damage Authentication API validates a client API key and generates a unique inspection session.
It returns JWT access/refresh tokens along with the session ID (Inspection ID)for further API calls.
Method | Base URL | Endpoint |
POST | https://reports.inspektlabs.com | /api/authenticate/incremental_damage |
Headers
Key | Value | Required |
Content-Type | application/json | Yes |
Click the button below to download the Postman collection for the API.
Authenticate Incremental Damage.postman_collection.json845 bytes
Payload
{
"key": "<your_api_key>"
}Parameters
Field | Type | Required | Description |
key | string | Yes | Client API Key provided by Inspektlabs. |
Responses
{
"session": "in123420250909153012",
"access_token": "<jwt_access_token>",
"refresh_token": "<jwt_refresh_token>"
}
session(Inspection ID) → Unique inspection session ID (in<random><timestamp>)access_token→ JWT access token for API callsrefresh_token→ JWT refresh token for renewing access
Error message and status code
Status Code | Error Message | When it Occurs |
200 | Returns session, access_token, refresh_token | Successful authentication |
400 | Enter API Key | API key is missing/empty |
401 | API Key not valid. Refresh the page and try again or Contact Inspektlabs Inc | API key is invalid |
405 | method not allowed | Request method is not POST |
400 | invalid API key | Invalid JSON payload / bad request body |
←Incremental Damage API
On this page
- Authenticate Incremental Damage API
- Headers
- Payload
- Parameters
- Responses
- Error message and status code