Swagger REST API Setup
2 min
Activate REST API Overview
Activate includes a REST API with a Swagger UI interface that allows customers and integrated systems to pass data to Activate for processing. This document describes the basic setup of the Activate REST API.
IIS Configuration
- Open IIS Manager and navigate to Sites > Default Web Site > Activate.
- Ensure that the Activate Website is configured for Anonymous Authentication.
Activate Studio Configuration
By default, members of the built-in Activate Developer role have access to use the REST API.
- For service accounts and other API users, create a new role called Activate API User and add a Members parameter (typically referencing an AD group).
- Navigate to //Resources/API and confirm that Windows Authentication is enabled in the Authentication parameter.
- Add the Activate API User role to the Security settings for the //Resources/API object.
- Navigate to the Swagger URL for your instance.
- Default URL: http(s)://<serverFQDN>/swagger
- Example: http://myact02/swagger
You can now test or execute API queries and functions through the Swagger interface.
Swagger runs under the context of the authenticated user. The user must have appropriate access within Activate to run or submit actions.
- Test an API call — for example, using the job/{id} method to retrieve job information.
For additional guidance or support, contact your Activate representative.