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

# Invite an affiliate

> Programmatically sends an email invitation to a potential affiliate. The email contains a link for joining the affiliate program.

**Usage:** Useful for programatically adding affiliates to expand marketing reach.



## OpenAPI

````yaml post /affiliates/invite
openapi: 3.0.0
info:
  title: Blink API
  description: Comprehensive API documentation for Blink.
  version: 1.0.0
servers:
  - url: https://api.blink.store/v1
security: []
paths:
  /affiliates/invite:
    post:
      tags:
        - Affiliates
      summary: Invite an affiliate
      description: >-
        Programmatically sends an email invitation to a potential affiliate. The
        email contains a link for joining the affiliate program.


        **Usage:** Useful for programatically adding affiliates to expand
        marketing reach.
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/AffiliateInviteRequest'
      responses:
        '200':
          description: Invitation sent successfully
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/AffiliateInviteResponse'
        '400':
          description: Bad Request
        '401':
          description: Unauthorized
components:
  schemas:
    AffiliateInviteRequest:
      type: object
      properties:
        email:
          type: string
      required:
        - email
    AffiliateInviteResponse:
      type: object
      properties:
        success:
          type: boolean
        message:
          type: string

````