- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-27-2023 03:43 AM
Hi All,
How to directly send an attachment (from third party) to the ServiceNow instance using table api. Is there any way please suggest.
Thank you.
Solved! Go to Solution.

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-27-2023 04:14 AM
That really is going to be a 2-step process.
First create the record with table API. Then based on the output of that send the attachment with Attachment API.
Help others to find a correct solution by marking the appropriate response as accepted solution and helpful.

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-27-2023 03:45 AM
You should use the attachment API for this:
Attachment API (servicenow.com)
You might need to leverage the table API, to look up which record to relate to, depending on your use case.
Help others to find a correct solution by marking the appropriate response as accepted solution and helpful.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-27-2023 04:12 AM
I have one question,. Using attachment api can I create new record and add attachment to it ? Because I can see we have to provide sys_id of the record. SO there is there any trick to create a new record and attach the attachment to it

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-27-2023 04:14 AM
That really is going to be a 2-step process.
First create the record with table API. Then based on the output of that send the attachment with Attachment API.
Help others to find a correct solution by marking the appropriate response as accepted solution and helpful.