Developers
API reference
Every endpoint of the SysCost REST API, generated from the same definitions the server runs, so it always matches. New to the API? Start with the guide.
Base URL: https://syscost.app/api/v1 · OpenAPI 3.1: /api/v1/openapi.json
Workspace
The workspace an API key belongs to.
- GET /workspace · Retrieve the workspace
Retrieve the workspace
GET/api/v1/workspaceRead key
The workspace the key belongs to: its name, plan, time zone (which sets "today" for due dates) and default currency, plus the key's own name and scope. A cheap way to check a key works.
curl "https://syscost.app/api/v1/workspace" \
-H "Authorization: Bearer $SYSCOST_API_KEY"Response fields · 200
| Field | Type | Required | Description |
|---|---|---|---|
| id | string (uuid) | Yes | — |
| name | string | Yes | — |
| plan | string | Yes | — |
| timezone | string | Yes | — |
| default_currency | string | Yes | — |
| api_key | object | Yes | — |
| api_key.name | string | Yes | — |
| api_key.scope | "read" | "write" | Yes | — |
{
"id": "5f0c2a4e-8d1b-4c7a-9e3f-2b6d8a1c4e7f",
"name": "Vercel Pro",
"plan": "string",
"timezone": "string",
"default_currency": "string",
"api_key": {
"name": "Vercel Pro",
"scope": "read"
}
}Errors: 401, 402, 403, 429. See errors.
Subscriptions
Recurring software subscriptions: amounts, billing cycles, categories and status.
- GET /subscriptions · List subscriptions
- POST /subscriptions · Create a subscription
- GET /subscriptions/{id} · Retrieve a subscription
- PUT /subscriptions/{id} · Update a subscription
- DELETE /subscriptions/{id} · Delete a subscription
- PATCH /subscriptions/{id}/status · Pause or resume a subscription
- GET /subscriptions/{subscriptionId}/payments · List a subscription's payment records
- GET /subscriptions/{subscriptionId}/timeline · List a subscription's occurrences
List subscriptions
GET/api/v1/subscriptionsRead key
Every subscription in the workspace, optionally filtered by category. Amounts are in each subscription's own currency.
| Parameter | In | Type | Required | Description |
|---|---|---|---|---|
| categoryId | query | string (uuid) | No | Only subscriptions in this category. |
curl "https://syscost.app/api/v1/subscriptions" \
-H "Authorization: Bearer $SYSCOST_API_KEY"Response fields · 200
| Field | Type | Required | Description |
|---|---|---|---|
| [].id | string (uuid) | Yes | — |
| [].workspace_id | string (uuid) | Yes | — |
| [].user_id | string (uuid) | null | Yes | — |
| [].category_id | string (uuid) | Yes | — |
| [].name | string | Yes | at least 1 characters; at most 200 characters |
| [].amount | number | Yes | greater than 0 |
| [].currency | string | Yes | 3 characters; matches ^[A-Z]{3}$ |
| [].billing_cycle | "monthly" | "quarterly" | "yearly" | Yes | — |
| [].status | "active" | "paused" | Yes | — |
| [].billing_anchor_date | string (date) | Yes | — |
| [].tracking_start_date | string (date) | Yes | — |
| [].paused_since | string (date) | null | Yes | — |
| [].next_payment_date | string (date) | null | Yes | — |
| [].created_at | string (date-time) | Yes | — |
| [].updated_at | string (date-time) | Yes | — |
| [].has_overdue | boolean | Yes | — |
| [].overdue_count | integer | Yes | at least 0 |
| [].category | object | Yes | — |
| [].category.id | string (uuid) | Yes | — |
| [].category.workspace_id | string (uuid) | Yes | — |
| [].category.user_id | string (uuid) | null | Yes | — |
| [].category.name | string | Yes | at least 1 characters; at most 100 characters |
| [].category.color_hex | string | Yes | matches ^[0-9a-fA-F]{6}$ |
| [].category.created_at | string (date-time) | Yes | — |
| [].category.updated_at | string (date-time) | Yes | — |
| [].provider_slug | null | string | Yes | — |
| [].provider_id | null | string (uuid) | Yes | — |
| [].provider | object | null | Yes | — |
| [].provider.key | string | Yes | — |
| [].provider.kind | "catalog" | "custom" | Yes | — |
| [].provider.name | string | Yes | — |
| [].provider.domain | null | string | Yes | — |
| [].provider.color_hex | null | string | Yes | matches ^[0-9a-fA-F]{6}$ |
[
{
"id": "5f0c2a4e-8d1b-4c7a-9e3f-2b6d8a1c4e7f",
"workspace_id": "5f0c2a4e-8d1b-4c7a-9e3f-2b6d8a1c4e7f",
"user_id": "5f0c2a4e-8d1b-4c7a-9e3f-2b6d8a1c4e7f",
"category_id": "5f0c2a4e-8d1b-4c7a-9e3f-2b6d8a1c4e7f",
"name": "Vercel Pro",
"amount": 49,
"currency": "USD",
"billing_cycle": "monthly",
"status": "active",
"billing_anchor_date": "2026-11-05",
"tracking_start_date": "2026-11-05",
"paused_since": "2026-11-05",
"next_payment_date": "2026-11-05",
"created_at": "2026-11-05T09:30:00.000Z",
"updated_at": "2026-11-05T09:30:00.000Z",
"has_overdue": false,
"overdue_count": 0,
"category": {
"id": "5f0c2a4e-8d1b-4c7a-9e3f-2b6d8a1c4e7f",
"workspace_id": "5f0c2a4e-8d1b-4c7a-9e3f-2b6d8a1c4e7f",
"user_id": "5f0c2a4e-8d1b-4c7a-9e3f-2b6d8a1c4e7f",
"name": "Vercel Pro",
"color_hex": "2563EB",
"created_at": "2026-11-05T09:30:00.000Z",
"updated_at": "2026-11-05T09:30:00.000Z"
},
"provider_slug": "string",
"provider_id": "5f0c2a4e-8d1b-4c7a-9e3f-2b6d8a1c4e7f",
"provider": {
"key": "string",
"kind": "catalog",
"name": "Vercel Pro",
"domain": "string",
"color_hex": "2563EB"
}
}
]Errors: 400, 401, 402, 403, 429. See errors.
Create a subscription
POST/api/v1/subscriptionsRead-and-write key
Adds a recurring subscription. billing_anchor_date is a past or future due date that fixes the billing schedule and cannot change later. Payments before the day the subscription is added are never reported as overdue.
| Field | Type | Required | Description |
|---|---|---|---|
| name | string | Yes | at least 1 characters; at most 200 characters |
| amount | number | Yes | greater than 0 |
| currency | string | Yes | 3 characters; matches ^[A-Z]{3}$ |
| billing_cycle | "monthly" | "quarterly" | "yearly" | Yes | — |
| category_id | string (uuid) | Yes | — |
| billing_anchor_date | string (date) | Yes | — |
| provider_slug | null | string | No | at least 1 characters; at most 64 characters |
| provider_id | null | string (uuid) | No | — |
| provider_name | null | string | No | at least 1 characters; at most 80 characters |
| provider_domain | null | string | No | at most 255 characters; matches ^[A-Za-z0-9.-]+\.[A-Za-z]{2,}$ |
curl -X POST "https://syscost.app/api/v1/subscriptions" \
-H "Authorization: Bearer $SYSCOST_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"name": "Vercel Pro",
"amount": 49,
"currency": "USD",
"billing_cycle": "monthly",
"category_id": "5f0c2a4e-8d1b-4c7a-9e3f-2b6d8a1c4e7f",
"billing_anchor_date": "2026-11-05",
"provider_slug": "string",
"provider_id": "5f0c2a4e-8d1b-4c7a-9e3f-2b6d8a1c4e7f",
"provider_name": "Vercel Pro",
"provider_domain": "string"
}'Response fields · 201
| Field | Type | Required | Description |
|---|---|---|---|
| id | string (uuid) | Yes | — |
| workspace_id | string (uuid) | Yes | — |
| user_id | string (uuid) | null | Yes | — |
| category_id | string (uuid) | Yes | — |
| name | string | Yes | at least 1 characters; at most 200 characters |
| amount | number | Yes | greater than 0 |
| currency | string | Yes | 3 characters; matches ^[A-Z]{3}$ |
| billing_cycle | "monthly" | "quarterly" | "yearly" | Yes | — |
| status | "active" | "paused" | Yes | — |
| billing_anchor_date | string (date) | Yes | — |
| tracking_start_date | string (date) | Yes | — |
| paused_since | string (date) | null | Yes | — |
| next_payment_date | string (date) | null | Yes | — |
| created_at | string (date-time) | Yes | — |
| updated_at | string (date-time) | Yes | — |
| has_overdue | boolean | Yes | — |
| overdue_count | integer | Yes | at least 0 |
| category | object | Yes | — |
| category.id | string (uuid) | Yes | — |
| category.workspace_id | string (uuid) | Yes | — |
| category.user_id | string (uuid) | null | Yes | — |
| category.name | string | Yes | at least 1 characters; at most 100 characters |
| category.color_hex | string | Yes | matches ^[0-9a-fA-F]{6}$ |
| category.created_at | string (date-time) | Yes | — |
| category.updated_at | string (date-time) | Yes | — |
| provider_slug | null | string | Yes | — |
| provider_id | null | string (uuid) | Yes | — |
| provider | object | null | Yes | — |
| provider.key | string | Yes | — |
| provider.kind | "catalog" | "custom" | Yes | — |
| provider.name | string | Yes | — |
| provider.domain | null | string | Yes | — |
| provider.color_hex | null | string | Yes | matches ^[0-9a-fA-F]{6}$ |
{
"id": "5f0c2a4e-8d1b-4c7a-9e3f-2b6d8a1c4e7f",
"workspace_id": "5f0c2a4e-8d1b-4c7a-9e3f-2b6d8a1c4e7f",
"user_id": "5f0c2a4e-8d1b-4c7a-9e3f-2b6d8a1c4e7f",
"category_id": "5f0c2a4e-8d1b-4c7a-9e3f-2b6d8a1c4e7f",
"name": "Vercel Pro",
"amount": 49,
"currency": "USD",
"billing_cycle": "monthly",
"status": "active",
"billing_anchor_date": "2026-11-05",
"tracking_start_date": "2026-11-05",
"paused_since": "2026-11-05",
"next_payment_date": "2026-11-05",
"created_at": "2026-11-05T09:30:00.000Z",
"updated_at": "2026-11-05T09:30:00.000Z",
"has_overdue": false,
"overdue_count": 0,
"category": {
"id": "5f0c2a4e-8d1b-4c7a-9e3f-2b6d8a1c4e7f",
"workspace_id": "5f0c2a4e-8d1b-4c7a-9e3f-2b6d8a1c4e7f",
"user_id": "5f0c2a4e-8d1b-4c7a-9e3f-2b6d8a1c4e7f",
"name": "Vercel Pro",
"color_hex": "2563EB",
"created_at": "2026-11-05T09:30:00.000Z",
"updated_at": "2026-11-05T09:30:00.000Z"
},
"provider_slug": "string",
"provider_id": "5f0c2a4e-8d1b-4c7a-9e3f-2b6d8a1c4e7f",
"provider": {
"key": "string",
"kind": "catalog",
"name": "Vercel Pro",
"domain": "string",
"color_hex": "2563EB"
}
}Errors: 400, 401, 402, 403, 404, 409, 429. See errors.
Retrieve a subscription
GET/api/v1/subscriptions/{id}Read key
One subscription by ID.
| Parameter | In | Type | Required | Description |
|---|---|---|---|---|
| id | path | string (uuid) | Yes | The ID of the record. |
curl "https://syscost.app/api/v1/subscriptions/5f0c2a4e-8d1b-4c7a-9e3f-2b6d8a1c4e7f" \
-H "Authorization: Bearer $SYSCOST_API_KEY"Response fields · 200
| Field | Type | Required | Description |
|---|---|---|---|
| id | string (uuid) | Yes | — |
| workspace_id | string (uuid) | Yes | — |
| user_id | string (uuid) | null | Yes | — |
| category_id | string (uuid) | Yes | — |
| name | string | Yes | at least 1 characters; at most 200 characters |
| amount | number | Yes | greater than 0 |
| currency | string | Yes | 3 characters; matches ^[A-Z]{3}$ |
| billing_cycle | "monthly" | "quarterly" | "yearly" | Yes | — |
| status | "active" | "paused" | Yes | — |
| billing_anchor_date | string (date) | Yes | — |
| tracking_start_date | string (date) | Yes | — |
| paused_since | string (date) | null | Yes | — |
| next_payment_date | string (date) | null | Yes | — |
| created_at | string (date-time) | Yes | — |
| updated_at | string (date-time) | Yes | — |
| has_overdue | boolean | Yes | — |
| overdue_count | integer | Yes | at least 0 |
| category | object | Yes | — |
| category.id | string (uuid) | Yes | — |
| category.workspace_id | string (uuid) | Yes | — |
| category.user_id | string (uuid) | null | Yes | — |
| category.name | string | Yes | at least 1 characters; at most 100 characters |
| category.color_hex | string | Yes | matches ^[0-9a-fA-F]{6}$ |
| category.created_at | string (date-time) | Yes | — |
| category.updated_at | string (date-time) | Yes | — |
| provider_slug | null | string | Yes | — |
| provider_id | null | string (uuid) | Yes | — |
| provider | object | null | Yes | — |
| provider.key | string | Yes | — |
| provider.kind | "catalog" | "custom" | Yes | — |
| provider.name | string | Yes | — |
| provider.domain | null | string | Yes | — |
| provider.color_hex | null | string | Yes | matches ^[0-9a-fA-F]{6}$ |
{
"id": "5f0c2a4e-8d1b-4c7a-9e3f-2b6d8a1c4e7f",
"workspace_id": "5f0c2a4e-8d1b-4c7a-9e3f-2b6d8a1c4e7f",
"user_id": "5f0c2a4e-8d1b-4c7a-9e3f-2b6d8a1c4e7f",
"category_id": "5f0c2a4e-8d1b-4c7a-9e3f-2b6d8a1c4e7f",
"name": "Vercel Pro",
"amount": 49,
"currency": "USD",
"billing_cycle": "monthly",
"status": "active",
"billing_anchor_date": "2026-11-05",
"tracking_start_date": "2026-11-05",
"paused_since": "2026-11-05",
"next_payment_date": "2026-11-05",
"created_at": "2026-11-05T09:30:00.000Z",
"updated_at": "2026-11-05T09:30:00.000Z",
"has_overdue": false,
"overdue_count": 0,
"category": {
"id": "5f0c2a4e-8d1b-4c7a-9e3f-2b6d8a1c4e7f",
"workspace_id": "5f0c2a4e-8d1b-4c7a-9e3f-2b6d8a1c4e7f",
"user_id": "5f0c2a4e-8d1b-4c7a-9e3f-2b6d8a1c4e7f",
"name": "Vercel Pro",
"color_hex": "2563EB",
"created_at": "2026-11-05T09:30:00.000Z",
"updated_at": "2026-11-05T09:30:00.000Z"
},
"provider_slug": "string",
"provider_id": "5f0c2a4e-8d1b-4c7a-9e3f-2b6d8a1c4e7f",
"provider": {
"key": "string",
"kind": "catalog",
"name": "Vercel Pro",
"domain": "string",
"color_hex": "2563EB"
}
}Errors: 400, 401, 402, 403, 404, 429. See errors.
Update a subscription
PUT/api/v1/subscriptions/{id}Read-and-write key
Changes any of the given fields; omitted fields keep their values. A new amount or billing cycle applies to occurrences that are not yet recorded.
| Parameter | In | Type | Required | Description |
|---|---|---|---|---|
| id | path | string (uuid) | Yes | The ID of the record. |
| Field | Type | Required | Description |
|---|---|---|---|
| name | string | No | at least 1 characters; at most 200 characters |
| amount | number | No | greater than 0 |
| currency | string | No | 3 characters; matches ^[A-Z]{3}$ |
| billing_cycle | "monthly" | "quarterly" | "yearly" | No | — |
| category_id | string (uuid) | No | — |
| status | "active" | "paused" | No | — |
| provider_slug | null | string | No | at least 1 characters; at most 64 characters |
| provider_id | null | string (uuid) | No | — |
| provider_name | null | string | No | at least 1 characters; at most 80 characters |
| provider_domain | null | string | No | at most 255 characters; matches ^[A-Za-z0-9.-]+\.[A-Za-z]{2,}$ |
curl -X PUT "https://syscost.app/api/v1/subscriptions/5f0c2a4e-8d1b-4c7a-9e3f-2b6d8a1c4e7f" \
-H "Authorization: Bearer $SYSCOST_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"name": "Vercel Pro",
"amount": 49,
"currency": "USD",
"billing_cycle": "monthly",
"category_id": "5f0c2a4e-8d1b-4c7a-9e3f-2b6d8a1c4e7f",
"status": "active",
"provider_slug": "string",
"provider_id": "5f0c2a4e-8d1b-4c7a-9e3f-2b6d8a1c4e7f",
"provider_name": "Vercel Pro",
"provider_domain": "string"
}'Response fields · 200
| Field | Type | Required | Description |
|---|---|---|---|
| id | string (uuid) | Yes | — |
| workspace_id | string (uuid) | Yes | — |
| user_id | string (uuid) | null | Yes | — |
| category_id | string (uuid) | Yes | — |
| name | string | Yes | at least 1 characters; at most 200 characters |
| amount | number | Yes | greater than 0 |
| currency | string | Yes | 3 characters; matches ^[A-Z]{3}$ |
| billing_cycle | "monthly" | "quarterly" | "yearly" | Yes | — |
| status | "active" | "paused" | Yes | — |
| billing_anchor_date | string (date) | Yes | — |
| tracking_start_date | string (date) | Yes | — |
| paused_since | string (date) | null | Yes | — |
| next_payment_date | string (date) | null | Yes | — |
| created_at | string (date-time) | Yes | — |
| updated_at | string (date-time) | Yes | — |
| has_overdue | boolean | Yes | — |
| overdue_count | integer | Yes | at least 0 |
| category | object | Yes | — |
| category.id | string (uuid) | Yes | — |
| category.workspace_id | string (uuid) | Yes | — |
| category.user_id | string (uuid) | null | Yes | — |
| category.name | string | Yes | at least 1 characters; at most 100 characters |
| category.color_hex | string | Yes | matches ^[0-9a-fA-F]{6}$ |
| category.created_at | string (date-time) | Yes | — |
| category.updated_at | string (date-time) | Yes | — |
| provider_slug | null | string | Yes | — |
| provider_id | null | string (uuid) | Yes | — |
| provider | object | null | Yes | — |
| provider.key | string | Yes | — |
| provider.kind | "catalog" | "custom" | Yes | — |
| provider.name | string | Yes | — |
| provider.domain | null | string | Yes | — |
| provider.color_hex | null | string | Yes | matches ^[0-9a-fA-F]{6}$ |
{
"id": "5f0c2a4e-8d1b-4c7a-9e3f-2b6d8a1c4e7f",
"workspace_id": "5f0c2a4e-8d1b-4c7a-9e3f-2b6d8a1c4e7f",
"user_id": "5f0c2a4e-8d1b-4c7a-9e3f-2b6d8a1c4e7f",
"category_id": "5f0c2a4e-8d1b-4c7a-9e3f-2b6d8a1c4e7f",
"name": "Vercel Pro",
"amount": 49,
"currency": "USD",
"billing_cycle": "monthly",
"status": "active",
"billing_anchor_date": "2026-11-05",
"tracking_start_date": "2026-11-05",
"paused_since": "2026-11-05",
"next_payment_date": "2026-11-05",
"created_at": "2026-11-05T09:30:00.000Z",
"updated_at": "2026-11-05T09:30:00.000Z",
"has_overdue": false,
"overdue_count": 0,
"category": {
"id": "5f0c2a4e-8d1b-4c7a-9e3f-2b6d8a1c4e7f",
"workspace_id": "5f0c2a4e-8d1b-4c7a-9e3f-2b6d8a1c4e7f",
"user_id": "5f0c2a4e-8d1b-4c7a-9e3f-2b6d8a1c4e7f",
"name": "Vercel Pro",
"color_hex": "2563EB",
"created_at": "2026-11-05T09:30:00.000Z",
"updated_at": "2026-11-05T09:30:00.000Z"
},
"provider_slug": "string",
"provider_id": "5f0c2a4e-8d1b-4c7a-9e3f-2b6d8a1c4e7f",
"provider": {
"key": "string",
"kind": "catalog",
"name": "Vercel Pro",
"domain": "string",
"color_hex": "2563EB"
}
}Errors: 400, 401, 402, 403, 404, 409, 429. See errors.
Delete a subscription
DELETE/api/v1/subscriptions/{id}Read-and-write key
Deletes the subscription with its payment records, pauses and subscription-specific notification rules. This cannot be undone.
| Parameter | In | Type | Required | Description |
|---|---|---|---|---|
| id | path | string (uuid) | Yes | The ID of the record. |
curl -X DELETE "https://syscost.app/api/v1/subscriptions/5f0c2a4e-8d1b-4c7a-9e3f-2b6d8a1c4e7f" \
-H "Authorization: Bearer $SYSCOST_API_KEY"Responds 204 No Content with an empty body.
Errors: 400, 401, 402, 403, 404, 409, 429. See errors.
Pause or resume a subscription
PATCH/api/v1/subscriptions/{id}/statusRead-and-write key
Set status to paused to stop projecting payments, or back to active to resume. Payments that fell due while paused are not reported as overdue.
| Parameter | In | Type | Required | Description |
|---|---|---|---|---|
| id | path | string (uuid) | Yes | The ID of the record. |
| Field | Type | Required | Description |
|---|---|---|---|
| status | "active" | "paused" | Yes | — |
curl -X PATCH "https://syscost.app/api/v1/subscriptions/5f0c2a4e-8d1b-4c7a-9e3f-2b6d8a1c4e7f/status" \
-H "Authorization: Bearer $SYSCOST_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"status": "active"
}'Response fields · 200
| Field | Type | Required | Description |
|---|---|---|---|
| id | string (uuid) | Yes | — |
| workspace_id | string (uuid) | Yes | — |
| user_id | string (uuid) | null | Yes | — |
| category_id | string (uuid) | Yes | — |
| name | string | Yes | at least 1 characters; at most 200 characters |
| amount | number | Yes | greater than 0 |
| currency | string | Yes | 3 characters; matches ^[A-Z]{3}$ |
| billing_cycle | "monthly" | "quarterly" | "yearly" | Yes | — |
| status | "active" | "paused" | Yes | — |
| billing_anchor_date | string (date) | Yes | — |
| tracking_start_date | string (date) | Yes | — |
| paused_since | string (date) | null | Yes | — |
| next_payment_date | string (date) | null | Yes | — |
| created_at | string (date-time) | Yes | — |
| updated_at | string (date-time) | Yes | — |
| has_overdue | boolean | Yes | — |
| overdue_count | integer | Yes | at least 0 |
| category | object | Yes | — |
| category.id | string (uuid) | Yes | — |
| category.workspace_id | string (uuid) | Yes | — |
| category.user_id | string (uuid) | null | Yes | — |
| category.name | string | Yes | at least 1 characters; at most 100 characters |
| category.color_hex | string | Yes | matches ^[0-9a-fA-F]{6}$ |
| category.created_at | string (date-time) | Yes | — |
| category.updated_at | string (date-time) | Yes | — |
| provider_slug | null | string | Yes | — |
| provider_id | null | string (uuid) | Yes | — |
| provider | object | null | Yes | — |
| provider.key | string | Yes | — |
| provider.kind | "catalog" | "custom" | Yes | — |
| provider.name | string | Yes | — |
| provider.domain | null | string | Yes | — |
| provider.color_hex | null | string | Yes | matches ^[0-9a-fA-F]{6}$ |
{
"id": "5f0c2a4e-8d1b-4c7a-9e3f-2b6d8a1c4e7f",
"workspace_id": "5f0c2a4e-8d1b-4c7a-9e3f-2b6d8a1c4e7f",
"user_id": "5f0c2a4e-8d1b-4c7a-9e3f-2b6d8a1c4e7f",
"category_id": "5f0c2a4e-8d1b-4c7a-9e3f-2b6d8a1c4e7f",
"name": "Vercel Pro",
"amount": 49,
"currency": "USD",
"billing_cycle": "monthly",
"status": "active",
"billing_anchor_date": "2026-11-05",
"tracking_start_date": "2026-11-05",
"paused_since": "2026-11-05",
"next_payment_date": "2026-11-05",
"created_at": "2026-11-05T09:30:00.000Z",
"updated_at": "2026-11-05T09:30:00.000Z",
"has_overdue": false,
"overdue_count": 0,
"category": {
"id": "5f0c2a4e-8d1b-4c7a-9e3f-2b6d8a1c4e7f",
"workspace_id": "5f0c2a4e-8d1b-4c7a-9e3f-2b6d8a1c4e7f",
"user_id": "5f0c2a4e-8d1b-4c7a-9e3f-2b6d8a1c4e7f",
"name": "Vercel Pro",
"color_hex": "2563EB",
"created_at": "2026-11-05T09:30:00.000Z",
"updated_at": "2026-11-05T09:30:00.000Z"
},
"provider_slug": "string",
"provider_id": "5f0c2a4e-8d1b-4c7a-9e3f-2b6d8a1c4e7f",
"provider": {
"key": "string",
"kind": "catalog",
"name": "Vercel Pro",
"domain": "string",
"color_hex": "2563EB"
}
}Errors: 400, 401, 402, 403, 404, 409, 429. See errors.
List a subscription's payment records
GET/api/v1/subscriptions/{subscriptionId}/paymentsRead key
Every recorded payment of one subscription, by due date, newest first.
| Parameter | In | Type | Required | Description |
|---|---|---|---|---|
| subscriptionId | path | string (uuid) | Yes | The ID of the subscription. |
curl "https://syscost.app/api/v1/subscriptions/5f0c2a4e-8d1b-4c7a-9e3f-2b6d8a1c4e7f/payments" \
-H "Authorization: Bearer $SYSCOST_API_KEY"Response fields · 200
| Field | Type | Required | Description |
|---|---|---|---|
| [].id | string (uuid) | Yes | — |
| [].occurrence_status | "paid" | "due" | "failed" | "skipped" | "overdue" | Yes | — |
| [].subscription_id | string (uuid) | Yes | — |
| [].amount_paid | number | Yes | greater than 0 |
| [].currency | string | Yes | 3 characters; matches ^[A-Z]{3}$ |
| [].status | "paid" | "due" | "failed" | "skipped" | Yes | — |
| [].due_date | string (date) | Yes | — |
| [].paid_on_date | string (date) | null | Yes | — |
| [].created_at | string (date-time) | Yes | — |
[
{
"id": "5f0c2a4e-8d1b-4c7a-9e3f-2b6d8a1c4e7f",
"occurrence_status": "paid",
"subscription_id": "5f0c2a4e-8d1b-4c7a-9e3f-2b6d8a1c4e7f",
"amount_paid": 49,
"currency": "USD",
"status": "paid",
"due_date": "2026-11-05",
"paid_on_date": "2026-11-05",
"created_at": "2026-11-05T09:30:00.000Z"
}
]Errors: 400, 401, 402, 403, 404, 429. See errors.
List a subscription's occurrences
GET/api/v1/subscriptions/{subscriptionId}/timelineRead key
Every due date of one subscription between start and end, recorded or not, with its status: paid, due, failed or skipped when recorded; otherwise upcoming, overdue or untracked (before tracking started). Paginated.
| Parameter | In | Type | Required | Description |
|---|---|---|---|---|
| subscriptionId | path | string (uuid) | Yes | The ID of the subscription. |
| start | query | string (date) | Yes | — |
| end | query | string (date) | Yes | — |
| order | query | "desc" | "asc" | No | default "desc" |
| cursor | query | string | No | at least 1 characters |
| limit | query | integer | No | at least 1; at most 100; default 25 |
curl "https://syscost.app/api/v1/subscriptions/5f0c2a4e-8d1b-4c7a-9e3f-2b6d8a1c4e7f/timeline?start=2026-11-01&end=2026-11-01" \
-H "Authorization: Bearer $SYSCOST_API_KEY"Response fields · 200
| Field | Type | Required | Description |
|---|---|---|---|
| data | object[] | Yes | — |
| data[].subscription_id | string (uuid) | Yes | — |
| data[].due_date | string (date) | Yes | — |
| data[].kind | "virtual" | "recorded" | Yes | — |
| data[].status | "paid" | "due" | "failed" | "skipped" | "upcoming" | "overdue" | "untracked" | Yes | — |
| data[].amount | number | Yes | greater than 0 |
| data[].currency | string | Yes | 3 characters; matches ^[A-Z]{3}$ |
| data[].payment_id | string (uuid) | null | Yes | — |
| data[].paid_on_date | string (date) | null | Yes | — |
| data[].is_off_cycle | boolean | Yes | — |
| meta | object | Yes | — |
| meta.hasNextPage | boolean | Yes | — |
| meta.nextCursor | string | null | Yes | at least 1 characters |
{
"data": [
{
"subscription_id": "5f0c2a4e-8d1b-4c7a-9e3f-2b6d8a1c4e7f",
"due_date": "2026-11-05",
"kind": "virtual",
"status": "paid",
"amount": 49,
"currency": "USD",
"payment_id": "5f0c2a4e-8d1b-4c7a-9e3f-2b6d8a1c4e7f",
"paid_on_date": "2026-11-05",
"is_off_cycle": false
}
],
"meta": {
"hasNextPage": false,
"nextCursor": "string"
}
}Errors: 400, 401, 402, 403, 404, 429. See errors.
Payments
The payment ledger: record, correct and list payments, and find what is overdue.
- GET /payments · List payment records
- POST /payments · Record a payment
- GET /payments/overdue · List overdue payments
- PATCH /payments/{id} · Update a payment record
- DELETE /payments/{id} · Delete a payment record
List payment records
GET/api/v1/paymentsRead key
Payment records across all subscriptions, by due date, newest first, with cursor pagination: pass meta.nextCursor as cursor while meta.hasNextPage is true. Filter by status (including the derived overdue) and search by subscription name. counts gives the totals per status for the current search.
| Parameter | In | Type | Required | Description |
|---|---|---|---|---|
| cursor | query | string | No | at least 1 characters |
| limit | query | integer | No | at least 1; at most 100; default 25 |
| status | query | "paid" | "due" | "overdue" | "failed" | "skipped" | No | — |
| search | query | string | No | at most 200 characters |
curl "https://syscost.app/api/v1/payments" \
-H "Authorization: Bearer $SYSCOST_API_KEY"Response fields · 200
| Field | Type | Required | Description |
|---|---|---|---|
| data | object[] | Yes | — |
| data[].id | string (uuid) | Yes | — |
| data[].occurrence_status | "paid" | "due" | "failed" | "skipped" | "overdue" | Yes | — |
| data[].subscription_id | string (uuid) | Yes | — |
| data[].amount_paid | number | Yes | greater than 0 |
| data[].currency | string | Yes | 3 characters; matches ^[A-Z]{3}$ |
| data[].status | "paid" | "due" | "failed" | "skipped" | Yes | — |
| data[].due_date | string (date) | Yes | — |
| data[].paid_on_date | string (date) | null | Yes | — |
| data[].created_at | string (date-time) | Yes | — |
| data[].subscription_name | string | Yes | — |
| data[].provider_name | string | null | Yes | — |
| data[].category_color_hex | string | Yes | — |
| meta | object | Yes | — |
| meta.hasNextPage | boolean | Yes | — |
| meta.nextCursor | string | null | Yes | at least 1 characters |
| counts | object | Yes | — |
| counts.all | integer | Yes | at least 0 |
| counts.paid | integer | Yes | at least 0 |
| counts.due | integer | Yes | at least 0 |
| counts.overdue | integer | Yes | at least 0 |
| counts.failed | integer | Yes | at least 0 |
| counts.skipped | integer | Yes | at least 0 |
{
"data": [
{
"id": "5f0c2a4e-8d1b-4c7a-9e3f-2b6d8a1c4e7f",
"occurrence_status": "paid",
"subscription_id": "5f0c2a4e-8d1b-4c7a-9e3f-2b6d8a1c4e7f",
"amount_paid": 49,
"currency": "USD",
"status": "paid",
"due_date": "2026-11-05",
"paid_on_date": "2026-11-05",
"created_at": "2026-11-05T09:30:00.000Z",
"subscription_name": "Vercel Pro",
"provider_name": "Vercel Pro",
"category_color_hex": "string"
}
],
"meta": {
"hasNextPage": false,
"nextCursor": "string"
},
"counts": {
"all": 0,
"paid": 0,
"due": 0,
"overdue": 0,
"failed": 0,
"skipped": 0
}
}Errors: 400, 401, 402, 403, 429. See errors.
Record a payment
POST/api/v1/paymentsRead-and-write key
Records the outcome of one due date: paid, due, failed or skipped. A record on a scheduled due date settles that occurrence; any other date is kept as an off-cycle payment. Recording a due date that already has a record updates that record, so retrying the same request is safe. Paid, failed and skipped records notify the channels that subscribe to payment updates.
| Field | Type | Required | Description |
|---|---|---|---|
| subscription_id | string (uuid) | Yes | — |
| amount_paid | number | Yes | greater than 0 |
| currency | string | Yes | 3 characters; matches ^[A-Z]{3}$ |
| status | "paid" | "due" | "failed" | "skipped" | Yes | — |
| due_date | string (date) | Yes | — |
| paid_on_date | string (date) | null | No | — |
curl -X POST "https://syscost.app/api/v1/payments" \
-H "Authorization: Bearer $SYSCOST_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"subscription_id": "5f0c2a4e-8d1b-4c7a-9e3f-2b6d8a1c4e7f",
"amount_paid": 49,
"currency": "USD",
"status": "paid",
"due_date": "2026-11-05",
"paid_on_date": "2026-11-05"
}'Response fields · 201
| Field | Type | Required | Description |
|---|---|---|---|
| id | string (uuid) | Yes | — |
| occurrence_status | "paid" | "due" | "failed" | "skipped" | "overdue" | Yes | — |
| subscription_id | string (uuid) | Yes | — |
| amount_paid | number | Yes | greater than 0 |
| currency | string | Yes | 3 characters; matches ^[A-Z]{3}$ |
| status | "paid" | "due" | "failed" | "skipped" | Yes | — |
| due_date | string (date) | Yes | — |
| paid_on_date | string (date) | null | Yes | — |
| created_at | string (date-time) | Yes | — |
{
"id": "5f0c2a4e-8d1b-4c7a-9e3f-2b6d8a1c4e7f",
"occurrence_status": "paid",
"subscription_id": "5f0c2a4e-8d1b-4c7a-9e3f-2b6d8a1c4e7f",
"amount_paid": 49,
"currency": "USD",
"status": "paid",
"due_date": "2026-11-05",
"paid_on_date": "2026-11-05",
"created_at": "2026-11-05T09:30:00.000Z"
}Errors: 400, 401, 402, 403, 404, 409, 429. See errors.
List overdue payments
GET/api/v1/payments/overdueRead key
Every overdue occurrence, recorded or not, oldest first: the same list and count as the dashboard.
| Parameter | In | Type | Required | Description |
|---|---|---|---|---|
| search | query | string | No | at most 200 characters |
curl "https://syscost.app/api/v1/payments/overdue" \
-H "Authorization: Bearer $SYSCOST_API_KEY"Response fields · 200
| Field | Type | Required | Description |
|---|---|---|---|
| data | object[] | Yes | — |
| data[].subscription_id | string (uuid) | Yes | — |
| data[].due_date | string (date) | Yes | — |
| data[].kind | "virtual" | "recorded" | Yes | — |
| data[].status | "paid" | "due" | "failed" | "skipped" | "upcoming" | "overdue" | "untracked" | Yes | — |
| data[].amount | number | Yes | greater than 0 |
| data[].currency | string | Yes | 3 characters; matches ^[A-Z]{3}$ |
| data[].payment_id | string (uuid) | null | Yes | — |
| data[].paid_on_date | string (date) | null | Yes | — |
| data[].is_off_cycle | boolean | Yes | — |
| data[].subscription_name | string | Yes | — |
| data[].provider_name | string | null | Yes | — |
| data[].category_id | string (uuid) | Yes | — |
| data[].category_color_hex | string | Yes | matches ^[0-9a-fA-F]{6}$ |
| total | integer | Yes | at least 0 |
{
"data": [
{
"subscription_id": "5f0c2a4e-8d1b-4c7a-9e3f-2b6d8a1c4e7f",
"due_date": "2026-11-05",
"kind": "virtual",
"status": "paid",
"amount": 49,
"currency": "USD",
"payment_id": "5f0c2a4e-8d1b-4c7a-9e3f-2b6d8a1c4e7f",
"paid_on_date": "2026-11-05",
"is_off_cycle": false,
"subscription_name": "Vercel Pro",
"provider_name": "Vercel Pro",
"category_id": "5f0c2a4e-8d1b-4c7a-9e3f-2b6d8a1c4e7f",
"category_color_hex": "2563EB"
}
],
"total": 0
}Errors: 400, 401, 402, 403, 429. See errors.
Update a payment record
PATCH/api/v1/payments/{id}Read-and-write key
Changes any subset of amount, currency, status, due date and paid-on date. Moving a record onto a due date that already has one returns 409.
| Parameter | In | Type | Required | Description |
|---|---|---|---|---|
| id | path | string (uuid) | Yes | The ID of the record. |
| Field | Type | Required | Description |
|---|---|---|---|
| amount_paid | number | No | greater than 0 |
| currency | string | No | 3 characters; matches ^[A-Z]{3}$ |
| status | "paid" | "due" | "failed" | "skipped" | No | — |
| due_date | string (date) | No | — |
| paid_on_date | string (date) | null | No | — |
curl -X PATCH "https://syscost.app/api/v1/payments/5f0c2a4e-8d1b-4c7a-9e3f-2b6d8a1c4e7f" \
-H "Authorization: Bearer $SYSCOST_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"amount_paid": 49,
"currency": "USD",
"status": "paid",
"due_date": "2026-11-05",
"paid_on_date": "2026-11-05"
}'Response fields · 200
| Field | Type | Required | Description |
|---|---|---|---|
| id | string (uuid) | Yes | — |
| occurrence_status | "paid" | "due" | "failed" | "skipped" | "overdue" | Yes | — |
| subscription_id | string (uuid) | Yes | — |
| amount_paid | number | Yes | greater than 0 |
| currency | string | Yes | 3 characters; matches ^[A-Z]{3}$ |
| status | "paid" | "due" | "failed" | "skipped" | Yes | — |
| due_date | string (date) | Yes | — |
| paid_on_date | string (date) | null | Yes | — |
| created_at | string (date-time) | Yes | — |
{
"id": "5f0c2a4e-8d1b-4c7a-9e3f-2b6d8a1c4e7f",
"occurrence_status": "paid",
"subscription_id": "5f0c2a4e-8d1b-4c7a-9e3f-2b6d8a1c4e7f",
"amount_paid": 49,
"currency": "USD",
"status": "paid",
"due_date": "2026-11-05",
"paid_on_date": "2026-11-05",
"created_at": "2026-11-05T09:30:00.000Z"
}Errors: 400, 401, 402, 403, 404, 409, 429. See errors.
Delete a payment record
DELETE/api/v1/payments/{id}Read-and-write key
Deletes the record; the due date goes back to upcoming or overdue.
| Parameter | In | Type | Required | Description |
|---|---|---|---|---|
| id | path | string (uuid) | Yes | The ID of the record. |
curl -X DELETE "https://syscost.app/api/v1/payments/5f0c2a4e-8d1b-4c7a-9e3f-2b6d8a1c4e7f" \
-H "Authorization: Bearer $SYSCOST_API_KEY"Responds 204 No Content with an empty body.
Errors: 400, 401, 402, 403, 404, 409, 429. See errors.
Categories
Categories that group subscriptions for budgets and reports.
- GET /categories · List categories
- POST /categories · Create a category
- PUT /categories/{id} · Update a category
- DELETE /categories/{id} · Delete a category
List categories
GET/api/v1/categoriesRead key
Every category in the workspace.
curl "https://syscost.app/api/v1/categories" \
-H "Authorization: Bearer $SYSCOST_API_KEY"Response fields · 200
| Field | Type | Required | Description |
|---|---|---|---|
| [].id | string (uuid) | Yes | — |
| [].workspace_id | string (uuid) | Yes | — |
| [].user_id | string (uuid) | null | Yes | — |
| [].name | string | Yes | at least 1 characters; at most 100 characters |
| [].color_hex | string | Yes | matches ^[0-9a-fA-F]{6}$ |
| [].created_at | string (date-time) | Yes | — |
| [].updated_at | string (date-time) | Yes | — |
[
{
"id": "5f0c2a4e-8d1b-4c7a-9e3f-2b6d8a1c4e7f",
"workspace_id": "5f0c2a4e-8d1b-4c7a-9e3f-2b6d8a1c4e7f",
"user_id": "5f0c2a4e-8d1b-4c7a-9e3f-2b6d8a1c4e7f",
"name": "Vercel Pro",
"color_hex": "2563EB",
"created_at": "2026-11-05T09:30:00.000Z",
"updated_at": "2026-11-05T09:30:00.000Z"
}
]Errors: 401, 402, 403, 429. See errors.
Create a category
POST/api/v1/categoriesRead-and-write key
Adds a category. color_hex is six hex digits without #.
| Field | Type | Required | Description |
|---|---|---|---|
| name | string | Yes | at least 1 characters; at most 100 characters |
| color_hex | string | Yes | matches ^[0-9a-fA-F]{6}$ |
curl -X POST "https://syscost.app/api/v1/categories" \
-H "Authorization: Bearer $SYSCOST_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"name": "Vercel Pro",
"color_hex": "2563EB"
}'Response fields · 201
| Field | Type | Required | Description |
|---|---|---|---|
| id | string (uuid) | Yes | — |
| workspace_id | string (uuid) | Yes | — |
| user_id | string (uuid) | null | Yes | — |
| name | string | Yes | at least 1 characters; at most 100 characters |
| color_hex | string | Yes | matches ^[0-9a-fA-F]{6}$ |
| created_at | string (date-time) | Yes | — |
| updated_at | string (date-time) | Yes | — |
{
"id": "5f0c2a4e-8d1b-4c7a-9e3f-2b6d8a1c4e7f",
"workspace_id": "5f0c2a4e-8d1b-4c7a-9e3f-2b6d8a1c4e7f",
"user_id": "5f0c2a4e-8d1b-4c7a-9e3f-2b6d8a1c4e7f",
"name": "Vercel Pro",
"color_hex": "2563EB",
"created_at": "2026-11-05T09:30:00.000Z",
"updated_at": "2026-11-05T09:30:00.000Z"
}Errors: 400, 401, 402, 403, 404, 409, 429. See errors.
Update a category
PUT/api/v1/categories/{id}Read-and-write key
Renames or recolours a category.
| Parameter | In | Type | Required | Description |
|---|---|---|---|---|
| id | path | string (uuid) | Yes | The ID of the record. |
| Field | Type | Required | Description |
|---|---|---|---|
| name | string | No | at least 1 characters; at most 100 characters |
| color_hex | string | No | matches ^[0-9a-fA-F]{6}$ |
curl -X PUT "https://syscost.app/api/v1/categories/5f0c2a4e-8d1b-4c7a-9e3f-2b6d8a1c4e7f" \
-H "Authorization: Bearer $SYSCOST_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"name": "Vercel Pro",
"color_hex": "2563EB"
}'Response fields · 200
| Field | Type | Required | Description |
|---|---|---|---|
| id | string (uuid) | Yes | — |
| workspace_id | string (uuid) | Yes | — |
| user_id | string (uuid) | null | Yes | — |
| name | string | Yes | at least 1 characters; at most 100 characters |
| color_hex | string | Yes | matches ^[0-9a-fA-F]{6}$ |
| created_at | string (date-time) | Yes | — |
| updated_at | string (date-time) | Yes | — |
{
"id": "5f0c2a4e-8d1b-4c7a-9e3f-2b6d8a1c4e7f",
"workspace_id": "5f0c2a4e-8d1b-4c7a-9e3f-2b6d8a1c4e7f",
"user_id": "5f0c2a4e-8d1b-4c7a-9e3f-2b6d8a1c4e7f",
"name": "Vercel Pro",
"color_hex": "2563EB",
"created_at": "2026-11-05T09:30:00.000Z",
"updated_at": "2026-11-05T09:30:00.000Z"
}Errors: 400, 401, 402, 403, 404, 409, 429. See errors.
Delete a category
DELETE/api/v1/categories/{id}Read-and-write key
Deletes an empty category. A category that still has subscriptions returns 409; move them first.
| Parameter | In | Type | Required | Description |
|---|---|---|---|---|
| id | path | string (uuid) | Yes | The ID of the record. |
curl -X DELETE "https://syscost.app/api/v1/categories/5f0c2a4e-8d1b-4c7a-9e3f-2b6d8a1c4e7f" \
-H "Authorization: Bearer $SYSCOST_API_KEY"Responds 204 No Content with an empty body.
Errors: 400, 401, 402, 403, 404, 409, 429. See errors.
Providers
The workspace's own providers, beyond the built-in catalog.
- GET /providers · List custom providers
- POST /providers · Create a custom provider
- PATCH /providers/{id} · Update a custom provider
- DELETE /providers/{id} · Delete a custom provider
List custom providers
GET/api/v1/providersRead key
The workspace's own providers. Built-in catalog providers are referenced by provider_slug on subscriptions and are not listed here.
curl "https://syscost.app/api/v1/providers" \
-H "Authorization: Bearer $SYSCOST_API_KEY"Response fields · 200
| Field | Type | Required | Description |
|---|---|---|---|
| [].id | string (uuid) | Yes | — |
| [].name | string | Yes | — |
| [].domain | null | string | Yes | — |
| [].color_hex | string | Yes | matches ^[0-9a-fA-F]{6}$ |
| [].subscription_count | integer | Yes | at least 0 |
| [].created_at | string (date-time) | Yes | — |
[
{
"id": "5f0c2a4e-8d1b-4c7a-9e3f-2b6d8a1c4e7f",
"name": "Vercel Pro",
"domain": "string",
"color_hex": "2563EB",
"subscription_count": 0,
"created_at": "2026-11-05T09:30:00.000Z"
}
]Errors: 401, 402, 403, 429. See errors.
Create a custom provider
POST/api/v1/providersRead-and-write key
Adds a provider that is not in the catalog, such as an internal vendor.
| Field | Type | Required | Description |
|---|---|---|---|
| name | string | Yes | at least 1 characters; at most 80 characters |
| domain | null | string | No | at most 255 characters; matches ^[A-Za-z0-9.-]+\.[A-Za-z]{2,}$ |
| color_hex | string | No | matches ^[0-9a-fA-F]{6}$ |
curl -X POST "https://syscost.app/api/v1/providers" \
-H "Authorization: Bearer $SYSCOST_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"name": "Vercel Pro",
"domain": "string",
"color_hex": "2563EB"
}'Response fields · 201
| Field | Type | Required | Description |
|---|---|---|---|
| id | string (uuid) | Yes | — |
| name | string | Yes | — |
| domain | null | string | Yes | — |
| color_hex | string | Yes | matches ^[0-9a-fA-F]{6}$ |
| subscription_count | integer | Yes | at least 0 |
| created_at | string (date-time) | Yes | — |
{
"id": "5f0c2a4e-8d1b-4c7a-9e3f-2b6d8a1c4e7f",
"name": "Vercel Pro",
"domain": "string",
"color_hex": "2563EB",
"subscription_count": 0,
"created_at": "2026-11-05T09:30:00.000Z"
}Errors: 400, 401, 402, 403, 404, 409, 429. See errors.
Update a custom provider
PATCH/api/v1/providers/{id}Read-and-write key
Changes the name, domain or colour of a custom provider.
| Parameter | In | Type | Required | Description |
|---|---|---|---|---|
| id | path | string (uuid) | Yes | The ID of the record. |
| Field | Type | Required | Description |
|---|---|---|---|
| name | string | No | at least 1 characters; at most 80 characters |
| domain | null | string | No | at most 255 characters; matches ^[A-Za-z0-9.-]+\.[A-Za-z]{2,}$ |
| color_hex | string | No | matches ^[0-9a-fA-F]{6}$ |
curl -X PATCH "https://syscost.app/api/v1/providers/5f0c2a4e-8d1b-4c7a-9e3f-2b6d8a1c4e7f" \
-H "Authorization: Bearer $SYSCOST_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"name": "Vercel Pro",
"domain": "string",
"color_hex": "2563EB"
}'Response fields · 200
| Field | Type | Required | Description |
|---|---|---|---|
| id | string (uuid) | Yes | — |
| name | string | Yes | — |
| domain | null | string | Yes | — |
| color_hex | string | Yes | matches ^[0-9a-fA-F]{6}$ |
| subscription_count | integer | Yes | at least 0 |
| created_at | string (date-time) | Yes | — |
{
"id": "5f0c2a4e-8d1b-4c7a-9e3f-2b6d8a1c4e7f",
"name": "Vercel Pro",
"domain": "string",
"color_hex": "2563EB",
"subscription_count": 0,
"created_at": "2026-11-05T09:30:00.000Z"
}Errors: 400, 401, 402, 403, 404, 409, 429. See errors.
Delete a custom provider
DELETE/api/v1/providers/{id}Read-and-write key
Deletes a custom provider. If subscriptions use it, pass move_to_slug (a catalog provider) or move_to_id (another custom provider) to move them; otherwise the request returns 409.
| Parameter | In | Type | Required | Description |
|---|---|---|---|---|
| id | path | string (uuid) | Yes | The ID of the record. |
| move_to_slug | query | string | No | at least 1 characters; at most 64 characters |
| move_to_id | query | string (uuid) | No | — |
curl -X DELETE "https://syscost.app/api/v1/providers/5f0c2a4e-8d1b-4c7a-9e3f-2b6d8a1c4e7f" \
-H "Authorization: Bearer $SYSCOST_API_KEY"Responds 204 No Content with an empty body.
Errors: 400, 401, 402, 403, 404, 409, 429. See errors.
Calendar
Every payment occurrence over a date range: paid, due, upcoming or overdue.
- GET /calendar · List occurrences in a date range
List occurrences in a date range
GET/api/v1/calendarRead key
Every payment occurrence of every subscription between start and end (inclusive, at most 400 days), with its status. Without dates, it covers 90 days either side of today in the workspace time zone.
| Parameter | In | Type | Required | Description |
|---|---|---|---|---|
| start | query | string (date) | No | — |
| end | query | string (date) | No | — |
curl "https://syscost.app/api/v1/calendar" \
-H "Authorization: Bearer $SYSCOST_API_KEY"Response fields · 200
| Field | Type | Required | Description |
|---|---|---|---|
| [].subscription_id | string (uuid) | Yes | — |
| [].due_date | string (date) | Yes | — |
| [].kind | "virtual" | "recorded" | Yes | — |
| [].status | "paid" | "due" | "failed" | "skipped" | "upcoming" | "overdue" | "untracked" | Yes | — |
| [].amount | number | Yes | greater than 0 |
| [].currency | string | Yes | 3 characters; matches ^[A-Z]{3}$ |
| [].payment_id | string (uuid) | null | Yes | — |
| [].paid_on_date | string (date) | null | Yes | — |
| [].is_off_cycle | boolean | Yes | — |
| [].subscription_name | string | Yes | — |
| [].provider_name | string | null | Yes | — |
| [].category_id | string (uuid) | Yes | — |
| [].category_color_hex | string | Yes | matches ^[0-9a-fA-F]{6}$ |
[
{
"subscription_id": "5f0c2a4e-8d1b-4c7a-9e3f-2b6d8a1c4e7f",
"due_date": "2026-11-05",
"kind": "virtual",
"status": "paid",
"amount": 49,
"currency": "USD",
"payment_id": "5f0c2a4e-8d1b-4c7a-9e3f-2b6d8a1c4e7f",
"paid_on_date": "2026-11-05",
"is_off_cycle": false,
"subscription_name": "Vercel Pro",
"provider_name": "Vercel Pro",
"category_id": "5f0c2a4e-8d1b-4c7a-9e3f-2b6d8a1c4e7f",
"category_color_hex": "2563EB"
}
]Errors: 400, 401, 402, 403, 429. See errors.
Dashboard
The figures on the dashboard: spend, upcoming renewals and totals.
- GET /dashboard · Retrieve dashboard figures
Retrieve dashboard figures
GET/api/v1/dashboardRead key
The dashboard's figures: monthly and annual spend converted into the workspace currency, the native amount per currency with the exchange-rate date (amounts without a rate are listed, never summed), spend by category, the overdue count and total, and this month against the budget.
curl "https://syscost.app/api/v1/dashboard" \
-H "Authorization: Bearer $SYSCOST_API_KEY"Response fields · 200
| Field | Type | Required | Description |
|---|---|---|---|
| currency | string | Yes | 3 characters |
| total_monthly_spend | number | Yes | at least 0 |
| total_annual_spend | number | Yes | at least 0 |
| category_breakdown | object[] | Yes | — |
| category_breakdown[].category_id | string (uuid) | Yes | — |
| category_breakdown[].category_name | string | Yes | — |
| category_breakdown[].color_hex | string | Yes | matches ^[0-9a-fA-F]{6}$ |
| category_breakdown[].total_spend | number | Yes | at least 0 |
| overdue_count | integer | Yes | at least 0 |
| overdue_total | number | Yes | at least 0 |
| today | string (date) | Yes | — |
| monthly | object | Yes | — |
| monthly.currency | string | Yes | 3 characters |
| monthly.total | number | Yes | at least 0 |
| monthly.by_currency | object[] | Yes | — |
| monthly.by_currency[].currency | string | Yes | 3 characters |
| monthly.by_currency[].total | number | Yes | at least 0 |
| monthly.by_currency[].converted | null | number | Yes | at least 0 |
| monthly.unconverted | object[] | Yes | — |
| monthly.unconverted[].currency | string | Yes | 3 characters |
| monthly.unconverted[].total | number | Yes | at least 0 |
| monthly.fx_as_of | null | string (date) | Yes | — |
| budget | object | Yes | — |
| budget.month | string | Yes | matches ^\d{4}-\d{2}$ |
| budget.currency | string | Yes | 3 characters |
| budget.budget | number | null | Yes | — |
| budget.paid_to_date | number | Yes | — |
| budget.projected | number | Yes | — |
| budget.status | "none" | "ok" | "warning" | "over" | Yes | — |
| budget.categories | object[] | Yes | — |
| budget.categories[].category_id | string (uuid) | Yes | — |
| budget.categories[].category_name | string | Yes | — |
| budget.categories[].color_hex | string | Yes | — |
| budget.categories[].budget | number | Yes | — |
| budget.categories[].projected | number | Yes | — |
| budget.categories[].status | "ok" | "warning" | "over" | Yes | — |
| budget.fx_as_of | string (date) | null | Yes | — |
| budget.unconverted | object[] | Yes | — |
| budget.unconverted[].currency | string | Yes | 3 characters |
| budget.unconverted[].total | number | Yes | — |
{
"currency": "USD",
"total_monthly_spend": 49,
"total_annual_spend": 49,
"category_breakdown": [
{
"category_id": "5f0c2a4e-8d1b-4c7a-9e3f-2b6d8a1c4e7f",
"category_name": "Vercel Pro",
"color_hex": "2563EB",
"total_spend": 49
}
],
"overdue_count": 0,
"overdue_total": 49,
"today": "2026-11-05",
"monthly": {
"currency": "USD",
"total": 49,
"by_currency": [
{
"currency": "USD",
"total": 49,
"converted": 1
}
],
"unconverted": [
{
"currency": "USD",
"total": 49
}
],
"fx_as_of": "2026-11-05"
},
"budget": {
"month": "string",
"currency": "USD",
"budget": 1,
"paid_to_date": 1,
"projected": 1,
"status": "none",
"categories": [
{
"category_id": "5f0c2a4e-8d1b-4c7a-9e3f-2b6d8a1c4e7f",
"category_name": "Vercel Pro",
"color_hex": "string",
"budget": 1,
"projected": 1,
"status": "ok"
}
],
"fx_as_of": "2026-11-05",
"unconverted": [
{
"currency": "USD",
"total": 49
}
]
}
}Errors: 401, 402, 403, 429. See errors.