Welcome to the Blacklist System API documentation. This API allows you to interact with our blacklist database system.
Base URL: https://blacklist.allme.dev
Currently, this API require authentication. x-apikey
These endpoints require authentication using an API key passed in the x-apikey
header.
https://blacklist.allme.dev/user/show
Header | Value | Required | Description |
---|---|---|---|
x-apikey |
string | Yes | Your API key |
Content-Type |
application/json | Yes | Request body format |
Parameter | Type | Required | Description |
---|---|---|---|
page |
integer | Yes | Page number for pagination |
limit |
integer | Yes | Number of records per page |
search |
string | No | Search query string |
<?php
$curl = curl_init();
curl_setopt_array($curl, array(
CURLOPT_URL => 'https://blacklist.allme.dev/user/show',
CURLOPT_RETURNTRANSFER => true,
CURLOPT_POST => true,
CURLOPT_HTTPHEADER => array(
'Content-Type: application/x-www-form-urlencoded',
'x-apikey: YOUR_API_KEY'
),
CURLOPT_POSTFIELDS => http_build_query(array(
'page' => 1,
'limit' => 100,
'search' => ''
))
));
$response = curl_exec($curl);
$error = curl_error($curl);
curl_close($curl);
if ($error) {
echo "Error: " . $error;
} else {
echo $response;
}
fetch('https://blacklist.allme.dev/user/show', {
method: 'POST',
headers: {
'Content-Type': 'application/x-www-form-urlencoded',
'x-apikey': 'YOUR_API_KEY'
},
body: new URLSearchParams({
page: 1,
limit: 100,
search: ''
})
})
.then(response => response.json())
.then(data => console.log(data))
.catch(error => console.error('Error:', error));
$.ajax({
url: 'https://blacklist.allme.dev/user/show',
type: 'POST',
headers: {
'x-apikey': 'YOUR_API_KEY'
},
data: {
page: 1,
limit: 100,
search: ''
},
success: function(response) {
console.log(response);
},
error: function(xhr, status, error) {
console.error('Error:', error);
}
});
const axios = require('axios');
const showUsers = async () => {
try {
const response = await axios({
method: 'post',
url: 'https://blacklist.allme.dev/user/show',
headers: {
'x-apikey': 'YOUR_API_KEY'
},
data: {
page: 1,
limit: 100,
search: ''
}
});
console.log(response.data);
} catch (error) {
console.error('Error:', error);
}
};
const request = require('request');
const options = {
url: 'https://blacklist.allme.dev/user/show',
method: 'POST',
headers: {
'x-apikey': 'YOUR_API_KEY'
},
form: {
page: 1,
limit: 100,
search: ''
}
};
request(options, (error, response, body) => {
if (error) {
console.error('Error:', error);
return;
}
console.log('Response:', body);
});
https://blacklist.allme.dev/user/check
Header | Value | Required | Description |
---|---|---|---|
x-apikey |
string | Yes | Your API key |
Content-Type |
application/json | Yes | Request body format |
Parameter | Type | Required | Description |
---|---|---|---|
name |
string | Yes | Full name to check |
phone |
string | No | Phone number to check |
bank_number |
string | No | Bank account number to check |
<?php
$curl = curl_init();
curl_setopt_array($curl, array(
CURLOPT_URL => 'https://blacklist.allme.dev/user/check',
CURLOPT_RETURNTRANSFER => true,
CURLOPT_POST => true,
CURLOPT_HTTPHEADER => array(
'Content-Type: application/x-www-form-urlencoded',
'x-apikey: YOUR_API_KEY'
),
CURLOPT_POSTFIELDS => http_build_query(array(
'name' => 'UserTest',
'phone' => '77888888',
'bank_number' => '8888888888'
))
));
$response = curl_exec($curl);
$error = curl_error($curl);
curl_close($curl);
if ($error) {
echo "Error: " . $error;
} else {
echo $response;
}
const params = new URLSearchParams({
name: 'UserTest',
phone: '77888888',
bank_number: '8888888888'
});
fetch('https://blacklist.allme.dev/user/check', {
method: 'POST',
headers: {
'Content-Type': 'application/x-www-form-urlencoded',
'x-apikey': 'YOUR_API_KEY'
},
body: params
})
.then(response => response.json())
.then(data => console.log(data))
.catch(error => console.error('Error:', error));
$.ajax({
url: 'https://blacklist.allme.dev/user/check',
type: 'POST',
headers: {
'x-apikey': 'YOUR_API_KEY'
},
data: {
name: 'UserTest',
phone: '77888888',
bank_number: '8888888888'
},
success: function(response) {
console.log(response);
},
error: function(xhr, status, error) {
console.error('Error:', error);
}
});
const axios = require('axios');
const qs = require('qs');
const checkUser = async () => {
try {
const response = await axios({
method: 'post',
url: 'https://blacklist.allme.dev/user/check',
headers: {
'x-apikey': 'YOUR_API_KEY',
'Content-Type': 'application/x-www-form-urlencoded'
},
data: qs.stringify({
name: 'UserTest',
phone: '77888888',
bank_number: '8888888888'
})
});
console.log(response.data);
} catch (error) {
console.error('Error:', error);
}
};
const request = require('request');
const options = {
url: 'https://blacklist.allme.dev/user/check',
method: 'POST',
headers: {
'x-apikey': 'YOUR_API_KEY'
},
form: {
name: 'UserTest',
phone: '77888888',
bank_number: '8888888888'
}
};
request(options, (error, response, body) => {
if (error) {
console.error('Error:', error);
return;
}
console.log('Response:', body);
});
https://blacklist.allme.dev/user/add
Header | Value | Required | Description |
---|---|---|---|
x-apikey |
string | Yes | Your API key |
Content-Type |
application/json | Yes | Request body format |
Parameter | Type | Required | Description |
---|---|---|---|
first_name |
string | Yes | User's first name |
last_name |
string | Yes | User's last name |
phone |
string | Yes | Contact phone number |
line |
string | Yes | LINE ID |
note |
string | Yes | Additional notes |
bank_number |
string | Yes | Bank account number |
<?php
$curl = curl_init();
$data = array(
'first_name' => 'UserTest',
'last_name' => 'Blacklist',
'phone' => '77888888',
'line' => '77888888',
'note' => '77888888',
'bank_number' => '8888888888'
);
curl_setopt_array($curl, array(
CURLOPT_URL => 'https://blacklist.allme.dev/user/add',
CURLOPT_RETURNTRANSFER => true,
CURLOPT_POST => true,
CURLOPT_HTTPHEADER => array(
'Content-Type: application/x-www-form-urlencoded',
'x-apikey: YOUR_API_KEY'
),
CURLOPT_POSTFIELDS => http_build_query($data)
));
$response = curl_exec($curl);
$error = curl_error($curl);
curl_close($curl);
if ($error) {
echo "Error: " . $error;
} else {
echo $response;
}
const params = new URLSearchParams({
first_name: 'UserTest',
last_name: 'Blacklist',
phone: '77888888',
line: '77888888',
note: '77888888',
bank_number: '8888888888'
});
fetch('https://blacklist.allme.dev/user/add', {
method: 'POST',
headers: {
'Content-Type': 'application/x-www-form-urlencoded',
'x-apikey': 'YOUR_API_KEY'
},
body: params
})
.then(response => response.json())
.then(data => console.log(data))
.catch(error => console.error('Error:', error));
$.ajax({
url: 'https://blacklist.allme.dev/user/add',
type: 'POST',
headers: {
'x-apikey': 'YOUR_API_KEY'
},
data: {
first_name: 'UserTest',
last_name: 'Blacklist',
phone: '77888888',
line: '77888888',
note: '77888888',
bank_number: '8888888888'
},
success: function(response) {
console.log(response);
},
error: function(xhr, status, error) {
console.error('Error:', error);
}
});
const axios = require('axios');
const qs = require('qs');
const addUser = async () => {
try {
const response = await axios({
method: 'post',
url: 'https://blacklist.allme.dev/user/add',
headers: {
'Content-Type': 'application/x-www-form-urlencoded',
'x-apikey': 'YOUR_API_KEY'
},
data: qs.stringify({
first_name: 'UserTest',
last_name: 'Blacklist',
phone: '77888888',
line: '77888888',
note: '77888888',
bank_number: '8888888888'
})
});
console.log(response.data);
} catch (error) {
console.error('Error:', error);
}
};
const request = require('request');
const options = {
url: 'https://blacklist.allme.dev/user/add',
method: 'POST',
headers: {
'x-apikey': 'YOUR_API_KEY'
},
form: {
first_name: 'UserTest',
last_name: 'Blacklist',
phone: '77888888',
line: '77888888',
note: '77888888',
bank_number: '8888888888'
}
};
request(options, (error, response, body) => {
if (error) {
console.error('Error:', error);
return;
}
console.log('Response:', body);
});
https://blacklist.allme.dev/user/delete
Header | Value | Required | Description |
---|---|---|---|
x-apikey |
string | Yes | Your API key |
Content-Type |
application/json | Yes | Request body format |
Parameter | Type | Required | Description |
---|---|---|---|
first_name |
string | Yes | User's first name |
last_name |
string | Yes | User's last name |
<?php
$curl = curl_init();
$data = array(
'first_name' => 'UserTest',
'last_name' => 'Blacklist'
);
curl_setopt_array($curl, array(
CURLOPT_URL => 'https://blacklist.allme.dev/user/delete',
CURLOPT_RETURNTRANSFER => true,
CURLOPT_CUSTOMREQUEST => 'DELETE',
CURLOPT_HTTPHEADER => array(
'Content-Type: application/x-www-form-urlencoded',
'x-apikey: YOUR_API_KEY'
),
CURLOPT_POSTFIELDS => http_build_query($data)
));
$response = curl_exec($curl);
$error = curl_error($curl);
curl_close($curl);
if ($error) {
echo "Error: " . $error;
} else {
echo $response;
}
const params = new URLSearchParams({
first_name: 'UserTest',
last_name: 'Blacklist'
});
fetch('https://blacklist.allme.dev/user/delete', {
method: 'DELETE',
headers: {
'Content-Type': 'application/x-www-form-urlencoded',
'x-apikey': 'YOUR_API_KEY'
},
body: params
})
.then(response => response.json())
.then(data => console.log(data))
.catch(error => console.error('Error:', error));
$.ajax({
url: 'https://blacklist.allme.dev/user/delete',
type: 'DELETE',
headers: {
'x-apikey': 'YOUR_API_KEY'
},
data: {
first_name: 'UserTest',
last_name: 'Blacklist'
},
success: function(response) {
console.log(response);
},
error: function(xhr, status, error) {
console.error('Error:', error);
}
});
const axios = require('axios');
const qs = require('qs');
const deleteUser = async () => {
try {
const response = await axios({
method: 'delete',
url: 'https://blacklist.allme.dev/user/delete',
headers: {
'Content-Type': 'application/x-www-form-urlencoded',
'x-apikey': 'YOUR_API_KEY'
},
data: qs.stringify({
first_name: 'UserTest',
last_name: 'Blacklist'
})
});
console.log(response.data);
} catch (error) {
console.error('Error:', error);
}
};
const request = require('request');
const options = {
url: 'https://blacklist.allme.dev/user/delete',
method: 'DELETE',
headers: {
'x-apikey': 'YOUR_API_KEY'
},
form: {
first_name: 'UserTest',
last_name: 'Blacklist'
}
};
request(options, (error, response, body) => {
if (error) {
console.error('Error:', error);
return;
}
console.log('Response:', body);
});