---
title: "Create subscription"
method: POST
path: "/cloud/v1/user_actions/subscribe"
tags: ["User Actions"]
---

# Create subscription

`POST /cloud/v1/user_actions/subscribe`

Subscribe to the user action log. Subscription is created for the `client_id` that is taken from the JWT token.
For details on how to obtain a token, refer to the "Account / Login" section of the documentation.

## Request body

- CreateUserActionSubscriptionSerializer
  - `auth_header_name` string, required — Authorization header name
  - `auth_header_value` string, required — Authorization header value
  - `url` string, required — URL to send user action logs for the specified client

## Response `204`

No Content

---

[API](https://skmtc.dev/g-core/apis/gcore-openapi.md) · [All operations](https://skmtc.dev/g-core/apis/gcore-openapi/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/g-core/gcore-openapi/revisions/09e652815095/schema)
