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

# Resend workspace invitation

> <Info>This API is in beta. Endpoints, fields, and behavior may still change, so avoid depending on it in production.</Info>

Sends a pending workspace invitation again, with a new link. The previous link stops working, and the new one works for 60 days. The invitation keeps its role and group.

Only a pending invitation can be resent, including one that expired. Each call sends another email, so retrying sends it again. Each invitation can be resent 3 times every 10 minutes.

A `200` means the new link was saved. It doesn't confirm the email was sent. The response body is `null`.

Inviting is limited to 6 requests per minute, shared by [Invite workspace member](/api-reference/invite-workspace-member), [Invite workspace members in bulk](/api-reference/invite-workspace-members-in-bulk), [Resend workspace invitation](/api-reference/resend-workspace-invitation), and [Resend workspace invitations in bulk](/api-reference/resend-workspace-invitations-in-bulk). A signed-in session has its own limit, and every personal access token for the workspace shares one. Some workspaces have a different limit.

<Note>Call this as an owner or admin of the workspace, with a personal access token for that workspace sent as a Bearer token, or from a signed-in session. A read-only token is refused, and workspace API keys aren't accepted.</Note>



## OpenAPI

````yaml /developers/references/app-management/app-management-openapi.json post /api/workspace/invitations/resend
openapi: 3.1.0
info:
  title: Base44 App Management API
  version: 1.0.0
servers:
  - url: https://app.base44.com
security:
  - PersonalAccessTokenAuth: []
paths:
  /api/workspace/invitations/resend:
    post:
      summary: Resend workspace invitation
      description: >-
        <Info>This API is in beta. Endpoints, fields, and behavior may still
        change, so avoid depending on it in production.</Info>


        Sends a pending workspace invitation again, with a new link. The
        previous link stops working, and the new one works for 60 days. The
        invitation keeps its role and group.


        Only a pending invitation can be resent, including one that expired.
        Each call sends another email, so retrying sends it again. Each
        invitation can be resent 3 times every 10 minutes.


        A `200` means the new link was saved. It doesn't confirm the email was
        sent. The response body is `null`.


        Inviting is limited to 6 requests per minute, shared by [Invite
        workspace member](/api-reference/invite-workspace-member), [Invite
        workspace members in
        bulk](/api-reference/invite-workspace-members-in-bulk), [Resend
        workspace invitation](/api-reference/resend-workspace-invitation), and
        [Resend workspace invitations in
        bulk](/api-reference/resend-workspace-invitations-in-bulk). A signed-in
        session has its own limit, and every personal access token for the
        workspace shares one. Some workspaces have a different limit.


        <Note>Call this as an owner or admin of the workspace, with a personal
        access token for that workspace sent as a Bearer token, or from a
        signed-in session. A read-only token is refused, and workspace API keys
        aren't accepted.</Note>
      operationId: resend_workspace_invitation_api_workspace_invitations_resend_post
      parameters:
        - name: workspaceId
          in: query
          required: true
          schema:
            type: string
            minLength: 1
            description: >-
              ID of the workspace. With a personal access token, use the token's
              workspace. Get it from `organization_id` in [Get
              app](/api-reference/get-app).
            title: Workspaceid
          description: >-
            ID of the workspace. With a personal access token, use the token's
            workspace. Get it from `organization_id` in [Get
            app](/api-reference/get-app).
          example: 67e0b12c4d8a3f005b21c9e4
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/ResendInviteRequest'
      responses:
        '200':
          description: The invitation has a new link. The body is `null`.
          content:
            application/json:
              schema:
                type: 'null'
        '400':
          description: The person already joined the workspace.
        '401':
          description: Missing or invalid credentials.
        '403':
          description: >-
            You aren't an owner or admin of the workspace, your token is for a
            different workspace or is read-only, your credential can't be used
            on this endpoint, or the invitation is for `admin` and the
            workspace's plan no longer allows admins. On a HIPAA or FERPA
            workspace it's also returned, with `error.code`
            `protected_workspace_staff_membership`, when a Base44 employee adds,
            invites or raises the role of another Base44 employee. Only the
            workspace's own admins can do that.
        '404':
          description: No pending invitation for this email in the workspace.
        '409':
          description: Your workspace requires an unlocked SSO session.
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
        '429':
          description: >-
            Rate limit exceeded, or this invitation was resent 3 times in the
            last 10 minutes.
        '503':
          description: >-
            Database temporarily unavailable (`database_unavailable`): the data
            cluster did not answer in time. Retry after the `Retry-After`
            seconds.
          headers:
            Retry-After:
              description: Seconds to wait before retrying.
              schema:
                type: integer
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/StandardErrorEnvelope'
              examples:
                database_unavailable:
                  summary: database_unavailable
                  value:
                    error:
                      code: database_unavailable
                      message: Database temporarily unavailable, please retry
                      details: {}
      security:
        - PersonalAccessTokenAuth:
            - full_access
components:
  schemas:
    ResendInviteRequest:
      properties:
        email:
          type: string
          maxLength: 254
          minLength: 5
          title: Email
          description: Email the pending invitation was sent to.
          example: dana@acme.com
      type: object
      required:
        - email
      title: ResendInviteRequest
      description: A pending invitation to send again.
    HTTPValidationError:
      properties:
        detail:
          items:
            $ref: '#/components/schemas/ValidationError'
          type: array
          title: Detail
      type: object
      title: HTTPValidationError
    StandardErrorEnvelope:
      properties:
        error:
          $ref: '#/components/schemas/StandardError'
          description: What went wrong.
      type: object
      required:
        - error
      title: StandardErrorEnvelope
      description: The error body returned in the standard envelope.
    ValidationError:
      properties:
        loc:
          items:
            anyOf:
              - type: string
              - type: integer
          type: array
          title: Location
        msg:
          type: string
          title: Message
        type:
          type: string
          title: Error Type
      type: object
      required:
        - loc
        - msg
        - type
      title: ValidationError
    StandardError:
      properties:
        code:
          type: string
          title: Code
          description: >-
            Stable machine-readable cause of the failure. Match on this, not on
            `message`.
          example: not_found
        message:
          type: string
          title: Message
          description: Human-readable explanation. It isn't a stable contract.
          example: App not found
        details:
          additionalProperties: true
          type: object
          title: Details
          description: >-
            Structured context for the failure, or an empty object when there's
            none.
          example: {}
      type: object
      required:
        - code
        - message
      title: StandardError
  securitySchemes:
    PersonalAccessTokenAuth:
      type: http
      scheme: bearer
      description: >-
        Personal access token, sent as `Authorization: Bearer <token>`. Each
        operation lists the permission it needs: `read_only` or `full_access`. A
        full-access token can call every operation. A read-only token can call
        only the operations that list `read_only`; anything else returns 403
        `read_only_credential_route_not_allowed`.

````

This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.