---
title: "Create a scheduled / recurring transfer (gated)"
method: POST
path: "/api/route/schedule"
tags: ["primitives"]
---

# Create a scheduled / recurring transfer (gated)

`POST /api/route/schedule`

## Request

- Base URL: `https://api.anygas.xyz/svc`
- URL: `https://api.anygas.xyz/svc/api/route/schedule`
- Auth: none declared

Plans & stores a scheduled or recurring transfer. Same double gate as batch (PRIMITIVES_LIVE=1 + live:true); default live:false simulates. Rate limit 30/min.

## Request body

- ScheduleRequest
  - `route` object, required: A single route object {fromChain,fromToken,toChain,toToken,amount,toAddress}.
  - `everySeconds` integer: Omit for a one-shot.
  - `at` union: Epoch or ISO time for a one-shot start.
    - string
    - integer
  - `count` integer
  - `live` boolean

## Response `200`

Schedule record

- ScheduleResult
  - `id` string
  - `route` object
  - `everySeconds` integer
  - `remaining` integer
  - `count` integer
  - `live` boolean
  - `status` string
  - `runs` object[]
  - `note` string

---

[API](https://skmtc.dev/anygas/apis/robyn-anygas-api.md) · [All operations](https://skmtc.dev/anygas/apis/robyn-anygas-api/llms.txt) · [OpenAPI document](https://skmtc.dev/anygas/apis/robyn-anygas-api/revisions/9b7498be8304?raw)
