Base URL
https://{tenant}.logzi.com/api/integration/
Every request returns a JSON response. On success result.code == 1, on error result.code == 0. An integration stores the connection to an external system (webshop, courier service, accounting software, etc.) — with API keys, URLs, and identifiers.
/api/integration/get
Retrieve a single integration by identifier.
Query parameters
| Parameter | Type | Required | Description |
|---|---|---|---|
id | int | Unique identifier of the integration |
Example request
GET /api/integration/get?id=1
X-API-KEY: {your_api_key}
/api/integration/list
Retrieve a paginated list of integrations.
Query parameters
| Parameter | Type | Required | Description |
|---|---|---|---|
list_offset | int | Pagination offset (default: 0) | |
list_condition | object | Filter conditions object |
Example request
GET /api/integration/list?list_offset=0
X-API-KEY: {your_api_key}
/api/integration/save
Create or update an integration. For a new integration use data[id] = 0.
POST fields — data object
| Field | Type | Required | Description |
|---|---|---|---|
id | int | 0 = new integration, >0 = update | |
integration_type_id | int | Integration type identifier (e.g. webshop, courier) | |
api_name | string | Integration name / internal identifier | |
api_url | string | API endpoint URL (automatically terminated with a / character) | |
api_key | string | API key | |
api_token | string | Access token | |
api_token_expire | string | Token expiration date/time | |
api_username | string | Username (for Basic Auth) | |
api_password | string | Password (for Basic Auth) | |
api_client_id | string | OAuth2 client_id | |
api_secret | string | OAuth2 client_secret |
Example request
POST /api/integration/save
X-API-KEY: {your_api_key}
Content-Type: application/json
{
"data": {
"id": 0,
"integration_type_id": 1,
"api_name": "Webshop kapcsolat",
"api_url": "https://webshop.example.com/api/",
"api_key": "myapikey123"
}
}
/api/integration/delete
Delete an integration by identifier.
POST fields — data object
| Field | Type | Required | Description |
|---|---|---|---|
id | int | Identifier of the integration to delete |
Example request
POST /api/integration/delete
X-API-KEY: {your_api_key}
Content-Type: application/json
{ "data": { "id": 1 } }
Create your account now,
pay later!