Skip to content

Web to Lead


Hooks Common hooks: beforeSave afterSave beforeRemove afterRemove afterRelate afterUnrelate afterMassRelate Creating hook create a file custom/Espo/Custom/Hooks/{EntityName}/{HookName}.php; declare hook type action; clear Cache in Administration. Hook… Read More »Hooks

API Client – PHP

API Client – PHP API Client Implementation in PHP Usage Class Usage $client = new EspoApiClient(‘https://your-espocrm-site’); $client->setApiKey(‘API_KEY’); $response = $client->request(‘POST’, ‘Lead’, [ ‘firstName’ => ‘Test’,… Read More »API Client – PHP