# Redeem a reward

## OpenAPI Specification

```yaml
openapi: 3.0.1
info:
  title: ''
  description: ''
  version: 1.0.0
paths:
  /v1/programs/{programId}/reward/redeem:
    post:
      summary: Redeem a reward
      deprecated: false
      description: ''
      operationId: CustomerActionsController_redeemReward_v1
      tags:
        - Customers
        - Customer Actions
      parameters:
        - name: programId
          in: path
          description: ''
          required: true
          example: '{{slug-or-program-id}}'
          schema:
            type: string
      requestBody:
        content:
          application/json:
            schema:
              type: array
              items:
                $ref: '#/components/schemas/RewardRedeemDto'
            examples: {}
      responses:
        '201':
          description: ''
          headers: {}
          x-apidog-name: ''
      security:
        - api-key: []
          x-apidog:
            schemeGroups:
              - id: zkbfGcY3mh9T7yiiRUSYC
                schemeIds:
                  - api-key
            required: true
            use:
              id: zkbfGcY3mh9T7yiiRUSYC
            scopes:
              zkbfGcY3mh9T7yiiRUSYC:
                api-key: []
      x-apidog-folder: Customers
      x-apidog-status: released
      x-run-in-apidog: https://app.apidog.com/web/project/1139723/apis/api-27470720-run
components:
  schemas:
    RewardRedeemDto:
      type: object
      properties:
        email:
          type: string
          description: The email of the customer to redeem the reward for
        rewardId:
          type: string
          description: The id of the reward to redeem
      required:
        - email
        - rewardId
      x-apidog-orders:
        - email
        - rewardId
      x-apidog-ignore-properties: []
      x-apidog-folder: ''
  securitySchemes:
    bearer:
      scheme: bearer
      bearerFormat: JWT
      type: jwt
    api-key:
      type: apikey
      in: header
      name: api-key
servers:
  - url: https://api.jericommerce.com
    description: Entorno producción
  - url: ''
    description: Mock Nube
security: []

```
