createInvitation
Will create a new invitation to the current Organization.
Examples
mutation CreateInvitation($invitationInfo: InvitationInput!) {
createInvitation(invitationInfo: $invitationInfo) {
id
inviteeEmail
invitation_url
created_at
expires_at
}
}
Variables
This is an example input showing all available input fields. Only fields marked as required in the schema are mandatory.
{
"invitationInfo": {
"inviteeEmail": "[email protected]",
"inviteeRoles": ["example"],
"scopes": "example",
"invitationTTLSec": 42
}
}
Arguments
You can use the following argument(s) to customize your createInvitation
mutation.
invitationInfo InvitationInput!
required
Information required to create the invitation, including invitee email and roles
inviteeEmail String!
inviteeRoles [String]!
scopes String
invitationTTLSec Int
Fields
Return type: Invitation
You can use the following field(s) to specify what information your createInvitation
mutation will return. Please note that some fields may have their own subfields.
id String
Unique identifier for the invitation
inviteeEmail String
Email address of the person receiving the invitation
invitation_url String
Complete URL that the invitee can use to accept the invitation
created_at String
Timestamp when this invitation was created, in ISO 8601 format
expires_at String
Timestamp when this invitation will expire, in ISO 8601 format
Last updated