Is there a way to integrate our servicenow with statuspage?
Asked by Raschke, Ben (TR Tech, Content & Ops):

We want to be able to have our major incidents feed automatically into our status page. I'm guessing servicenow has APIs exposed to help with this process.


Answers:
author: Nick Coates
body: Hi [@Raschke, Ben (TR Tech, Content \& Ops)](/t5/user/viewprofilepage/user-id/4450736)

You would need to use the API in order to create the incidents (and update them). There is actually better API documentation [here](https://developer.statuspage.io/) that I would recommend. You should probably look at the 'incidents' endpoints.

**Note:** We use ServiceNow at Broadcom and there is no integration. ServiceNow were not exactly helpful in helping us setting up APIs so we had to build our own integration via the API.

Thanks,  
Nick

comments: author: Raschke, Ben (TR Tech, Content & Ops)
body: Thank you Nick!


author: Samyak Masulkar
body: Hi Nick,

What kind of integration you have build and how ?


author: Earl McCutcheon
body: Hello [@Raschke, Ben (TR Tech, Content \& Ops)](/t5/user/viewprofilepage/user-id/4450736) ,

I'm not sure about the ServiceNow API but there is definitely an API on the StatusPage side that you could use to build out an integration.

There is some information with links of where to get started in the status Page integrations documentation page here:

* [Connect Statuspage with your incident management toolset for faster response.](https://www.atlassian.com/software/statuspage/integrations)

Specifically this portion:
>
> ### Automation via API or email {#toc-hId-1258218901}
>
> Use our [REST API](https://developer.statuspage.io/) to programmatically update your status page by writing your own integration, or [automatically update](https://support.atlassian.com/statuspage/docs/get-started-with-email-automation/) the status of components by triggering en email with a subject line containing the words "UP" or "DOWN".

Regards,  
Earl

comments: author: Raschke, Ben (TR Tech, Content & Ops)
body: Thanks very much Earl!

Any thoughts on what question I would ask ServiceNow? You may not have knowledge of ServiceNow, but I thought I would ask.

Not sure if it would be a PUT method from ServiceNow to Statuspage but think it would be. Thank you again.


author: Earl McCutcheon
body: Hello [@Raschke, Ben (TR Tech, Content \& Ops)](/t5/user/viewprofilepage/user-id/4450736) ,

There are details on the rest methods under the basics section, here:

* <https://developer.statuspage.io/#section/Basics/HTTPS>

PUT, PATCH, or POST would be the methods used to input data to statuspage under varying scenarios:
>
> RESTful Interface {#toc-hId--1239090732}
> ----------------------------------------
>
> Wherever possible, the API seeks to implement repeatable patterns with logical, representative URLs and descriptive HTTP verbs. Below are some examples and conventions you will see throughout the documentation.
>
> * Collections are buckets: <https://api.statuspage.io/v1/pages/asdf123/incidents.json>
> * Elements have unique IDs: <https://api.statuspage.io/v1/pages/asdf123/incidents/jklm456.json>
> * GET will retrieve information about a collection/element
> * POST will create an element in a collection
> * PATCH will update a single element
> * PUT will replace a single element in a collection (rarely used)
> * DELETE will destroy a single element

Then I located the following documentation for the servicenow API that may help further:

* <https://developer.servicenow.com/dev.do#!/learn/learning-plans/orlando/new_to_servicenow/app_store_learnv2_scripting_orlando_servicenow_apis>
* <https://developer.servicenow.com/dev.do#!/reference/api/orlando/rest/c_TableAPI>
* <https://docs.servicenow.com/bundle/paris-application-development/page/build/applications/concept/api-rest.html>

Regards,  
Earl


Tags: api

cloud

servicenow