Skip to main content
The Create Promotion Enrollment endpoint allows you to enroll a user into an existing promotion by making a request to the /v2/promotions endpoint. This operation associates a user, identified by their user access token, with a specific promotion. To enroll a user in a promotion, send a POST request to the /v2/promotions endpoint with the required parameters in the request body. Here’s an example request:
Upon successful enrollment, the endpoint returns a JSON response containing the enrollment details.
The enrollment_id returned in the response can be used to track or manage the user’s enrollment in subsequent API calls.

Usage Notes

  • Ensure the promotion_id corresponds to an existing promotion in the system.
  • The user_access_token must be valid and unexpired to authenticate the user correctly.
  • This API is rate limited.