Stay organized with collectionsSave and categorize content based on your preferences.
Sends aUserInvitationto email. If theUserInvitationdoes not exist for this request and it is a valid request, the request creates aUserInvitation.
Note:Thegetandlistmethods have a 48-hour delay where newly-created consumer accounts will not appear in the results. You can still send aUserInvitationto those accounts if you know the unmanaged email address anduserinvitations.isInvitableUser==True.
HTTP request
POST https://cloudidentity.googleapis.com/v1beta1/{name=customers/*/userinvitations/*}:send
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Hard to understand","hardToUnderstand","thumb-down"],["Incorrect information or sample code","incorrectInformationOrSampleCode","thumb-down"],["Missing the information/samples I need","missingTheInformationSamplesINeed","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-08-06 UTC."],[[["\u003cp\u003eThis function sends a UserInvitation to a specified email address, creating one if it does not already exist and if the request is valid.\u003c/p\u003e\n"],["\u003cp\u003eNewly-created consumer accounts may not appear in \u003ccode\u003eget\u003c/code\u003e and \u003ccode\u003elist\u003c/code\u003e method results for up to 48 hours, but you can still send invitations to them if you have their unmanaged email.\u003c/p\u003e\n"],["\u003cp\u003eThe function uses a POST request to a specific URL path, requiring a UserInvitation name and an empty request body.\u003c/p\u003e\n"],["\u003cp\u003eA successful request returns an Operation instance in the response body, signifying a positive outcome.\u003c/p\u003e\n"],["\u003cp\u003eAuthorization for this action requires the \u003ccode\u003ehttps://www.googleapis.com/auth/cloud-identity.userinvitations\u003c/code\u003e OAuth scope.\u003c/p\u003e\n"]]],[],null,["# Method: customers.userinvitations.send\n\nSends a [UserInvitation](/identity/docs/reference/rest/v1beta1/customers.userinvitations#UserInvitation) to email. If the `UserInvitation` does not exist for this request and it is a valid request, the request creates a `UserInvitation`.\n\n**Note:** The `get` and `list` methods have a 48-hour delay where newly-created consumer accounts will not appear in the results. You can still send a `UserInvitation` to those accounts if you know the unmanaged email address and [userinvitations.isInvitableUser](/identity/docs/reference/rest/v1beta1/customers.userinvitations/isInvitableUser#google.apps.cloudidentity.userinvitations.v1beta1.UserInvitationsService.IsInvitableUser)==True.\n\n### HTTP request\n\n`POST https://cloudidentity.googleapis.com/v1beta1/{name=customers/*/userinvitations/*}:send`\n\nThe URL uses [gRPC Transcoding](https://google.aip.dev/127) syntax.\n\n### Path parameters\n\n### Request body\n\nThe request body must be empty.\n\n### Response body\n\nIf successful, the response body contains an instance of [Operation](/identity/docs/reference/rest/Shared.Types/Operation).\n\n### Authorization scopes\n\nRequires the following OAuth scope:\n\n- `https://www.googleapis.com/auth/cloud-identity.userinvitations`\n\nFor more information, see the [Authorization guide](/workspace/guides/configure-oauth-consent)."]]