Creating Tasks in ServiceNow via REST message from a Third Party Application
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-20-2023 09:13 AM
Hi Experts!
I have a requirement where a Third party application can send API calls to the ServiceNow platform and create tasks with the details mentioned in the API call. What should be best way to achieve this and what details I would need to share with a third party App teams?
Any guidance will be appreciated here!
Thanks

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-20-2023 09:20 AM
@Shantanu1 I recommend you to go through the REST API explorer https://docs.servicenow.com/en-US/bundle/vancouver-api-reference/page/integrate/inbound-rest/concept..., this is going to be a good starting point to explore how you can allow a third party system to create tasks on your ServiceNow instance.

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-20-2023 09:21 AM
Hi Shantanu,
For a start you can navigate to use Rest API explorer and select Table and Post Method

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-20-2023 09:25 AM
Well there are a number of answers to this question. Here are just a few of them
- Give them an account that has access to do CRUD operations on the table in question and just point them at the Table API. This has the downside of them needing to send over sys_id's for any of the reference fields so they will also have to do a bunch of calls to other tables to get that information. This could be a lot of work and cause a lot of problems with bad data.
- Create a a new Inbound Web Service under "System Web Services" by clicking "Create New". So System Web Services -> Inbound -> Create New. If memory serves this will create a SOAP web service so if thats an issue then this option is out. You can look at the docs here.
- Next to consider is a Scripted REST API. This is the one I usually use. Docs are here
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-20-2023 12:18 PM
Thanks @DrewW , I guess i should go with a table API as we just need to create tasks with standard info. Is there a way attachments can be passed in the API call?