Header

Body Params

LANGUAGE


<?php

$curl = curl_init();

curl_setopt_array($curl, array(
  CURLOPT_URL => 'https://api.cripsa.com/v2/sessionmgt/userinfofromaccesstoken',
  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 =>'{
  "access_token": "eyJraWQiOiJDRlpZd0FWV21iUFZKQTY0bDNVcEFFMmk3K01Va2Myb01neWxKVDVGT0RFPSIsImFsZyI6IlJTMjU2In0.eyJzdWIiOiIyNGU4NTRlOC02MGMxLTcwMWYtMTdlYi1hMWY0M2RkNmM4NjgiLCJjb2duaXRvOmdyb3VwcyI6WyJ1c2VyIl0sImlzcyI6Imh0dHBzOlwvXC9jb2duaXRvLWlkcC51cy1lYXN0LTEuYW1hem9uYXdzLmNvbVwvdXMtZWFzdC0xX2hpN2d0S0t0dCIsInZlcnNpb24iOjIsImNsaWVudF9pZCI6IjJrMHQ4M201YnMybzJka2tnaG83YXI5NTlpIiwib3JpZ2luX2p0aSI6Ijg5OTMzMzZjLTQ5ZDgtNDk0My1hMTRmLTNiMTg3YjA2MTk4NSIsImV2ZW50X2lkIjoiOWE4NzQwMzktZGNmMS00NzdkLWExYjktMjZjNmIyMDRhZGRmIiwidG9rZW5fdXNlIjoiYWNjZXNzIiwic2NvcGUiOiJhd3MuY29nbml0by5zaWduaW4udXNlci5hZG1pbiBwaG9uZSBvcGVuaWQgcHJvZmlsZSBlbWFpbCIsImF1dGhfdGltZSI6MTY5MTkyNDY5MiwiZXhwIjoxNjkyMDExMDkyLCJpYXQiOjE2OTE5MjQ2OTIsImp0aSI6ImQyZTQzN2E2LTZmODEtNDEzMC1hMjhiLTAyYzIxZjc3ODY2OCIsInVzZXJuYW1lIjoiMjRlODU0ZTgtNjBjMS03MDFmLTE3ZWItYTFmNDNkZDZjODY4In0.TXYCul6eLDED_WS675Q5QitretROOUAIjHlZy5zZCozet6ul2E88BWrGB_bhT3EQneRmrCNIsEJvxSMOcXkl4Gsnt7hAAvppP3lsGYNtBv81UIbB5-H-py4DRAdoKB66jG9_LgPVKFHSJ6lfcao2DA_qhsSfyqmUUjOWWRYtY1cWey0TMLJBlKQyvOE1hbeBsONHX_YiownfevQtZLXgvIIDZMEOx6e8GX4FkkkhzlG_yJLmMSGtl8kMyIj9iLMiXAHgXDUhMya2SdheGPXwKDEdI_nD1lUb0QPP2iJ6pm8v6Hweah-NPJHfwyyElSvZa-rNFe9C7r5i4HeDj-X0Nw",
  "userPoolId": "us-east-1_YxibdcU8O",
  "region": "us-east-1"
}',
  CURLOPT_HTTPHEADER => array(
    'x-api-key: BGRaldKNhtqqzRWB76imaVZFTEVsfPKF1OF4pSa0',
    'Content-Type: application/json'
  ),
));

$response = curl_exec($curl);

curl_close($curl);
echo $response;