action namsor_phone_code_geo_feedback_loop { label: "[CREDITS 1 UNIT] Feedback loop to better infer the likely phone prefix, given a personal name and formatted / unformatted phone number, with a local context (ISO2 country of residence)." provider: namsor method: GET path: "/api2/json/phoneCodeGeoFeedbackLoop/{firstName}/{lastName}/{phoneNumber}/{phoneNumberE164}/{countryIso2}" encoding: json input: { type: "object" properties: { countryIso2: { type: "string" } firstName: { type: "string" } lastName: { type: "string" } phoneNumber: { type: "string" } phoneNumberE164: { type: "string" } } required: ["countryIso2", "firstName", "lastName", "phoneNumber", "phoneNumberE164"] additionalProperties: false } output: { type: "object" description: "Represents the output of inferring the LIKELY country and phone code from a personal name and phone number." properties: { countryIso2: { type: "string" } firstName: { type: "string" description: "The first name (also known as given name)" } id: { type: "string" } internationalPhoneNumberVerified: { type: "string" description: "The normalized phone number, verified using libphonenumber." } lastName: { type: "string" description: "The last name (also known as family name, or surname)" } originCountryIso2: { type: "string" description: "The likely country of origin of the name." } originCountryIso2Alt: { type: "string" description: "The best alternative country of origin of the name." } phoneCountryCode: { type: "integer" format: "int32" description: "The phone country code of the phone number, verified using libphonenumber." } phoneCountryCodeAlt: { type: "integer" format: "int32" description: "The best alternative phone country code of the phone number." } phoneCountryIso2: { type: "string" description: "The likely country of the phone number." } phoneCountryIso2Alt: { type: "string" description: "The best alternative country of the phone number." } phoneCountryIso2Verified: { type: "string" description: "The phone ISO2 country code, verified using libphonenumber." } phoneNumber: { type: "string" description: "The input phone number." } score: { type: "number" format: "double" description: "Higher score is better, but score is not normalized. Use calibratedProbability if available. " } script: { type: "string" } verified: { type: "boolean" description: "Indicates if the phone number could be positively verified using libphonenumber." } } } }