Service Desk createAttachment API?

We have an important requirement to include attachment during creating new incident using Service Desk REST APIs.

I was able to execute createIncident API, but I was not able to execute attachment API following Solarwinds Service Desk documentation.

Questions:

1. What is correct curl or steps to execute Service Desk createAttachment API? I'm getting 404 Not Found error when I'm following API per Service Desk documentation: https://apidoc.samanage.com/#tag/Attachment [apidoc.samanage.com]

2. How to add an attachment to new incident created by Service Desk createIncident API?

Thank you