---
updatedAt: 2026-08-23T09:05:53.000Z
agentTools:
  projectIndex: https://apidocs.mybanx.io/llms.txt
---

# /v{version}/indirect/companies/{companyId}/invitation

# OpenAPI definition

```json
{
  "openapi": "3.0.4",
  "info": {
    "title": "mybanx",
    "version": "v2"
  },
  "servers": [
    {
      "url": "https://api.mybanx.io/"
    }
  ],
  "paths": {
    "/v{version}/indirect/companies/{companyId}/invitation": {
      "post": {
        "tags": [
          "Invitation"
        ],
        "parameters": [
          {
            "name": "companyId",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          },
          {
            "name": "version",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "allOf": [
                  {
                    "$ref": "#/components/schemas/myBanks.API.DTO.InvitationGroup"
                  }
                ]
              }
            },
            "text/json": {
              "schema": {
                "allOf": [
                  {
                    "$ref": "#/components/schemas/myBanks.API.DTO.InvitationGroup"
                  }
                ]
              }
            },
            "application/*+json": {
              "schema": {
                "allOf": [
                  {
                    "$ref": "#/components/schemas/myBanks.API.DTO.InvitationGroup"
                  }
                ]
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/myBanks.API.DTO.InvitationResponse"
                }
              }
            }
          },
          "204": {
            "description": "No Content"
          },
          "401": {
            "description": "Unauthorized"
          },
          "403": {
            "description": "Forbidden"
          }
        },
        "security": [
          {
            "Bearer": []
          }
        ]
      }
    }
  },
  "components": {
    "schemas": {
      "myBanks.API.DTO.Invitation": {
        "required": [
          "country",
          "userEmail",
          "userFirstName",
          "userLastName"
        ],
        "type": "object",
        "properties": {
          "userFirstName": {
            "minLength": 1,
            "type": "string"
          },
          "userLastName": {
            "minLength": 1,
            "type": "string"
          },
          "userEmail": {
            "minLength": 1,
            "type": "string"
          },
          "userMobile": {
            "type": "string",
            "nullable": true
          },
          "userLanguage": {
            "type": "string",
            "nullable": true
          },
          "userBirthDate": {
            "type": "string",
            "nullable": true
          },
          "companyName": {
            "type": "string",
            "nullable": true
          },
          "companyVAT": {
            "type": "string",
            "nullable": true
          },
          "companyStreet": {
            "type": "string",
            "nullable": true
          },
          "companyZip": {
            "type": "string",
            "nullable": true
          },
          "companyCity": {
            "type": "string",
            "nullable": true
          },
          "country": {
            "minLength": 1,
            "type": "string"
          }
        },
        "additionalProperties": false
      },
      "myBanks.API.DTO.InvitationGroup": {
        "required": [
          "invitations",
          "senderEmail",
          "sharingKey"
        ],
        "type": "object",
        "properties": {
          "sharingKey": {
            "type": "string",
            "format": "uuid"
          },
          "applicationKey": {
            "type": "string",
            "format": "uuid",
            "nullable": true
          },
          "senderEmail": {
            "minLength": 1,
            "type": "string"
          },
          "invitations": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/myBanks.API.DTO.Invitation"
            }
          }
        },
        "additionalProperties": false
      },
      "myBanks.API.DTO.InvitationResponse": {
        "type": "object",
        "properties": {
          "recordsCreated": {
            "type": "integer",
            "format": "int32"
          }
        },
        "additionalProperties": false
      }
    },
    "securitySchemes": {
      "Bearer": {
        "type": "apiKey",
        "description": "JWT Authorization header using the Bearer scheme.",
        "name": "Authorization",
        "in": "header"
      }
    }
  }
}
```