Skip to main content
Create or assign a recurring series
curl --request POST \
  --url https://breadbox.example.com/api/v1/series \
  --header 'Content-Type: application/json' \
  --header 'X-API-Key: <api-key>' \
  --data '
{
  "series_id": "<string>",
  "merchant_key": "<string>",
  "create_if_missing": true,
  "name": "<string>",
  "expected_amount": 123,
  "currency": "<string>",
  "category_id": "<string>",
  "user_id": "<string>",
  "transaction_ids": [
    "<string>"
  ],
  "confirm": true
}
'
{
  "id": "<string>",
  "short_id": "<string>",
  "name": "<string>",
  "merchant_key": "<string>",
  "cadence": "<string>",
  "expected_amount": 123,
  "iso_currency_code": "<string>",
  "status": "<string>",
  "confidence": "<string>",
  "detection_source": "<string>",
  "last_amount": 123,
  "last_seen_date": "2023-12-25",
  "next_expected_date": "2023-12-25",
  "occurrence_count": 123,
  "detection_signals": {},
  "tags": [
    "<string>"
  ],
  "created_at": "2023-11-07T05:31:56Z"
}

Documentation Index

Fetch the complete documentation index at: https://docs.breadbox.sh/llms.txt

Use this file to discover all available pages before exploring further.

Authorizations

X-API-Key
string
header
required

Breadbox API key with format bb_<base62>. Carries either read_only or full_access scope. Write endpoints (and a handful of sensitive reads — /api-keys, /users/{user_id}/login) require full_access; endpoints that require it are flagged in their description.

Body

application/json
series_id
string

Existing series short ID or UUID to assign to.

merchant_key
string

Key to mint a new series under (requires create_if_missing).

create_if_missing
boolean
name
string
cadence
enum<string>
Available options:
weekly,
biweekly,
monthly,
quarterly,
semiannual,
annual
expected_amount
number
currency
string
category_id
string
user_id
string
transaction_ids
string[]
Maximum array length: 50
confirm
boolean

Response

Created or updated series.

A detected recurring series (subscription).

id
string
short_id
string
name
string
merchant_key
string
cadence
string

weekly|biweekly|monthly|quarterly|semiannual|annual|irregular|unknown.

expected_amount
number | null
iso_currency_code
string | null
status
string

active|paused|cancelled|candidate.

confidence
string

auto|confirmed|rejected — the verdict axis.

detection_source
string

deterministic|agent|user|rule.

last_amount
number | null
last_seen_date
string<date> | null
next_expected_date
string<date> | null
occurrence_count
integer
detection_signals
object
tags
string[]
created_at
string<date-time>
Last modified on May 30, 2026