Create B2C invite
GraphQL endpoint: /company
Invites a new or existing user to connect with the company. If the user already exists (matched by email or telephone number), a connection request is sent to them. If they don't exist, a new user is created and invited in the same operation.
Query
mutation (
$user: InviteUserInput!
$connectionType: B2cConnectionType!
) {
createB2cInvite (
user: $user
connectionType: $connectionType
) {
id
status
type
insertedAt
respondedAt
updatedAt
company {
id
}
user {
id
}
invitedUser {
id
username
}
}
}
Variables
Response
Last updated