invalid authotoken format error issue Zoho Subscription API

invalid authotoken format error issue Zoho Subscription API

Kindly find below given code.

 

    $uri = 'https://subscriptions.zoho.com/api/v1/organizations';

    $ch = curl_init($uri);

    curl_setopt_array($ch, array(

        CURLOPT_POST => 1,

        CURLOPT_CUSTOMREQUEST => "POST",

        CURLOPT_HTTPHEADER => array('Authorization: Zoho-authtoken 13879f7fd2ba9ee7aa3144771f593eb0’),

        CURLOPT_SSL_VERIFYPEER => false,

        // CURLOPT_POSTFIELDS => $data['JSONString'],

        CURLOPT_RETURNTRANSFER => true

    ));

    $out = curl_exec($ch);

    curl_close($ch);

    // echo response output

    echo '<pre>'; print_R($out); exit;

 

Can you please help me Is this code correct or I have missed something?