URL for a request
Method
GET
Incoming Parameters
| Parameter | Type | Required | Description |
|---|---|---|---|
| api_token | string | Yes | API token for access |
| id | int | No | Domain ID |
| domain | string | No | Domain name |
| is_default | bool | No | Get the default domain. [0, 1] |
| my | bool | No | Only my domains - 1 |
| status | int | No | Domain Activity. Possible options:
|
| server_ip | string | No | IP of the server to which the domain is linked |
Return values
The server returns a response in JSON format. The list of parameters depends on the server response code:
Request example
curl 'https://firelinks.cc/api/out/domains/list?api_token=W9DtD7JtyHI7nPj8eEWul2pVkcobE62IHaHi3n8ClQdogBGZe6n70fIgTH3u'
Response example 200
{
"success": true,
"data": [
{
"id": 1,
"domain": "cuti.cc",
"is_subdomain": 0,
"parent_domain_id": 0,
"sub_only": 0,
"is_default": 1,
"status": 1,
"domain_status": 3,
"premium": 0,
"used": 0,
"scan_result": null,
"server_ip": "1.1.1.1",
"default_url": null,
"created_at": "2022-08-24T16:10:14.000000Z",
"expire_date": null
}
]
}
Response example 422
{
"success": false,
"errors": "Validation errors",
"data": {
"id": [
"The id field must be an integer."
]
}
}