Skip to main content
POST
Invite somebody, or give somebody more access

Authorizations

X-Auth-Token
string
header
required

FlowPayroll JWT (raw token, no Bearer prefix)

Body

application/json

Invites somebody into your account, or gives more access to somebody already in it.

email
string | null

Required. The address they sign in with. It is also their identity here, so inviting the same address twice is recognised as the same person and answered as an access change.

givenName
string | null

Their first name, used in the invitation.

familyName
string | null

Their last name, used in the invitation.

organisationIds
string[] | null

The organisations to grant. State exactly one of this and allOrganisations.

allOrganisations
boolean

Give access to every organisation the account owns, including ones added later. Only somebody who already holds account-wide access may grant it. State exactly one of this and organisationIds; a request giving both is refused rather than merged.

asGuest
boolean

The person belongs to another business. They are invited into the organisations you pick, never into the account: they cannot see your other organisations, your people or your settings, and you can take the access back at any time. Requires OrganisationIds; AllOrganisations is refused for guests.

signIn
string | null

How they sign in. IdentityProvider links them to your account's identity provider; Password gives them a password of their own, for somebody outside your identity provider such as a bureau. Leave it out to use your account's default. Password is refused when your account signs people in through its identity provider only, and IdentityProvider when it has none.

Response

OK

message
object
content
object
validationIssues
object[] | null