How to Access and Use SanerNow API

Modified on Sun, 16 Mar at 4:59 PM

This guide explains the steps to access and use the SanerNow API for both on-premise and cloud setups.


Step 1: Select POST Option

  1. Open your API client (e.g., Postman, cURL, or any preferred tool).
  2. Choose the POST method for your API request.

Step 2: Specify the URL

  • For On-Premise: Use the following format to specify the URL:

https://<SanerNow Server IP or Domain Name>/AncorWebService/perform

Example: https://172.16.16.17/AncorWebService/perform

  • For Cloud: Use the default cloud URL:

https://saner.secpod.com/AncorWebService/perform

Note: Ensure to whitelist the device IP of the device which is using the API in the cloud environment.

A screenshot of a web service

Description automatically generated

 

Step 3: Authorization Setup

  1. Navigate to the Authorization section in your API client.
  2. Select API Key as the authorization type.
  3. In the Headersection, add the following details:
    • Key: Authorization
    • Value: Copy the SAM key provided to you. Use the portion of the key following the term "SAML" and ensure there is a space after "SAML."

A screenshot of a computer

Description automatically generated

Step 4: Configure the Body Section

  1. Go to the Body section in your API client.
  2. Choose raw as the input type.
  3. Select JSON as the format.
  4. Specify the API request parameters in JSON format. Ensure you refer to the API documentation for the correct structure.

A screenshot of a computer

Description automatically generated

 

Step 5: Send the Request

  1. After configuring the required fields, click the Send button in your API client.
  2. The result of your API request will be fetched and displayed in the response section.


Additional Notes:

  • Ensure that the SanerNow server or cloud service is reachable from your network.
  • Double-check the SAM key and URL format to avoid authorization errors.
  • For detailed API request structures and supported endpoints, refer to the official SanerNow API documentation.

Was this article helpful?

That’s Great!

Thank you for your feedback

Sorry! We couldn't be helpful

Thank you for your feedback

Let us know how can we improve this article!

Select at least one of the reasons
CAPTCHA verification is required.

Feedback sent

We appreciate your effort and will try to fix the article