Creating Incident using API KEY
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎01-30-2025 05:52 AM
I was tried to create an incident to my incident table, through this api route - /api/now/table/incident.
My api key is attached to an user with the following roles:
- itil
- security_admin
- admin
Although this roles, I did not manage to create an incident and I keep getting 403 with the following response:
Additionally, I have created a create ACL for the incident table, for my custom role that inharite security_admin and admin, and still getting the same response.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎01-30-2025 04:33 PM
Hi There!
1. Is there a reason to give your integration user account both admin and security admin? Those roles are not necessary in order to create a record in the incident table and sometimes security_admin especially has a reverse effect and can be limiting. The default create ACL has no role specified so basically any authenticated user should have permission to create.
2. Does you integration user have the role snc_platform_rest_api_access?
3. For best practice, make sure your user has checked off "Web Service Access Only"