Skip to content

Latest commit

 

History

History
76 lines (63 loc) · 1.1 KB

api_allowlist.md

File metadata and controls

76 lines (63 loc) · 1.1 KB

API > Allowlist > IP

Request Example

cURL

curl -H 'Authorization: <ipv4>' \
-X GET 'https://api.celltek.space/allowlist/ip'

PHP

$ch = curl_init();
curl_setopt($ch, CURLOPT_URL, 'https://api.celltek.space/allowlist/ip');
curl_setopt($ch, CURLOPT_HTTPHEADER, [
  'Authorization: <ipv4>'
]);
curl_close($ch);
{
	"response":{
		"status": <boolean>,
		"ipv4": "<ipv4>",
		"time": <timestamp>
	}
}

API > Allowlist > Domain

Request Example

cURL

curl -H 'Authorization: <domain>' \
-X GET 'https://api.celltek.space/allowlist/domain'

PHP

$ch = curl_init();
curl_setopt($ch, CURLOPT_URL, 'https://api.celltek.space/allowlist/domain');
curl_setopt($ch, CURLOPT_HTTPHEADER, [
  'Authorization: <domain>'
]);
curl_close($ch);
{
	"response":{
		"status": <httpstatus>,
		"domain": "<domain>",
		"tekbase":{
			"url": "<domain>",
			"dir": "<dir>"
		},
		"money":{
			"money": <number>
		},
		"extensions":{
			<list>
		}
	}
}