GET / blacklist-contacts/import/details
Base URL: https://backend.easify.app/api/v3
The endpoint is used to retrieve the details of a single blacklist import history based on ID.
There is a rate limit of 60 requests per minute. If you exceed this limit, you will receive a 429 Too Many Requests status, along with a message indicating when you can try again.
Authentication
The Easify API token used for authentication is passed in the header as a Bearer token, which can be obtained from the Easify app under Settings > API Settings.
Headers
Authorization string required Bearer << YOUR_EASIFY_API_TOKEN_HERE >>
Query Parameters
blacklist_contact_import_id integer |
ID of the import history to be retrieved Can be found in the response of blacklist-contacts/import and blacklist-contacts/import/list APIs.
|
Required |
Sample Params and Response:
params
{
"blacklist_contact_import_id": 1
}
Success Response:
{
"status": true,
"message": "Blacklist contact import details",
"data": {
"id": 1,
"file_name": "blacklist_import.csv",
"status": "Completed",
"progress_percentage": 100,
"total_count": 2,
"skipped_count": 2,
"stored_count": 0,
"created_at": "07-22-2025 02:20:17 AM"
}
}
Api Response Status
Case | Status Code | Response |
---|---|---|
If the user does not provide a token in the header or provides an invalid token | 401 |
{
"status":false,
"message":
"Unauthenticated",
"errors": []
}
|
If the user exceeds the allowed rate limit for requests | 429 |
{
"status":false,
"message":"Too many requests. Try again in 59 seconds",
"errors":[]
}
|
If the user's subscription has ended | 402 |
{
"status":false,"message":"You need to recharge your account to proceed","errors":[]
}
|
If an invalid ID is sent | 400 |
{
"status": true,
"message": "Invalid blacklist contact import id",
"data": []
}
|
If the limit exceeds maximum value | 422 |
{
"message": "The blacklist contact import id field is required.",
"errors": {
"blacklist_contact_import_id": [
"The blacklist contact import id field is required."
]
}
}
|
PHP-cURL
php
$curl = curl_init();
curl_setopt_array($curl, array(
CURLOPT_URL => 'https://backend.easify.app/api/v3/blacklist-contacts/import/details?blacklist_contact_import_id=',
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 => array('blacklist_contact_import_id' => '1'),
CURLOPT_HTTPHEADER => array(
'Accept: application/json',
'Authorization: Bearer '
),
));
$response = curl_exec($curl);
curl_close($curl);
echo $response;