CRM Source API

Managing CRM lead source types

Base URL

https://{tenant}.logzi.com/api/crm_source/

Every request returns a JSON response. On success result.code == 1, on error result.code == 0. A CRM source indicates the origin of a lead (e.g. website, phone, referral). It has a customizable name and description.

GET /api/crm_source/get

Retrieve a single CRM source by identifier.

Query parameters

ParameterTypeRequiredDescription
idintIdentifier of the CRM source

Example request

GET /api/crm_source/get?id=1
X-API-KEY: {your_api_key}
GET /api/crm_source/list

List of all CRM sources.

No parameters required — returns all available sources.

Example request

GET /api/crm_source/list
X-API-KEY: {your_api_key}
POST /api/crm_source/save

Create or update a CRM source. For a new source use data[id] = 0.

POST fields — data object

FieldTypeRequiredDescription
idint0 = new source, >0 = update
source_namestringName of the source (e.g. "Website")
source_descstringDescription of the source

Example request

POST /api/crm_source/save
X-API-KEY: {your_api_key}
Content-Type: application/json

{
  "data": {
    "id": 0,
    "source_name": "Weboldal",
    "source_desc": "Kapcsolatfelvételi űrlapon keresztül"
  }
}
POST /api/crm_source/delete

Delete a CRM source by identifier.

POST fields — data object

FieldTypeRequiredDescription
idintIdentifier of the source to delete

Example request

POST /api/crm_source/delete
X-API-KEY: {your_api_key}
Content-Type: application/json

{ "data": { "id": 1 } }

Get in touch with us

Interested in our software? Feel free to write to us!

Need help?

If you can't find the answer and need assistance

Create your account now,
pay later!

Try it free for 3 days, no risk, no obligation!