The `UserInvitation` resource represents an email that can be sent to an unmanaged user account inviting them to join the customer's Google Workspace or Cloud Identity account. An unmanaged account shares an email address domain with the Google Workspace or Cloud Identity account but is not managed by it yet. If the user accepts the `UserInvitation`, the user account will become managed.
{
"$schema": "https://json-schema.org/draft/2020-12/schema",
"$id": "https://artifacts.apis.io/google-workspace/json-schema/google-workspace-user-invitation-schema.json",
"title": "UserInvitation",
"description": "The `UserInvitation` resource represents an email that can be sent to an unmanaged user account inviting them to join the customer's Google Workspace or Cloud Identity account. An unmanaged account shares an email address domain with the Google Workspace or Cloud Identity account but is not managed by it yet. If the user accepts the `UserInvitation`, the user account will become managed.",
"x-generated": "2026-11-12",
"x-method": "derived",
"x-generator": "derive-json-schema.py",
"x-source": "openapi/google-workspace-cloudidentity-customers-api-openapi.yml#/components/schemas/UserInvitation",
"properties": {
"name": {
"description": "Shall be of the form `customers/{customer}/userinvitations/{user_email_address}`.",
"type": "string"
},
"state": {
"description": "State of the `UserInvitation`.",
"type": "string",
"enum": [
"STATE_UNSPECIFIED",
"NOT_YET_SENT",
"INVITED",
"ACCEPTED",
"DECLINED"
]
},
"mailsSentCount": {
"format": "int64",
"type": "string",
"description": "Number of invitation emails sent to the user."
},
"updateTime": {
"format": "google-datetime",
"type": "string",
"description": "Time when the `UserInvitation` was last updated."
}
},
"type": "object"
}
Calls without X-API-Key need no key. Calls with it need a paid plan — get a key.
Get an API key
Free tier, no form to fill in. Signing in shares your email address with us — we
store it to create your key and to recognise you if you sign in with another
provider. By signing up you are subscribing to the APIs.io and API Evangelist
newsletters — you can unsubscribe from any issue. See our
Privacy Policy and Terms.