Set participant counter
State
Set participant counter
Set a counter on a participant.
PUT
Set participant counter
Sets a counter to a specific value. You can also configureDocumentation Index
Fetch the complete documentation index at: https://docs.scrip.dev/llms.txt
Use this file to discover all available pages before exploring further.
reset_after in the same call to enable auto-reset behavior. The key is passed as a path parameter.
This endpoint sets the counter to an absolute value, unlike the COUNTER rule action which increments the existing value. Use this for manual corrections or initializing counters from an external data source. If the counter does not exist, it is created.
For usage patterns and examples, see the State Management guide.
Authorizations
API key passed in the X-API-Key header.
Body
application/json
Counter value and optional reset_after