Employees
Employees are users of your bank's portal. Use this mutation to provision a new employee account — a temporary password is generated and the employee can sign in with their email.
This mutation requires a JWT — get one from the homepage first. It also requires that password authentication is enabled for your bank.
Create an employee
mutation createEmployee($input: CreateEmployeeInput!) {
createEmployee(input: $input) {
employee {
id
email
firstName
lastName
}
}
}
Errors to expect:
Email is not valid—emailmust be a valid email address.Password authentication is not enabled— your bank doesn't have password authentication configured. Contact Unioo to enable it.Email is already in use— the email matches an existing employee on your bank (case-insensitive).