---
title: "Make the routine's inbound URL [write]"
method: POST
path: "/routines/{id}/inbound-url"
---

# Make the routine's inbound URL \[write\]

`POST /routines/{id}/inbound-url`

## Request

- Base URL: `https://api.agentsky.dev/v1`
- URL: `https://api.agentsky.dev/v1/routines/{id}/inbound-url`
- Auth: HTTP bearer

Returns a URL that starts a run of this routine when posted to, with no API token: for a service that can only call a URL. It replaces any earlier one, which stops working at once. The URL carries its own secret and is returned only in this response.

## Path parameters

- `id` string, required

## Response `201`

Created

- object
  - `inbound_url` object, required
    - `routine_id` string, required
    - `prefix` string, required: The start of the secret in the URL
    - `created_at` string, date-time, required
    - `last_used_at` string, date-time, nullable, required
    - `url` string, required

## Other responses

- `default`: Error — { error: { code, message, request_id } }

## Changes

- **2026-11-02** `e5e8f0229a99`: 1 info
  - endpoint added

[Operation history](https://skmtc.dev/agentsky/apis/agentsky-developer-api/changes/routines/:id/inbound-url/post.md)

---

[API](https://skmtc.dev/agentsky/apis/agentsky-developer-api.md) - [All operations](https://skmtc.dev/agentsky/apis/agentsky-developer-api/llms.txt) - [OpenAPI document](https://skmtc.dev/agentsky/apis/agentsky-developer-api/revisions/0d435187cd55?raw)
