Skip to main content
Skip table of contents

How To Retrieve a REST API Token From XMLAPI


Purpose

This document explains how to retrieve a REST API token through XMLAPI.

Introduction

It is possible to retrieve a REST API token through the XMLAPI action GETRESTTOKEN by using the XMLAPI apptoken.

Solution

Prerequisites

This procedure requires a super user account.

Solve

  1. Generate an API Token in the OUTSCAN UI Menu Menu -> Settings -> Security Policy.

    1. With that key, run the API command.

      https://<O24-URL>/opi/XMLAPI?ACTION=GETRESTTOKEN&APPTOKEN=<Key from Step 1>


      The <O24-URL> could be either https://outscan.outpost24.com/ or your HIAB IP Address/FQDN.

  2. A token is returned that lasts 10 minutes from the REST API.




Copyright

© 2024 Outpost24® All rights reserved. This document may only be redistributed unedited and unaltered. This document may be cited and referenced only if clearly crediting Outpost24® and this document as the source. Any other reproduction and redistribution in print or electronically is strictly prohibited without explicit permission.

Trademark

Outpost24® and OUTSCAN™ are trademarks of Outpost24® and its affiliated companies. All other brand names, product names or trademarks belong to their respective owners.

JavaScript errors detected

Please note, these errors can depend on your browser setup.

If this problem persists, please contact our support.