Abacus · Schema

InviteMemberRequest

Request body for inviting a new member

AccountingExpense ManagementFinanceReimbursement

Properties

Name Type Description
email string Email address for the new member
first_name string First name of the new member
last_name string Last name of the new member
role string Role to assign to the new member
department string Department to assign the new member to
View JSON Schema on GitHub

JSON Schema

abacus-invite-member-request-schema.json Raw ↑
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://raw.githubusercontent.com/api-evangelist/abacus/refs/heads/main/json-schema/abacus-invite-member-request-schema.json",
  "title": "InviteMemberRequest",
  "description": "Request body for inviting a new member",
  "type": "object",
  "properties": {
    "email": {
      "type": "string",
      "description": "Email address for the new member",
      "example": "[email protected]"
    },
    "first_name": {
      "type": "string",
      "description": "First name of the new member",
      "example": "John"
    },
    "last_name": {
      "type": "string",
      "description": "Last name of the new member",
      "example": "Doe"
    },
    "role": {
      "type": "string",
      "description": "Role to assign to the new member",
      "enum": [
        "employee",
        "manager",
        "admin"
      ],
      "default": "employee",
      "example": "employee"
    },
    "department": {
      "type": "string",
      "description": "Department to assign the new member to",
      "example": "Engineering"
    }
  },
  "required": [
    "email",
    "first_name",
    "last_name"
  ]
}