RS04 - Automic REST API introduction

In this video you will learn how to use the Automic REST API. Marcin shows you the basics of the API and how to send requests via tools such as Postman.You will learn how to start jobs and retrieve information from process monitoring. Authentication methods and useful tips for using the API are also discussed. Perfect for anyone who wants to learn more about the possibilities of the Automic REST API!

ℹ️ This Automic Tutorial is part of PEM Automic and was published on January 29th 2025.

📋 Content: 1 Video

🕒 Duration: 10 Minutes

Starting from version 12.1, Automic offers the option of interacting with the platform via a REST API. In this course, Marcin will show you how to take your first steps with the Automic REST API and what you should be aware of. You will then understand how you can use the API to automate processes and retrieve information.

What is Automic REST API?

Automic REST API is an interface that allows you to communicate with your Automic environment via HTTP requests. For example, you can use it to monitor tasks, start jobs and retrieve reports. The major advantage: REST APIs are standardised and can be easily operated with tools such as Postman or using simple curl commands.

Getting started: REST API documentation and Postman

Before you can set on to work, you should have the REST API documentation at hand. You can find it in OpenAPI format on the Automic vendor's website. The documentation describes all available endpoints, their functions and examples of return values. Especially handy: The JSON documentation can be imported directly into Postman.

To get started, copy the link to the JSON documentation and import it into Postman. All available endpoints are then automatically preconfigured and available to you.

Authentication and basic settings

Before you make a request via the API, you need to complete two important steps. Firstly, you need to set up the authentication. In Postman, select Basic Authentication and enter your username as well as your password. In newer Automic versions (starting from version 24.2), you can also use Bearer Tokens for authentication.

First request: Task monitoring

A common use case is retrieving the list of running tasks. To do this, use the endpoint /executions. Once you have configured the client and the BaseURL, you can send the request and receive a list of all currently running tasks in response.

Tip: You can also use Postman to create code snippets for different programming languages. Afterwards, you can use these snippets in your own automation processes.

Starting jobs with the REST API

Another popular scenario is starting jobs via the REST API. To do this, switch from GET to POST method at the same endpoint. Within the request, you pass the desired job object and the API returns a unique RunID that identifies the started job.

Learn Automic with PEM!

Would you like to learn more about Automic without having to travel across the country for workshops? At PEM, you decide when and how you want to continue your education! In interactive courses, tutorials and videos, you will learn everything you need to know about Automic – and more! And we are always there for you via comment function or email.

Does that sound interesting? Then get started today with PEM, Automic Training 2.0 and year-round Automic support!

More about PEM
Get in touch

FAQ about Automic Training on PEM

PEM is the most innovative and fastest growing Automic learning platform. It offers PEM members a comprehensive range of online training courses that can be accessed 24/7 and from anywhere. The platform includes dozens of videos and interactive courses and is aimed at beginners and professionals alike.