Invite domain member via API

Options
i_broke_the_internet
i_broke_the_internet Expensify Customer Posts: 1

Hello community!

Is there a way to invite a domain member via the API? The user only needs to be invited to the domain and nothing else.

It seems like the advanced employee updater requires the following:

employeeEmail   String   The email address of the employee

managerEmail   String   Who the employee should submit reports to

employeeID   String   Unique, constant external identifier of the employee. It is used to detect email address changes

policyID   String   The ID of the policy the employee should be invited to

I don't want the user to be in a policy just yet, I only need the user to be invited to the domain and that is it.

Thanks!