Skip to main content
Assign or create 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>",
  "series_name": "<string>",
  "create_if_missing": true,
  "transaction_ids": [
    "<string>"
  ]
}
'
{
  "id": "<string>",
  "short_id": "<string>",
  "name": "<string>",
  "type": "<string>",
  "created_at": "2023-11-07T05:31:56Z",
  "updated_at": "2023-11-07T05:31:56Z"
}

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.

series_name
string

Name to mint/resolve a series under (requires create_if_missing).

create_if_missing
boolean
type
enum<string>

Optional type for a minted series (default subscription).

Available options:
subscription,
bill,
loan,
other
transaction_ids
string[]
Maximum array length: 50

Response

Created or updated series.

A thin, rule-maintained recurring series (subscription/bill/loan). Surrogate identity + name + type; membership comes from assign_series rules, not a shipped detector.

id
string
short_id
string
name
string
type
string

Recurring-charge type: subscription|bill|loan|other.

created_at
string<date-time>
updated_at
string<date-time>
Last modified on June 24, 2026