# How to create API endpoints without coding

**URL:** <https://community.easymorph.com/t/how-to-create-api-endpoints-without-coding/4231>\
**Category:** Articles\
**Created:** [January 22, 2023, 4:52pm UTC](https://community.easymorph.com/t/how-to-create-api-endpoints-without-coding/4231 "2023-01-22T16:52:17Z")\
**Posts on this page:** 1\
**Showing post:** 25

<div class="post-metadata">

**Author:** ![dgudkov](https://community.easymorph.com/user_avatar/community.easymorph.com/dgudkov/32/5_2.png) [@dgudkov](https://community.easymorph.com/u/dgudkov)\
**Post date:** [May 16, 2023, 6:10pm UTC](https://community.easymorph.com/t/how-to-create-api-endpoints-without-coding/4231/25 "2023-05-16T18:10:13Z")

</div>

That looks very much like a webhook. Here is how you can handle webhooks in EasyMorph.

### Method 1: Use the task reload webhooks.

A Server task (in the "Tasks" tab) can have a unique URL for triggering a task reload upon a GET request to that URL. The URL is disabled by default and should be enabled in the task settings.

 ![image](https://community.easymorph.com/uploads/default/original/2X/e/e53c7b1ee7a841842381b18b7b5fc5a7d61c999a.png)

The reload URL can have URL parameters to assign task parameters.

### Method 2: Use the EasyMorph Gateway

The [EasyMorph Gateway](https://help.easymorph.com/doku.php?id=gateway:start) is an optional [separately billed service](https://easymorph.com/buy.html#gateway-pricing) to handle more sophisticated scenarios, where a webhook is sent from a cloud application, or when a webhook is sent using POST or another method with a request body (payload).

For more details, read: [How to configure a connection to EasyMorph Gateway](https://community.easymorph.com/t/how-to-configure-a-connection-to-easymorph-gateway/2945)

### Method 3: Use a custom job queue

Use a custom API endpoint to receive a request and put it into a job queue (the queue can be a database table, or a dataset, or a file, or [Shared memory](https://community.easymorph.com/t/preview-shared-memory/2892)) and quickly return HTTP 200 OK. The queue can contain, for instance, a list of file paths to process. Every new request appends a new line to the job queue.

Schedule a Server task to check the job queue, pick a job from it, and process it asynchronously. Handling a custom job queue can be a non-trivial task because you would have to ensure that the same job isn't processed twice or remains in the queue if the task fails.

### See also

> [@8 ways to trigger a Server task remotely](https://community.easymorph.com/t/8-ways-to-trigger-a-server-task-remotely/3652):
>
> Here is the full list of all possible ways to trigger a task on EasyMorph Server: Use the [ems-cmd utility](https://github.com/easymorph/server-cmd) from the command-line (cross-platform) Use the "Reload webhook" URL in the task settings (will be replaced with custom API endpoints in v5.3) Use the [Server .NET SDK](https://github.com/easymorph/server-sdk) in a .NET application Use the Server's REST API from any application that has network connectivity with the Server Use the ["EasyMorph Server command" action](https://help.easymorph.com/doku.php?id=transformations:morphservercommand) in an EasyMorph workflow (the free edition is supported too) By sendi…

---

_[View the full topic](https://community.easymorph.com/t/how-to-create-api-endpoints-without-coding/4231)._
