GET https://api.sensibot.io/assistant
Headers
[
'Content-Type: application/json',
'Authorization: Bearer {YOUR_API_TOKEN} >'
]
Success Response Format
Field | Type | Description |
---|---|---|
status | Number |
List of Codes |
data | Array |
Array of data |
Error Response Format
Name | Type | Description |
---|---|---|
status | Number |
List of Codes |
message | String |
Response message |
data | Array |
Array of data |
PHP Example
$curl = curl_init();
curl_setopt_array($curl, array(
CURLOPT_URL => 'https://api.sensibot.io/assistant',
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => '',
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 0,
CURLOPT_FOLLOWLOCATION => true,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => 'GET',
CURLOPT_POSTFIELDS =>'{
}',
CURLOPT_HTTPHEADER => array(
'Content-Type: application/json',
'Authorization: Bearer {YOUR_API_TOKEN}'
),
));
$response = curl_exec($curl);
curl_close($curl);
echo $response;