Skip to main content

Getting Started

This guide explains how to access the SmartGarant API, choose the right environment, and understand request and response structures before starting your integration.

1. SmartGarant Environments

SmartGarant provides two environments:

2. Get Your API Key

Using the API requires credentials (user/password).

Professional portal pages:

API Key Visibility

If the My API Keys menu is not visible, contact your account manager to enable this feature.

API keys page

Webhook Registration Rules

  • One webhook per API key.
  • The webhook URL cannot be edited after key creation.
  • To update it, please contact support through the Contact page.

Webhook creation settings

Retrieve User and Password

When creating a key, you can retrieve the API identifier and password.

Important

The password is displayed only once at creation time. Store it immediately in a secure vault.

Credential retrieval step

3. SmartGarant Request Structure

Most SmartGarant API responses follow a standard envelope format.

Error Model

Use this format to parse and log API errors consistently:

{
"requestId": "8f8b569b-56f9-4839-a1e1-e76a4bb8552d",
"error": {
"errorCode": "E0085",
"message": "Email not valid"
},
"resultStats": 2185
}

Where:

  • requestId: unique identifier for the request, useful for support and tracing
  • error.errorCode: SmartGarant error code
  • error.message: human-readable error description
  • resultStats: request processing time in milliseconds

Success Model

Standard response payload format:

{
"requestId": "ddda8238-6afc-449c-aad3-8a76b8c028f9",
"payload": {},
"resultStats": 125
}

Where:

  • requestId: unique identifier for the query
  • payload: business response object
  • resultStats: request processing time in milliseconds
Authentication Exception

This response model does not apply to authentication endpoints.