Hi, I created a trial account and needs to generate API keys, as per the documentation it should be there under settings, but I could not find it, please help.
Thanks in advance.
Hi, I created a trial account and needs to generate API keys, as per the documentation it should be there under settings, but I could not find it, please help.
Thanks in advance.
You can use username and password as well for authentication instead of API.
Can you send a sample curl request with username and password
Pechi
$ch = curl_init();
curl_setopt($ch, CURLOPT_HTTPHEADER,
array(
‘Content-Type: application/json’,
'Authorization: Basic ’ . base64_encode( “USERNAME:PASSWORD” )
)
);
$base_url = ‘https://api.ordoro.com’;
curl_setopt($ch, CURLOPT_URL,$base_url);
curl_setopt($ch, CURLOPT_HEADER, 1);
curl_setopt($ch, CURLOPT_TIMEOUT, 30);
curl_setopt($ch, CURLOPT_RETURNTRANSFER, TRUE);
$response = curl_exec($ch);
$httpcode = curl_getinfo($ch, CURLINFO_HTTP_CODE);
curl_close($ch);
API keys are automatically shown for Pro and Enterprise users. If you have an Express account, please contact Ordoro Support (support@ordoro.com) to get access. Thanks!