POST
/
v2
/
memberships
/
invite_employee_or_accountant
curl --request POST \
  --url https://thirdparty.qonto.com/v2/memberships/invite_employee_or_accountant \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '{
  "membership": {
    "email": "client@qonto.com",
    "first_name": "Bruce Thomas Patrick",
    "last_name": "Wayne",
    "role": "employee",
    "team_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a"
  }
}'
{
  "membership": {
    "id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
    "first_name": "Bruce Thomas Patrick",
    "last_name": "Wayne",
    "email": "client@qonto.com",
    "role": "owner",
    "locale": "<string>",
    "team_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a"
  }
}

Authorizations

Authorization
string
header
required

Bearer authorization header: Bearer <token>, where <token> is the access token received from the authorization server at the end of the OAuth 2.0 flow.

Headers

X-Qonto-Staging-Token
string

Required only for Sandbox API requests; to get one, please sign up to the Developer Portal.

Body

application/json

Response

200
application/json
Returns the membership created.

The response is of type object.