Exposure Management

List attack surfaces

Changed on

Retrieve the attack surfaces for your organization. Most organizations will have only one.<br><br>This endpoint does not cost credits to execute.

get/v1/attacksurfaces

Request

  • Base URL
    https://api.platform.censys.io
  • URL
    https://api.platform.censys.io/v1/attacksurfaces
  • Auth
    HTTP bearer

Query parameters

organization_idstring uuid required

The ID of a Censys organization to associate the request with. See the Getting Started docs for more information.

Example:11111111-2222-3333-4444-555555555555
page_sizeinteger

Maximum number of attack surfaces to return per page.

page_tokenstring

Pagination token from a previous response to retrieve the next page of results.

Headers

X-Organization-IDstring uuid

The ID of a Censys organization to associate the request with. See the Getting Started docs for more information. Note: The header parameter is supported for atypical use cases; we recommend always providing this field via the query parameter.

Example:11111111-2222-3333-4444-555555555555

Response

Attack surfaces listed successfully

Example response

{
  "result": {
    "attack_surfaces": [
      {
        "id": "11111111-2222-3333-4444-555555555555"
      }
    ]
  }
}

Changes