Community Hub

Vtiger CRM Community

A community for everyone exploring the Vtiger ecosystem. Learn, share knowledge, exchange experiences, ask questions, and help each other better understand Vtiger.

Join to post → Browse discussions ↓

🔌 API

30 discussions with real solutions from the Vtiger CRM community

🔍
All (280) 💬 General (235) 🔌 API (30) 📱 Mobile (15) 📱 Mobile App (0)
🔌
API Rest
Could someone help me how to develop an API or if there is an API module for version 7.4 to connect with third-party systems?
API 👤 fabioleite
✓ Answered
🔌
Intergrade with DeepSeek R1
I wondering can Vtiger intergrade the DeekSeek R1 as a API like REST? If it able to do so, any guide that can try?
API 👤 munxuan
🔌
Unable to Create User via WebService API - roleid Issue
Hello everyone, I'm trying to create a new user through the WebService API in Vtiger 8.3.0, but I'm encountering an issue with th
API 👤 emaida
✓ Answered
🔌
Regarding API Management
Do we have an API access on the self hosted VTiger instance?
API 👤 mynewopportunities
✓ Answered
🔌
Restfull API events create error code : "REFERENCE_INVALID","message":"Invalid reference contact_id
Hello, I try to integrate PBX and Vtiger 7.1.0 using Restful API, but I having error message when posting the Event call repor
API 👤 dhanasugiri
✓ Answered
🔌
Cannot set overall discount on sales order by API
curl --data 'operation=revise&sessionName='$sessionName'&element=%7B%22id%22:%226x1059807%22,%22hdnDiscountAmount%22:%2227.270
API 👤 mounty
🔌
API
hi, Can anyone tell me where I can find the API module, is it available in the open source version? Thanks
API 👤 kklo
✓ Answered
🔌
Google maps preview image not showing in Vtiger CRM 7.1
I have tried applying the fixes stated at https://discussions.vtiger.com/discussion/182379/google-maps-preview-image-not-showing a
API 👤 sincron
✓ Answered
🔌
Configure API
I want to configure the API, but I can't find it. I use vTiger v 8.2.0 Can anyone help me? Thanks kklo
API 👤 kklo
✓ Answered
🔌
Vtiger CRM Not Able Sync Google Calendar
I have successfully configured the Google API. When I opened Vtiger and start for email login, it prompted the error message: "Ill
API 👤 munxuan

Vtiger CRM Knowledge Base

13 detailed articles across 6 categories — with real SQL, PHP, and config fixes

🔄
Workflows
Cron scheduler locked at RUNNING — every timed workflow stops silently
After a PHP timeout or server restart, the scheduler lock flag is never cleared. All timed workflows stop without a single error in the log.
Read solution
🔄
Workflows
Workflow "Send Email" silently skipped when recipient is a field variable
Setting the To address to a field variable like {contacts.email} causes the entire action to skip — no error, no log entry, no email delivered.
Read solution
🔄
Workflows
"Expression Invalid" with preg_replace_str_only in workflow conditions
Using preg_replace_str_only() inside a workflow condition formula throws "Expression Invalid" even when the regex is correct, halting the entire workflow.
Read solution
🔄
Workflows
Workflow Actions tab renders completely blank after upgrading to Vtiger 8.1
After upgrading to 8.1 or 8.2, existing workflows show an empty Actions tab — tasks are still in the database but nothing renders because a column is too short.
Read solution
📧
Email
Email merge fields arrive as raw placeholders in Outlook and Gmail
Emails sent from Vtiger arrive with {contacts.firstname} instead of the actual name. The preview inside Vtiger looks correct — only sent emails are broken.
Read solution
📧
Email
Mail Manager inbox blank or spinning forever after connecting Office 365
After saving Office 365 IMAP credentials, the inbox shows zero messages or loads indefinitely — even though the same credentials work fine in Outlook and Thunderbird.
Read solution
🗄️
Database
DATABASE_QUERY_ERROR when creating records — editing existing ones works fine
Creating Leads, Events, or custom-module records returns {"code":"DATABASE_QUERY_ERROR"}. The error is generic, but almost always one of three root causes.
Read solution
🗄️
Database
MySQL 5.7 / 8.0 strict mode breaks Vtiger inserts — the correct sql_mode to set
After a MySQL upgrade, various Vtiger write operations fail silently. The culprit is the strict sql_mode enabled by default since MySQL 5.7.
Read solution
🔌
API
INVALID_AUTH_TOKEN on Vtiger login — the exact cause and how to fix it
The /webservice.php?operation=login call returns INVALID_AUTH_TOKEN even with correct credentials. Almost always a subtle MD5 construction mistake.
Read solution
🔌
API
Vtiger API session expires silently after 15–30 minutes of inactivity
Your integration works perfectly at first, then starts returning auth errors with no warning after a period of inactivity. Sessions are not automatically renewed.
Read solution
📦
Inventory
Product stock quantity not decremented when a Sales Order is created
Creating a Sales Order with line items does not reduce the available stock. This is by design in the community edition — but here are the workarounds.
Read solution
⚙️
Setup
HTTP 500 after switching to French or another non-English language pack
Selecting a non-English language from Settings → CRM Settings crashes everything with a 500 error. The only recovery is reverting the language directly in MySQL.
Read solution
⚙️
Setup
Installed modules missing from the main navigation menu after install
After installing an extension, one or more modules are absent from the top navigation even though they are visible and active in Module Manager.
Read solution

Community Posts

10 posts from our members

Join to post →
Sep 25, 2026
Vtiger offline sync deep dive — conflict resolution explained
Explaining the delta sync algorithm we use when a contact is modified both on device and on server simultaneously. The key challenge is detecting true conflicts
Sep 25, 2026
Connecting Odoo 17 JSON-RPC from a React Native app
Step-by-step guide to authenticating with Odoo 17 using JSON-RPC, querying the CRM pipeline, and writing records back from a mobile app...
Sep 25, 2026
Custom module fields in Vtiger Webservices — the complete guide
Accessing custom fields via the Webservices API requires you to first query the metadata endpoint. Here is how to discover and interact with custom Vtiger modul
Sep 25, 2026
VQL query optimization tips — speed up your Vtiger API calls
After working with the Vtiger API for 3 years, here are the VQL patterns that actually make a difference to performance in production...
Sep 25, 2026
Building push notifications for Vtiger deal stage changes
We built a custom webhook listener on our server that fires FCM/APNs notifications when a deal moves to Closing stage...
Sep 25, 2026
SuiteCRM V8 API OAuth2 flow — working code samples
The V8 API is a big improvement over SOAP but the OAuth2 setup still trips people up. Here is a full working example...
Sep 25, 2026
Built a WhatsApp → Vtiger lead capture integration
Sharing our setup: incoming WhatsApp messages via 360dialog API automatically create Leads in Vtiger via Webservices. Here is the full architecture...
Sep 25, 2026
Multi-company Odoo setup with opencrmapps
If you have multiple Odoo databases (one per subsidiary), here is how to configure the app to switch contexts seamlessly...
Oct 4, 2026
need help
need help
Sep 25, 2026
maange contact
how manage contacts in crm