Documentation | API | Endpoints | Profile | Read
ProfileRead

The endpoint allows you to read all the clients/profiles. A json object is required to be posted as raw body. See example request, response objects and authentication process. The full API URL is :

POST https://authified.com/api/v1/profile/read

Query Parameters
Name Type Description
/offset int A valid integer offset value - (required)
/limit int A valid integer value in between 1 to 50 - (required)
Please, to send request.
{
    "offset": 0,
    "limit": 10
}
{
    "http_status_code": 200,
    "query_reference_id": "",
    "response_time": 0,
    "query_at": "",
    "total_count": 0,
    "offset": 0,
    "limit": 0,
    "filtered": 0,
    "profiles": [
        {
            "merchant_reference": "",
            "customer_id": "",
            "first_name": "",
            "middle_name": "",
            "last_name": "",
            "date_of_birth": "",
            "email_address": "",
            "mobile_number": "",
            "home_phone_number": "",
            "ip_address": "",
            "address_line_1": "",
            "address_line_2": "",
            "city": "",
            "state": "",
            "postal": "",
            "country": "",
            "amount": "",
            "driver_licence_id": "",
            "ssn": "",
            "status": "",
            "created_at": "",
            "updated_at": "",
            "customer_submitted_form_fields": {
                "email_address": "",
                "mobile_number": "",
                "address": "",
                "date_of_birth": "",
                "ssn": "",
                "created_at": "",
                "updated_at": ""
            }
        }
    ]
}

Last modified: 4 years ago
curl --location --request POST 'https://authified.com/api/v1/profile/read' \
--header 'Accept: application/json' \
--header 'Content-Type: application/json' \
--header 'Api-Key: ' \
--header 'Signature: ' \
--data-raw '{
    "offset": 0,
    "limit": 10,
}'
POST /api/v1/profile/read HTTP/1.1
Host: https://authified.com
Accept: application/json
Content-Type: application/json
Api-Key: 
Signature: 
Content-Length: 
{
    "offset": 0,
    "limit": 10,
}
var settings = {
    "url": "https://authified.com/api/v1/profile/read",
    "method": "POST",
    "timeout": 0,
    "headers": {
      "Accept": "application/json",
      "Content-Type": "application/json",
      "Api-Key": "",
      "Signature": ""
    },
    "data": JSON.stringify({"offset": 0,"limit": 10}),
  };
  
  $.ajax(settings).done(function (response) {
    console.log(response);
  });
var data = JSON.stringify({"offset": 0,"limit": 10});

var xhr = new XMLHttpRequest();
xhr.withCredentials = true;

xhr.addEventListener("readystatechange", function() {
  if(this.readyState === 4) {
    console.log(this.responseText);
  }
});

xhr.open("POST", "https://authified.com/api/v1/profile/read");
xhr.setRequestHeader("Accept", "application/json");
xhr.setRequestHeader("Content-Type", "application/json");
xhr.setRequestHeader("Api-Key", "");
xhr.setRequestHeader("Signature", "");

xhr.send(data);
<?php
$curl = curl_init();
curl_setopt_array($curl, array(
  CURLOPT_URL => "https://authified.com/api/v1/profile/read",
  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 =>'{
    "offset": 0,
    "limit": 10,
}',
  CURLOPT_HTTPHEADER => array(
    "Accept: application/json",
    "Content-Type: application/json",
    "Api-Key: ",
    "Signature: "
  ),
));
$response = curl_exec($curl);
$http_code = curl_getinfo($url, CURLINFO_HTTP_CODE);
curl_close($url);
if ($http_code === 200):
    echo $response;
else:
    echo "Un-expected server response http_code($http_code)<br/>$response";
endif;
<?php
require_once 'HTTP/Request2.php';
$request = new HTTP_Request2();
$request->setUrl('https://authified.com/api/v1/profile/read');
$request->setMethod(HTTP_Request2::METHOD_POST);
$request->setConfig(array(
  'follow_redirects' => TRUE
));
$request->setHeader(array(
  'Accept' => 'application/json',
  'Content-Type' => 'application/json',
  'Api-Key' => '',
  'Signature' => ''
));
$request->setBody('{\n "offset": 0,\n "limit": 10,\n}');
try {
  $response = $request->send();
  if ($response->getStatus() === 200) {
    echo $response->getBody();
  }
  else {
    echo 'Unexpected HTTP status: ' . $response->getStatus() . ' ' .
    $response->getReasonPhrase();
  }
}
catch(HTTP_Request2_Exception $e) {
  echo 'Error: ' . $e->getMessage();
}