Skip to content

API Integration ​

To keep your cartography up to date, you should automate asset ingestion from your existing tools using the REST API.

Requirements ​

  1. Go to My Account > API Keys.
  2. Generate a new API Key.
  3. Use this key as a Bearer token in the Authorization header of your HTTP requests.

Example Request ​

bash
curl -X POST https://your-server/api/ingest/assets \
  -H "Authorization: Bearer YOUR_API_KEY" \
  -H "Content-Type: application/json" \
  -d '[{"ip": "192.168.1.10", "type": "server", "name": "Web Server"}]'

CoreSight Documentation