These docs are for v2023.10. Click to read the latest docs for v2026.04.

Subscription benefit action

This endpoint is used to log the acceptance or rejection of a subscription benefit offered to a user. It accepts the subscription benefitContentId and user decision as state inputs and logs the information into the system's database for analytics purposes.

Body parameters explained

  • benefitContentId - The unique identifier of the benefit content shown to the subscriber. This value is returned by the Subscription benefit page content API and is used to link the subscriber’s action to the specific benefit displayed.
  • state - Represents the subscriber’s decision after viewing the benefit content.
    • ACCEPTED - Subscriber accepts the benefit and keeps the subscription.
    • REJECTED - Subscriber rejects the benefit and proceeds with cancellation.

Path Params
int32
required

The unique identifier for a subscription in Loop.

Body Params
int32
required

The unique identifier of the benefit content that was shown to the subscriber.

string
enum
required

Indicates whether the subscriber accepted or rejected the benefit offered during the retention flow.

Allowed:
Response

Language
Credentials
Header
LoadingLoading…
Response
Click Try It! to start a request and see the response here! Or choose an example:
application/json