Service Desk create incident REST API response issue

I am making Service Desk REST API call that creates an incident for our new project using POST API.
It works fine, but I need to also to add attachment to the new incident.
I have issue that the response of POST API does not return incident ID of just created new incident.
The create incident API has a large html response but there is no ID of just created incident. D
Does anybody has any information about how to get incident ID of just created incident by API?