curl --request GET \
--url https://api.projectdiscovery.io/v1/asset/{asset_id} \
--header 'X-API-Key: <api-key>'
{
"id": 123,
"enumeration_id": "<string>",
"name": "<string>",
"created_at": "2023-11-07T05:31:56Z",
"updated_at": "2023-11-07T05:31:56Z",
"status_code": 123,
"technologies": [
"<string>"
],
"webserver": "<string>",
"request": "<string>",
"response": "<string>",
"cname": [
"<string>"
],
"labels": [
"<string>"
],
"ip": "<string>",
"content_length": 123,
"title": "<string>",
"host": "<string>",
"port": 123,
"technology_details": "<string>",
"is_new": true,
"body": "<string>"
}
curl --request GET \
--url https://api.projectdiscovery.io/v1/asset/{asset_id} \
--header 'X-API-Key: <api-key>'
{
"id": 123,
"enumeration_id": "<string>",
"name": "<string>",
"created_at": "2023-11-07T05:31:56Z",
"updated_at": "2023-11-07T05:31:56Z",
"status_code": 123,
"technologies": [
"<string>"
],
"webserver": "<string>",
"request": "<string>",
"response": "<string>",
"cname": [
"<string>"
],
"labels": [
"<string>"
],
"ip": "<string>",
"content_length": 123,
"title": "<string>",
"host": "<string>",
"port": 123,
"technology_details": "<string>",
"is_new": true,
"body": "<string>"
}
Retrieve the Team ID from: https://cloud.projectdiscovery.io/settings/team
Example response
The response is of type object
.
Was this page helpful?