# REST APIs for every Temporal Workflow in one line of code

DevFeed: [REST APIs for every Temporal Workflow in one line of code](<https://devfeed.tech/articles/rest-apis-for-every-temporal-workflow-in-one-line-of-code-36028.md>)

Original publisher: [Read original article](<https://temporal.io/blog/temporal-rest>)

Author: Valeri Karpov

Published: 2022-02-28T07:00:00Z

Content type: tutorial

Language: en

Sources: [Temporal Blog](<https://devfeed.tech/sources/temporal-blog.md>)

Topics: [REST API](<https://devfeed.tech/topics/rest-api.md>), [Express](<https://devfeed.tech/topics/express.md>), [client](<https://devfeed.tech/topics/client.md>), [Code](<https://devfeed.tech/topics/code.md>)

Tags: [apis](<https://devfeed.tech/tags/apis.md>), [client](<https://devfeed.tech/tags/client.md>), [code](<https://devfeed.tech/tags/code.md>), [express](<https://devfeed.tech/tags/express.md>), [how-to](<https://devfeed.tech/tags/how-to.md>), [integration](<https://devfeed.tech/tags/integration.md>), [rest](<https://devfeed.tech/tags/rest.md>), [rest-apis](<https://devfeed.tech/tags/rest-apis.md>)

## AI overview

This tutorial shows how to create REST APIs for Temporal Workflows using the temporal-rest middleware with ExpressJS. It demonstrates endpoints for starting Workflows, sending Signals, and executing Queries, including JSON request bodies and query parameters.

## Source excerpt

Learn how to create a REST API for Temporal Workflows in just one line of code using temporal-rest and ExpressJS, simplifying your workflow integration.