---
title: "Trigger subscription usage sync"
method: POST
path: "/api/v1/subscriptions/{id}/usage/sync"
tags: ["Subscriptions"]
---

# Trigger subscription usage sync

`POST /api/v1/subscriptions/{id}/usage/sync`

Triggers a usage sync for a subscription, reporting current usage to the billing provider.

## Path parameters

- `id` string, required

## Headers

- `X-ACCOUNT-ID` string
- `X-ENVIRONMENT-ID` string

## Response `200`

Whether the usage sync was triggered.

- TriggerUsageSyncResponseDto — Response object
  - `data` object, required — Result of triggering a subscription usage sync.
    - `triggered` boolean, required — Whether usage was synced to the billing provider

## Other responses

- `400` — bad request.
- `401` — User is not authenticated.
- `403` — User is not allowed to access this resource.
- `404` — Subscription not found.
- `429` — Too many requests.

---

[API](https://skmtc.net/stiggio/apis/stigg-api.md) · [All operations](https://skmtc.net/stiggio/apis/stigg-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/stiggio/stigg-api/versions/ffc977f1c07e/schema)
