---
title: "Ensure Subscription"
method: POST
path: "/internal/users/{user_id}/ensure-subscription"
tags: ["internal"]
---

# Ensure Subscription

`POST /internal/users/{user_id}/ensure-subscription`

## Request

- Base URL: `https://api.mengi.cloud` (the document declares no server; this is the origin it was published from)
- URL: `https://api.mengi.cloud/internal/users/{user_id}/ensure-subscription`
- Auth: none declared. Required headers: `x-service-token`

Ensure a user has an active subscription (for integration tests).

## Path parameters

- `user_id` string, uuid, required

## Headers

- `x-service-token` string, required

## Request body

- object

## Response `200`

Successful Response

- unknown

## Other responses

- `422`: Validation Error

---

[API](https://skmtc.dev/mengi/apis/mengi-cloud.md) · [All operations](https://skmtc.dev/mengi/apis/mengi-cloud/llms.txt) · [OpenAPI document](https://skmtc.dev/mengi/apis/mengi-cloud/revisions/4ae9b375cdbb?raw)
