> ## Documentation Index
> Fetch the complete documentation index at: https://docs.covver.io/llms.txt
> Use this file to discover all available pages before exploring further.

# Reward Credits/Points/Gifts

> Reward your people with credits/points or gifts

<Info>The type of reward is determined by the collection - whether it's a gift store, or a credits store  </Info>


## OpenAPI

````yaml post /api/ext/v1/people/reward
openapi: 3.0.1
info:
  title: Covver External API docs
  description: Covver External API docs
  version: 0.1.0
servers:
  - url: https://staging-api.covver.io
    description: Covver Staging Server
  - url: https://api.covver.io
    description: Covver Production Server
  - url: http://localhost:8080
    description: Covver Local Server
security:
  - BearerAuth: []
tags:
  - name: Auth
    description: Authentication endpoints
  - name: Products
    description: Product endpoints
  - name: People
    description: People endpoints
  - name: Orders
    description: Orders endpoints
  - name: Reports
    description: Report endpoints
externalDocs:
  url: https://swagger.io
  description: Find more info here
paths:
  /api/ext/v1/people/reward:
    post:
      tags:
        - People
      summary: Reward Credits/Points/Gifts
      description: Reward your people with credits/points or gifts
      requestBody:
        content:
          application/json:
            schema:
              additionalProperties: false
              type: object
              properties:
                companyId:
                  type: string
                collectionId:
                  type: string
                emails:
                  type: array
                  items:
                    type: string
                amount:
                  type: number
                shouldSendEmail:
                  type: boolean
              required:
                - collectionId
                - emails
                - amount
        required: true
      responses:
        '200':
          description: Default Response
          content:
            application/json:
              schema:
                additionalProperties: false
                type: object
                properties:
                  numAffectedPeople:
                    type: number
                required:
                  - numAffectedPeople
        4XX:
          description: Default Response
          content:
            application/json:
              schema:
                type: object
                properties:
                  message:
                    type: string
                  errorCode:
                    type: string
                  error: {}
                  statusCode:
                    type: number
                required:
                  - message
                  - errorCode
                  - statusCode
        5XX:
          description: Default Response
          content:
            application/json:
              schema:
                type: object
                properties:
                  message:
                    type: string
                  errorCode:
                    type: string
                  error: {}
                  statusCode:
                    type: number
                required:
                  - message
                  - errorCode
                  - statusCode
components:
  securitySchemes:
    BearerAuth:
      type: http
      scheme: bearer
      bearerFormat: JWT

````