API Integration
To keep your cartography up to date, you should automate asset ingestion from your existing tools using the REST API.
Requirements
- Go to My Account > API Keys.
- Generate a new API Key.
- Use this key as a Bearer token in the
Authorizationheader 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"}]'