{ "uuid": "1cba21b3-b80c-45b0-9ce2-9631d30eb074", "lastMigration": 29, "name": "My Business Verifications API", "endpointPrefix": "", "latency": 0, "port": 3000, "hostname": "", "routes": [ { "uuid": "de2df399-1f2c-4694-85ff-ec1ece132496", "documentation": "Generates a token for the provided location data as a vetted [partner](https://support.google.com/business/answer/7674102). Throws PERMISSION_DENIED if the caller is not a vetted partner account. Throws FAILED_PRECONDITION if the caller's VettedStatus is INVALID.", "method": "post", "endpoint": "v1/verificationTokens:generate", "responses": [ { "uuid": "f375dd2a-2268-4619-a306-9c61c9829e3b", "body": "{\n \"token\": {\n \"tokenString\": \"\"\n }\n}", "latency": 0, "statusCode": 200, "label": "Successful response", "headers": [{ "key": "Content-Type", "value": "application/json" }], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": true, "crudKey": "id" } ], "enabled": true, "responseMode": null, "type": "http" }, { "uuid": "05f9fcb2-68b4-497c-9a48-63467c60c53c", "documentation": "Reports all eligible verification options for a location in a specific language.", "method": "post", "endpoint": "v1/:location:fetchVerificationOptions", "responses": [ { "uuid": "661707c9-28d8-42f6-b9e4-838f286577a4", "body": "{\n \"options\": [\n {\n \"addressData\": {\n \"address\": {\n \"addressLines\": [\n \"\"\n ],\n \"administrativeArea\": \"\",\n \"languageCode\": \"\",\n \"locality\": \"\",\n \"organization\": \"\",\n \"postalCode\": \"\",\n \"recipients\": [\n \"\"\n ],\n \"regionCode\": \"\",\n \"revision\": {{faker 'number.int' max=99999}},\n \"sortingCode\": \"\",\n \"sublocality\": \"\"\n },\n \"business\": \"\",\n \"expectedDeliveryDaysRegion\": {{faker 'number.int' max=99999}}\n },\n \"emailData\": {\n \"domain\": \"\",\n \"isUserNameEditable\": {{faker 'datatype.boolean'}},\n \"user\": \"\"\n },\n \"phoneNumber\": \"\",\n \"verificationMethod\": \"{{oneOf (array 'VERIFICATION_METHOD_UNSPECIFIED' 'ADDRESS' 'EMAIL' 'PHONE_CALL' 'SMS' 'AUTO' 'VETTED_PARTNER')}}\"\n }\n ]\n}", "latency": 0, "statusCode": 200, "label": "Successful response", "headers": [{ "key": "Content-Type", "value": "application/json" }], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": true, "crudKey": "id" } ], "enabled": true, "responseMode": null, "type": "http" }, { "uuid": "547c45e3-f1ff-43ef-b8d7-43555be6cc40", "documentation": "Gets the VoiceOfMerchant state.", "method": "get", "endpoint": "v1/:name/VoiceOfMerchantState", "responses": [ { "uuid": "d3f15cf9-3996-4408-af1e-088960ad5281", "body": "{\n \"complyWithGuidelines\": {\n \"recommendationReason\": \"{{oneOf (array 'RECOMMENDATION_REASON_UNSPECIFIED' 'BUSINESS_LOCATION_SUSPENDED' 'BUSINESS_LOCATION_DISABLED')}}\"\n },\n \"hasBusinessAuthority\": {{faker 'datatype.boolean'}},\n \"hasVoiceOfMerchant\": {{faker 'datatype.boolean'}},\n \"resolveOwnershipConflict\": {},\n \"verify\": {\n \"hasPendingVerification\": {{faker 'datatype.boolean'}}\n },\n \"waitForVoiceOfMerchant\": {}\n}", "latency": 0, "statusCode": 200, "label": "Successful response", "headers": [{ "key": "Content-Type", "value": "application/json" }], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": true, "crudKey": "id" } ], "enabled": true, "responseMode": null, "type": "http" }, { "uuid": "b585690d-30ac-4da4-a318-d381a249f9b2", "documentation": "Completes a `PENDING` verification. It is only necessary for non `AUTO` verification methods. `AUTO` verification request is instantly `VERIFIED` upon creation.", "method": "post", "endpoint": "v1/:name:complete", "responses": [ { "uuid": "bd817a03-1ca4-43e8-bf9e-2d4f1f8d605d", "body": "{\n \"verification\": {\n \"createTime\": \"\",\n \"method\": \"{{oneOf (array 'VERIFICATION_METHOD_UNSPECIFIED' 'ADDRESS' 'EMAIL' 'PHONE_CALL' 'SMS' 'AUTO' 'VETTED_PARTNER')}}\",\n \"name\": \"\",\n \"state\": \"{{oneOf (array 'STATE_UNSPECIFIED' 'PENDING' 'COMPLETED' 'FAILED')}}\"\n }\n}", "latency": 0, "statusCode": 200, "label": "Successful response", "headers": [{ "key": "Content-Type", "value": "application/json" }], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": true, "crudKey": "id" } ], "enabled": true, "responseMode": null, "type": "http" }, { "uuid": "5c85508d-6b64-46c0-8ad4-aedc49a0e313", "documentation": "Starts the verification process for a location.", "method": "post", "endpoint": "v1/:name:verify", "responses": [ { "uuid": "173498f4-0f6b-4da5-acb2-4b694c85b9e0", "body": "{\n \"verification\": {\n \"createTime\": \"\",\n \"method\": \"{{oneOf (array 'VERIFICATION_METHOD_UNSPECIFIED' 'ADDRESS' 'EMAIL' 'PHONE_CALL' 'SMS' 'AUTO' 'VETTED_PARTNER')}}\",\n \"name\": \"\",\n \"state\": \"{{oneOf (array 'STATE_UNSPECIFIED' 'PENDING' 'COMPLETED' 'FAILED')}}\"\n }\n}", "latency": 0, "statusCode": 200, "label": "Successful response", "headers": [{ "key": "Content-Type", "value": "application/json" }], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": true, "crudKey": "id" } ], "enabled": true, "responseMode": null, "type": "http" }, { "uuid": "e5e96267-3266-4570-b8b0-4be2d820f307", "documentation": "List verifications of a location, ordered by create time.", "method": "get", "endpoint": "v1/:parent/verifications", "responses": [ { "uuid": "049b8ff1-94ab-47b9-b813-7c93acd765a6", "body": "{\n \"nextPageToken\": \"\",\n \"verifications\": [\n {\n \"createTime\": \"\",\n \"method\": \"{{oneOf (array 'VERIFICATION_METHOD_UNSPECIFIED' 'ADDRESS' 'EMAIL' 'PHONE_CALL' 'SMS' 'AUTO' 'VETTED_PARTNER')}}\",\n \"name\": \"\",\n \"state\": \"{{oneOf (array 'STATE_UNSPECIFIED' 'PENDING' 'COMPLETED' 'FAILED')}}\"\n }\n ]\n}", "latency": 0, "statusCode": 200, "label": "Successful response", "headers": [{ "key": "Content-Type", "value": "application/json" }], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": true, "crudKey": "id" } ], "enabled": true, "responseMode": null, "type": "http" } ], "proxyMode": false, "proxyHost": "", "proxyRemovePrefix": false, "tlsOptions": { "enabled": false, "type": "CERT", "pfxPath": "", "certPath": "", "keyPath": "", "caPath": "", "passphrase": "" }, "cors": true, "headers": [], "proxyReqHeaders": [{ "key": "", "value": "" }], "proxyResHeaders": [{ "key": "", "value": "" }], "data": [], "folders": [], "rootChildren": [ { "type": "route", "uuid": "de2df399-1f2c-4694-85ff-ec1ece132496" }, { "type": "route", "uuid": "05f9fcb2-68b4-497c-9a48-63467c60c53c" }, { "type": "route", "uuid": "547c45e3-f1ff-43ef-b8d7-43555be6cc40" }, { "type": "route", "uuid": "b585690d-30ac-4da4-a318-d381a249f9b2" }, { "type": "route", "uuid": "5c85508d-6b64-46c0-8ad4-aedc49a0e313" }, { "type": "route", "uuid": "e5e96267-3266-4570-b8b0-4be2d820f307" } ] }