agile crm - Add contacts using PHP Api with AgileCRM -
i have implemented on add contact agilecrm php api
in agile_curl_wrap
function, have provided 3 requirements domain, user , api_key after clicking submit, got 401 unauthorize
response back.
i'm sure have set requirement needed api. got stuck in step.
thank in advance helps.
you can check gist i've created show how works. replace strings on both files , go on!
in agilecrm php wrap replace:
define("agile_domain", "yourdomain"); define("agile_user_email", "youremail"); define("agile_rest_api_key", "yourapikey");
in agilecrm php wrap usage replace:
$email = "some@email.com";
and must work!
Comments
Post a Comment