---
title: "Sync Consumer From Rc"
method: POST
path: "/api/v1/gtm/consumers/{user_id}/rc-sync"
tags: ["GTM - Consumers"]
---

# Sync Consumer From Rc

`POST /api/v1/gtm/consumers/{user_id}/rc-sync`

## Request

- Base URL: `https://api.gemstoneaiapp.com` (the document declares no server; this is the origin it was published from)
- URL: `https://api.gemstoneaiapp.com/api/v1/gtm/consumers/{user_id}/rc-sync`
- Auth: none declared

Fetch live state from RevenueCat and update the local UserSubscription.

Resolves webhook lag when ops needs the current truth for a single user.

## Path parameters

- `user_id` integer, required

## Headers

- `x-admin-key` string, nullable

## Response `200`

Successful Response

- RcSyncResponse
  - `ok` boolean, required
  - `message` string, required
  - `user_id` integer, required
  - `status` string, required
  - `entitlement_id` string, nullable
  - `product_id` string, nullable
  - `store` string, nullable
  - `current_period_end` string, date-time, nullable
  - `cancel_at_period_end` boolean

## Other responses

- `422`: Validation Error

---

[API](https://skmtc.dev/gemstoneaiapp/apis/gemstoneai-api.md) · [All operations](https://skmtc.dev/gemstoneaiapp/apis/gemstoneai-api/llms.txt) · [OpenAPI document](https://skmtc.dev/gemstoneaiapp/apis/gemstoneai-api/revisions/fcb441f55161?raw)
