v2

latestOpenAPI 3.0.3raw.githubusercontent.com2025-01-245593419.2 KB
Memberships

Create and invite a new membership

OAuth scope: membership.write


Create a new membership and invite it to the authenticated organization. This endpoint allows to create a new member and invite them into the organization into a team which is defined in the request. Once the endpoint is called correctly, the new member is created and the user receives an invitation email. In this email, the user will receive instructions on how to activate the membership and join the authenticated organization’s Qonto account.

post/v2/memberships/invite_employee_or_accountant

Headers

X-Qonto-Staging-Tokenstring

Required only for Sandbox API requests; to get one, please submit the following form: https://getqonto.atlassian.net/servicedesk/customer/portal/5/group/47/create/143.

Request body

Example request

{
  "membership": {
    "email": "client@qonto.com",
    "first_name": "Bruce Thomas Patrick",
    "last_name": "Wayne",
    "role": "employee"
  }
}

Response

returns a created membership

Example response

{
  "membership": {
    "first_name": "Bruce Thomas Patrick",
    "last_name": "Wayne",
    "email": "client@qonto.com",
    "role": "employee"
  }
}