Base URL
https://{tenant}.logzi.com/api/company/
Every request returns a JSON response. On success result.code == 1, on failure result.code == 0.
/api/company/get
Retrieve a single company by identifier, with full data.
Query Parameters
| Parameter | Type | Required | Description |
|---|---|---|---|
id | int | Unique identifier of the company |
Example Request
GET /api/company/get?id=1
X-API-KEY: {your_api_key}
/api/company/list
Retrieve a paginated list of companies with filtering options.
Query Parameters
| Parameter | Type | Required | Description |
|---|---|---|---|
list_offset | int | Pagination offset (default: 0) | |
list_condition | array | Array of filter conditions |
Example Request
GET /api/company/list?list_offset=0
X-API-KEY: {your_api_key}
/api/company/save
Save the company's basic details, contact information, and NAV Online settings.
POST Fields — data object
| Field | Type | Required | Description |
|---|---|---|---|
id | int | Company identifier (for updates) | |
name | string | Company name | |
email | string | Email address | |
telephone | string | Phone number | |
taxcode | string | Domestic tax number | |
taxcode_international | string | EU tax number (community) | |
website | string | Website URL | |
registration_number | string | Company registration number | |
bank_account | string | Bank account number | |
iban | string | IBAN bank account number | |
legal_entity_type_id | int | Legal entity type identifier | |
nav_online_api_url | string | NAV Online API URL | |
nav_online_username | string | NAV Online username | |
nav_online_password | string | NAV Online password | |
nav_online_sign_key | string | NAV Online signing key | |
nav_online_exchange_key | string | NAV Online exchange key |
Example Request
POST /api/company/save
X-API-KEY: {your_api_key}
Content-Type: application/json
{
"data": {
"id": 1,
"name": "Minta Kft.",
"taxcode": "12345678-2-41",
"email": "info@minta.hu"
}
}
/api/company/delete
Delete a company by identifier.
POST Fields — data object
| Field | Type | Required | Description |
|---|---|---|---|
id | int | Identifier of the company to delete |
Example Request
POST /api/company/delete
X-API-KEY: {your_api_key}
Content-Type: application/json
{ "data": { "id": 1 } }
Create your account now,
pay later!