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

# Resend a company invitation



## OpenAPI

````yaml post /v1/invitations/{id}/resend
openapi: 3.1.0
info:
  title: Flextell API
  version: 0.0.1
  description: >-
    Flextell REST API referansı. Kimlik doğrulama, scope ve istek kuralları için
    API sekmesindeki rehberlere bakın.
servers:
  - url: https://app.flextell.ai/api
    description: Üretim
security:
  - oauth2: []
  - bearer: []
paths:
  /v1/invitations/{id}/resend:
    post:
      tags:
        - Invitation
      summary: Resend a company invitation
      operationId: invitations.resend
      parameters:
        - name: id
          in: path
          required: true
          description: The invitation identifier
          schema:
            type: integer
        - name: X-Tenant
          in: header
          required: true
          description: >-
            Tenant identifier. Send the Tenant ID in the `X-Tenant` header to
            scope API requests to a specific tenant.
          schema:
            type: number
      responses:
        '200':
          description: ''
          content:
            application/json:
              schema:
                type: object
                properties:
                  success:
                    type: string
                  data:
                    $ref: '#/components/schemas/InvitationResource'
                required:
                  - success
                  - data
        '401':
          $ref: '#/components/responses/AuthenticationException'
        '403':
          $ref: '#/components/responses/AuthorizationException'
        '422':
          $ref: '#/components/responses/ValidationException'
components:
  schemas:
    InvitationResource:
      type: object
      properties:
        id:
          type: integer
          description: The invitation ID.
        email:
          type: string
          description: The invited email address.
        tenant:
          $ref: '#/components/schemas/RelatedTenantResource'
          description: The company receiving the user.
        role_id:
          type:
            - integer
            - 'null'
          description: The role assigned on acceptance.
        role_name:
          type: string
          description: The name of the assigned role.
        status:
          type: string
          description: The invitation status, including computed expiry.
        expires_at:
          type: string
          format: date-time
          description: The expiry time.
        processed_at:
          type:
            - string
            - 'null'
          format: date-time
          description: The time the invitation was accepted, rejected or cancelled.
        created_at:
          type:
            - string
            - 'null'
          format: date-time
          description: The creation time.
      required:
        - id
        - email
        - role_id
        - status
        - expires_at
        - processed_at
        - created_at
      title: InvitationResource
    RelatedTenantResource:
      type: object
      properties:
        id:
          type: integer
        name:
          type: string
      required:
        - id
        - name
      title: RelatedTenantResource
  responses:
    AuthenticationException:
      description: Unauthenticated
      content:
        application/json:
          schema:
            type: object
            properties:
              message:
                type: string
                description: Error overview.
            required:
              - message
    AuthorizationException:
      description: Authorization error
      content:
        application/json:
          schema:
            type: object
            properties:
              message:
                type: string
                description: Error overview.
            required:
              - message
    ValidationException:
      description: Validation error
      content:
        application/json:
          schema:
            type: object
            properties:
              message:
                type: string
                description: Errors overview.
              errors:
                type: object
                description: A detailed description of each field that failed validation.
                additionalProperties:
                  type: array
                  items:
                    type: string
            required:
              - message
              - errors
  securitySchemes:
    oauth2:
      type: oauth2
      flows:
        authorizationCode:
          authorizationUrl: https://dev.flextell.ai/oauth/authorize
          tokenUrl: https://dev.flextell.ai/oauth/token
          scopes:
            '*': all
    bearer:
      type: http
      scheme: bearer

````

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