You can view your instances from browser's (F12) function.
By pressing F12, the separated screen for debugging in the browser.
On "network" tab, you'll see your requests in detail for the interactions in your browser.
In incident attachment tab, just upload a file. Then you'll see the POST request whose file column is "attachments".
The concrete network traffic may be referred how SOAR handles attachment files.
------------------------------
Yohji Amano
------------------------------
Original Message:
Sent: Tue December 14, 2021 03:09 AM
From: Severino Culabat
Subject: Add Attachment in Resilient thru API call
Hi All,
Is there's someone who tried the Resilient endpoint
I would like to request sample data for below parameters. For my reference, thanks

------------------------------
Severino Culabat
Original Message:
Sent: Thu December 09, 2021 08:50 PM
From: Severino Culabat
Subject: Add Attachment in Resilient thru API call
Thanks Jared for your reply, yes I saw the Interactive Rest API from SOAR however I'm not sure what's the correct data that needs to put in the parameters "bodyPart, csrfToken, fileDetails and uploadedInputs" if you have a sample data appreciate if you can send it to me as my reference. I encountering an error when trying it in SOAR UI
For csrfToken just want to know where did I get this is there's any API that I will use?
Currently were creating Resilient Tickets and adding an attachment from different automation platform and using Python SDK(rest_client().post_attachment) but it require username and password. And now were aiming to to develop new connector for us to use the api key and secrets however we are unable to add an attachment thru API call
------------------------------
Severino Culabat
Original Message:
Sent: Thu December 09, 2021 10:24 AM
From: Jared Fagel
Subject: Add Attachment in Resilient thru API call
Have you looked at the Interactive Rest API from SOAR? That's a good starting point.
https://YOUR_INSTANCE.resilientsystems.com/docs/rest-api/ui/index.html#/IncidentAttachmentREST
If using the Python SDK:
------------------------------
Jared Fagel
Cyber Security Analyst
ALLETE Inc.
Original Message:
Sent: Thu December 09, 2021 03:08 AM
From: Severino Culabat
Subject: Add Attachment in Resilient thru API call
Hi All,
I would like to request your help on how I can add an attachment to the Resilient system thru API. I saw that there's an api endpoint "IncidentAttachmentREST" but not sure about the parameters. If you have code snippet it will help me. I'm using python script.
Thanks
Sev
------------------------------
Severino Culabat
------------------------------