---
title: "Create an Automation"
method: POST
path: "/accounts/{account_id}/automations"
tags: ["Automations"]
---

# Create an Automation

`POST /accounts/{account_id}/automations`

## Request

- Base URL: `https://api.brale.xyz`
- URL: `https://api.brale.xyz/accounts/{account_id}/automations`
- Auth: HTTP bearer

Creates a new automation.

## Path parameters

- `account_id` string, ksuid, required

## Headers

- `Idempotency-Key` string, required

## Request body

- AutomationCreateRequest
  - `name` string, required
  - `source` AutomationSource, required: The funding source for the automation. Defines the fiat rail and value type that the automation accepts. When the automation becomes active, `funding_instructions` is populated with the virtual account details to share with the payer.
    - `value_type` string, required: The fiat value type accepted by the automation (e.g. `USD`).
    - `transfer_type` string, required: The transfer rail used to fund the automation (e.g. `wire`).
    - `funding_instructions` FundingInstructions: Bank details for the virtual account that funds the automation. Populated by Brale once the automation becomes active. Share these coordinates with the payer to fund the automation.
      - `beneficiary_name` string
      - `bank_name` string
      - `bank_address` string
      - `beneficiary_address` string
      - `account_number` string
      - `routing_number` string
  - `destination` AutomationDestination, required: The destination wallet that receives minted stablecoins when the automation is funded.
    - `address_id` string, ksuid, required
    - `value_type` string, required: The stablecoin value type minted to the destination (e.g. `SBC`).
    - `transfer_type` string, required: The destination chain or rail (e.g. `solana`).
  - `brand` AutomationBrand: Optional. Controls the beneficiary name on funding instructions. Pass the account_id of your own account or a managed account whose business name should appear as the beneficiary. If omitted, Brale is the default beneficiary.
    - `account_id` string, ksuid, required

## Response `201`

Automation successfully created

- Automation
  - `id` string, ksuid
  - `name` string
  - `status` 'pending' | 'active' | 'disabled' | 'archived': The current lifecycle state of the automation.
  - `source` AutomationSource: The funding source for the automation. Defines the fiat rail and value type that the automation accepts. When the automation becomes active, `funding_instructions` is populated with the virtual account details to share with the payer.
    - `value_type` string, required: The fiat value type accepted by the automation (e.g. `USD`).
    - `transfer_type` string, required: The transfer rail used to fund the automation (e.g. `wire`).
    - `funding_instructions` FundingInstructions: Bank details for the virtual account that funds the automation. Populated by Brale once the automation becomes active. Share these coordinates with the payer to fund the automation.
      - `beneficiary_name` string
      - `bank_name` string
      - `bank_address` string
      - `beneficiary_address` string
      - `account_number` string
      - `routing_number` string
  - `destination` AutomationDestination: The destination wallet that receives minted stablecoins when the automation is funded.
    - `address_id` string, ksuid, required
    - `value_type` string, required: The stablecoin value type minted to the destination (e.g. `SBC`).
    - `transfer_type` string, required: The destination chain or rail (e.g. `solana`).
  - `created_at` string, date-time
  - `updated_at` string, date-time
  - `brand` AutomationBrand: Optional. Controls the beneficiary name on funding instructions. Pass the account_id of your own account or a managed account whose business name should appear as the beneficiary. If omitted, Brale is the default beneficiary.
    - `account_id` string, ksuid, required

---

[API](https://skmtc.dev/brale/apis/brale-issuance-and-orchestration-api.md) - [All operations](https://skmtc.dev/brale/apis/brale-issuance-and-orchestration-api/llms.txt) - [OpenAPI document](https://skmtc.dev/brale/apis/brale-issuance-and-orchestration-api/revisions/5fa781db09de?raw)
