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

# Send email

> Triggers an admin email action for the specified person. The `emailType` determines the action:

- **RESEND_ACTIVATION** — Resends the activation email to a person with INVITED status who has a platform account.
- **RESEND_OFFBOARDING** — Resends the arrange-return / offboarding email to a person who is currently being offboarded (OFFBOARDING status).
- **SEND_PLATFORM_INVITE** — Sends a platform access invite email to an ACTIVE person who does not yet have platform access. Creates a platform account and sets the person's status to INVITED.



## OpenAPI

````yaml /openapi.json post /api/v1/people/{personId}/emails
openapi: 3.1.0
info:
  title: Firstbase API Specification Beta
  description: Integration endpoints for Firstbase
  version: 0.1.0
servers:
  - url: /
    description: Default
security:
  - ApiKey: []
tags:
  - name: Catalog
    description: Browse SKUs, brands, and categories
  - name: Inventory
    description: Query and manage inventory items and assets
  - name: Inventory Levels
    description: Configure inventory levels by SKU and warehouse
  - name: Inventory Orders
    description: Create and manage inventory orders
  - name: ITAD
    description: IT asset disposition requests
  - name: New Joiners
    description: Track and remind new joiners
  - name: Offices
    description: Manage office locations
  - name: Orders
    description: Create and track equipment orders
  - name: Packages
    description: Manage equipment packages
  - name: People
    description: Provision and manage users
  - name: Regions
    description: Query regions
  - name: Replacements
    description: Create and manage equipment replacements
  - name: Returns
    description: Create and manage returns
  - name: Shipment
    description: Look up shipments and carriers
  - name: Shipment Notices
    description: Create and manage shipment notices
  - name: Warehouses
    description: Query warehouses
paths:
  /api/v1/people/{personId}/emails:
    post:
      tags:
        - People
      summary: Send email
      description: >-
        Triggers an admin email action for the specified person. The `emailType`
        determines the action:


        - **RESEND_ACTIVATION** — Resends the activation email to a person with
        INVITED status who has a platform account.

        - **RESEND_OFFBOARDING** — Resends the arrange-return / offboarding
        email to a person who is currently being offboarded (OFFBOARDING
        status).

        - **SEND_PLATFORM_INVITE** — Sends a platform access invite email to an
        ACTIVE person who does not yet have platform access. Creates a platform
        account and sets the person's status to INVITED.
      operationId: sendPersonEmail
      parameters:
        - name: personId
          in: path
          required: true
          schema:
            type: string
            format: uuid
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/PeopleEmailRequest'
        required: true
      responses:
        '200':
          description: Email sent successfully
        '400':
          description: >-
            Bad request — the person is not eligible for the requested email
            action
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/PublicApiHttpErrors'
        '403':
          description: Forbidden — missing or invalid API key
        '404':
          description: Person not found, or feature flag is disabled
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/PublicApiHttpErrors'
        '409':
          description: Conflict
          content:
            '*/*':
              schema:
                $ref: '#/components/schemas/PublicApiHttpErrors'
components:
  schemas:
    PeopleEmailRequest:
      type: object
      description: Request body for triggering an admin email action to a person
      properties:
        emailType:
          type: string
          description: >-
            The type of email action to trigger. RESEND_ACTIVATION: resend
            activation email to an INVITED person. RESEND_OFFBOARDING: resend
            the arrange-return email to a person in OFFBOARDING status.
            SEND_PLATFORM_INVITE: send a platform access invite to an ACTIVE
            person without a platform account.
          enum:
            - RESEND_ACTIVATION
            - RESEND_OFFBOARDING
            - SEND_PLATFORM_INVITE
      required:
        - emailType
    PublicApiHttpErrors:
      type: object
      properties:
        errors:
          type: array
          items:
            $ref: '#/components/schemas/PublicApiError'
      required:
        - errors
    PublicApiError:
      type: object
      properties:
        detail:
          type: string
          description: Human-readable description of the error
          example: Invalid request
        source:
          type: string
          description: >-
            Entity or field path that caused the error (for example order,
            shipmentNotice, or person:email)
          example: request
      required:
        - detail
        - source
  securitySchemes:
    ApiKey:
      type: apiKey
      description: Prefix the value with "ApiKey" to indicate the custom authorization type
      name: Authorization
      in: header

````