---
title: "Copy of"
method: POST
path: "/{client-id}/consecutive-action-streaks/"
---

# Copy of

`POST /{client-id}/consecutive-action-streaks/`

## Request

- Base URL: `https://cf-blast.livelikecdn.com/api/v1/applications`
- URL: `https://cf-blast.livelikecdn.com/api/v1/applications/{client-id}/consecutive-action-streaks/`
- Auth: none declared

## Path parameters

- `client-id` string, required

## Request body

- object
  - `name` string, required: Name of the streak
  - `progress_action_key` string, required: The action key
  - `started_at` string: ISO Datetime when the streak will start, if null then streak is started from the day of creation
  - `stopped_at` string: ISO Datetime when the streak will stop being active, if null then streak will never end, unless its archived.
  - `freeze_start` string: ISO Datetime for starting the freeze period for everyone, so that any action performed by user will not result in streak length or any miss will not reset their streak
  - `freeze_until` string: ISO Datetime for ending the freeze period for everyone, so that any action performed by user will not result in streak length or any miss will not reset their streak
  - `freeze_reason` string: Optional reason for freezing the streak, only valid if one of freeze_start or freeze_until is provided
  - `attributes` object[]
    - `key` string: Attribute key, eg. custom_id
    - `value` string: Value of the attribute key.
  - `profile_group_ids` string[]: List of Livelike profile group ids to which this streak will be applicable, if not provided, streak will be available for all.
  - `reset_action_key` string: User action that will reset the streak.

## Response `200`

## Other responses

- `201`: Created

---

[API](https://skmtc.dev/livelike/apis/new-application.md) - [All operations](https://skmtc.dev/livelike/apis/new-application/llms.txt) - [OpenAPI document](https://skmtc.dev/livelike/apis/new-application/revisions/9c7be80fac91?raw)
