Base URL
https://{tenant}.logzi.com/api/crm_status/
Every request returns a JSON response. On success result.code == 1, on error result.code == 0. A CRM status marks the current state of a CRM activity (e.g. "In progress", "Closed", "Lost"). It has a customizable name and description.
/api/crm_status/get
Retrieve a single CRM status by identifier.
Query parameters
| Parameter | Type | Required | Description |
|---|---|---|---|
id | int | Identifier of the CRM status |
Example request
GET /api/crm_status/get?id=1
X-API-KEY: {your_api_key}
/api/crm_status/list
List of all CRM statuses.
No parameters required — returns all available statuses.
Example request
GET /api/crm_status/list
X-API-KEY: {your_api_key}
/api/crm_status/save
Create or update a CRM status. For a new status use data[id] = 0.
POST fields — data object
| Field | Type | Required | Description |
|---|---|---|---|
id | int | 0 = new status, >0 = update | |
status_name | string | Name of the status (e.g. "In progress") | |
status_desc | string | Description of the status |
Example request
POST /api/crm_status/save
X-API-KEY: {your_api_key}
Content-Type: application/json
{
"data": {
"id": 0,
"status_name": "Folyamatban",
"status_desc": "Az ügyfél tárgyalási fázisban van"
}
}
/api/crm_status/delete
Delete a CRM status by identifier.
POST fields — data object
| Field | Type | Required | Description |
|---|---|---|---|
id | int | Identifier of the status to delete |
Example request
POST /api/crm_status/delete
X-API-KEY: {your_api_key}
Content-Type: application/json
{ "data": { "id": 1 } }
Create your account now,
pay later!