need to get ID of incident as soon as I create

I am using samanage API to close my incident using curl command. I need ID to run updateIncidentById to get this done. I would like to get ID as soon as I create incident. Documentation shows I can get ID but response is coming as blank.

curl -X POST api.samanage.com/incidents -H "X-Samanage-Authorization: Bearer $TOKEN"  -H "Content-Type: application/json" -H "Accept: application/vnd.samanage.v2.1+json" -d '{ "incident": { "name": "Testing 45 Incident - Safe to Close with no notes","priority": "Critical" ,"requester": { "email" : "sample@domain.com" },"assignee": { "email" : "sample1@domain.com" },"category": { "name" : "Incident" 

Response is coming as below. Expected response is json file with created incident details.

<html><body>You are being <a href="">api.samanage.com/.../html>

Parents Reply Children
No Data