How to use Cyberpanel API in Wordpress?

<?php

$data = array(
	"serverUserName"=> "admin",
	"controller"=>"submitUserCreation",
    "firstName"=>"Usman",
    "lastName"=>"Nasir",
    "email"=>"[email protected]",
    "userName"=>"usmannasir",
    "password"=> "cyberpanel",
    "websitesLimit"=>5,
    "selectedACL"=> "user"
);

$postdata = json_encode($data);

$curl = curl_init();

curl_setopt_array($curl, array(
  CURLOPT_URL => 'https://cp.supernovadatacentre.com/cloudAPI/',
  CURLOPT_RETURNTRANSFER => true,
  CURLOPT_ENCODING => '',
  CURLOPT_MAXREDIRS => 10,
  CURLOPT_TIMEOUT => 0,
  CURLOPT_FOLLOWLOCATION => true,
  CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
  CURLOPT_CUSTOMREQUEST => 'POST',
  CURLOPT_POSTFIELDS =>$postdata,
  CURLOPT_HTTPHEADER => array(
    'Authorization: Basic YWRtaW46cHp0eW5oZHVFa0kqNndzIw=='
  ),
));

$response = curl_exec($curl);

curl_close($curl);
echo $response;
?>

Change the base64 token appropriately with what you see on phpmyadmin