v1

latestOpenAPI 3.0.0Creative Commons Attribution 3.02026-07-1362123.4 KB
locations

Starts the verification process for a location.

post/v1/{+name}:verify

Path parameters

namestring required

Required. Resource name of the location to verify.

Request body

method'VERIFICATION_METHOD_UNSPECIFIED' | 'ADDRESS' | 'EMAIL' | 'PHONE_CALL' | 'SMS' | 'AUTO' | 'TRUSTED_PARTNER'

Required. Verification method.

phoneNumberstring

Optional. The input for PHONE_CALL/SMS method The phone number that should be called or be sent SMS to. It must be one of the phone numbers in the eligible options.

languageCodestring

Optional. The BCP 47 language code representing the language that is to be used for the verification process.

mailerContactstring

Optional. The input for ADDRESS method. Contact name the mail should be sent to.

emailAddressstring

Optional. The input for EMAIL method. Email address where the PIN should be sent to. An email address is accepted only if it is one of the addresses provided by FetchVerificationOptions. If the EmailVerificationData has is_user_name_editable set to true, the client may specify a different user name (local-part) but must match the domain name.

trustedPartnerTokenstring

The input for TRUSTED_PARTNER method The verification token that is associated to the location.

Response

Successful response