Header

Body Params

LANGUAGE


<?php

$curl = curl_init();

curl_setopt_array($curl, array(
  CURLOPT_URL => 'https://api.cripsa.com/v2/sessionmgt/verifyaccesstoken',
  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": "eyJraWQiOiJlOVwvbHZcL1RGRkx1bElhdFErTVRSbmFjZ3NCTVF4cldlT29OZjRIZTVISHM9IiwiYWxnIjoiUlMyNTYifQ.eyJzdWIiOiIyOTRiNGUyOS0yNmQyLTRmNGUtOWYwMC02YWFjMDAyNDdiMmIiLCJjb2duaXRvOmdyb3VwcyI6WyJ1c2VyIl0sImlzcyI6Imh0dHBzOlwvXC9jb2duaXRvLWlkcC51cy1lYXN0LTEuYW1hem9uYXdzLmNvbVwvdXMtZWFzdC0xX1l4aWJkY1U4TyIsInZlcnNpb24iOjIsImNsaWVudF9pZCI6IjZlNTByNGFtbmxxNHBhMnQ0bTE2bXIwajdvIiwib3JpZ2luX2p0aSI6ImZkYzg1YWYzLTliNmEtNGZiOS05MjUxLWRkYzc0Mjg3NGFhOCIsImV2ZW50X2lkIjoiM2NlZjIwMTktYjhjNC00M2E3LTg3MDgtOThjOTI4ZmNmOGM0IiwidG9rZW5fdXNlIjoiYWNjZXNzIiwic2NvcGUiOiJhd3MuY29nbml0by5zaWduaW4udXNlci5hZG1pbiBwaG9uZSBvcGVuaWQgcHJvZmlsZSBlbWFpbCIsImF1dGhfdGltZSI6MTY5MTgzNjA2NSwiZXhwIjoxNjkxOTIyNDY1LCJpYXQiOjE2OTE4MzYwNjUsImp0aSI6ImM2OTZiZjNlLThjNWUtNDJjNC1iM2I5LTQxMmUxZWZjNTZhMyIsInVzZXJuYW1lIjoiMjk0YjRlMjktMjZkMi00ZjRlLTlmMDAtNmFhYzAwMjQ3YjJiIn0.H_Rm_wR4-3NmHggVrbQsgj2qhfFAsblFBVhF46zu-OmRmZ8YVKfX1tqtT3D8V3ZBMBQrPIguoJevAjDgOb6wyGh1N5qWDkvTFysgGeCduj4f7no9GPA6lkOle2C1voPnCkJNBQK9-Z4b0SBOJTumROBCFD2gutDSB7rru-1132aA4ujl-eISkGRHWQQLkDQhlaG3xsjwCrA0Yfr4tNmS3O_rlXArcqdhgsSvOtfx85Klm-9yiF-nWiKiYE9YRgyN-8iCjLu_BEAqlIYTxzT6B2Tp5H356HldmqblVjB8eseCUD2_nPJBZog8JcEuYxtypsOZFwXx81EUVdHDpKfvtg",
  "clientId": "6e50r4amnlq4pa2t4m16mr0j7o",
  "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;